Sample Profile
Example profile for a bicycle lighting profile on the Amp
{
"motion": {
"autoOrientation": false,
"autoMotion": true,
"autoTurn": false,
"brakeAxis": 5,
"brakeThreshold": 0.1,
"orientationTrigger": 2
},
"actions": {
"brake-off": [
{ "region": "brake", "effect": "1" }
],
"brake-normal": [
{ "region": "brake", "effect": "2,#800000,1" }
],
"brake-active": [
{ "region": "brake", "effect": "3,#800000,#FF0000,100,1" }
],
"headlight-off": [
{ "region": "headlight", "effect": "1" }
],
"headlight-normal": [
{ "region": "headlight", "effect": "2,#7F7F7F,1" }
],
"headlight-bright": [
{ "region": "headlight", "effect": "2,#FFFFFF,1" }
],
"turn-center": [
{ "region": "left", "effect": "0" },
{ "region": "right", "effect": "0" }
],
"turn-left": [
{ "region": "left", "effect": "3,#000000,#FFFF00,200,2" },
{ "region": "right", "effect": "1" }
],
"turn-right": [
{ "region": "right", "effect": "3,#000000,#FFFF00,200,2" },
{ "region": "left", "effect": "1" }
],
"turn-hazard": [
{ "region": "left", "effect": "3,#000000,#FFFF00,200,2" },
{ "region": "right", "effect": "3,#000000,#FFFF00,200,2" }
]
},
"lights": {
"channels": [
{
"channel": 1,
"leds": 10,
"type": 3
},
{
"channel": 2,
"leds": 10,
"type": 3
},
{
"channel": 3,
"leds": 10,
"type": 3
},
{
"channel": 4,
"leds": 10,
"type": 3
}
],
"regions": {
"headlight": [
{
"channel": 1,
"start": 1,
"end": 10
},
{
"channel": 4,
"start": 1,
"end": 10
}
],
"left": [
{
"channel": 1,
"start": 1,
"end": 10
},
{
"channel": 2,
"start": 1,
"end": 10
}
],
"right": [
{
"channel": 3,
"start": 1,
"end": 10
},
{
"channel": 4,
"start": 1,
"end": 10
}
],
"brake": [
{
"channel": 2,
"start": 1,
"end": 10
},
{
"channel": 3,
"start": 1,
"end": 10
}
]
}
}
}
Copy link