I failed to attach it. It would not download the file (due to an io error). So the file I just attached is empty. When I cat the file on the linux system I get the following:
`
cat /media/sd/config/WaterfallDiceGame.json
{
“_id”: 302,
“name”: “diceGamePrototype”,
“type”: “system”,
“label”: “Dice Game Prototype”,
“packageName”: “…/…/…/…/lib/hardware/oddson-waterfall-dice-game-system”,
“adapters”: [],
“drivers”: [
{
“_id”: 200,
“name”: “button”,
“label”: “Button”,
“type”: “driver”,
“packageName”: “@synap/bonescript-state-sensor-driver”,
“adapters”: [],
“config”: {
“activeValue”: 1,
“pin”: “P8_33”,
“debounce”: {
“checkRate”: 1,
“checks”: 20
}
}
},
{
“_id”: 201,
“name”: “buttonRed”,
“label”: “Button Red”,
“type”: “driver”,
“packageName”: “@synap/bonescript-state-switch-driver”,
“adapters”: [],
“config”: {
“pin”: “P8_46”,
“activeState”: 1,
“startOn”: false
}
},
{
“_id”: 202,
“name”: “buttonGreen”,
“label”: “Button Green”,
“type”: “driver”,
“packageName”: “@synap/bonescript-state-switch-driver”,
“adapters”: [],
“config”: {
“pin”: “P8_36”,
“activeState”: 1,
“startOn”: false
}
},
{
“_id”: 203,
“name”: “buttonBlue”,
“label”: “Button Blue”,
“type”: “driver”,
“packageName”: “@synap/bonescript-state-switch-driver”,
“adapters”: [],
“config”: {
“pin”: “P8_34”,
“activeState”: 1,
“startOn”: false
}
},
{
“_id”: 210,
“name”: “solenoid1”,
“label”: “Solenoid 1”,
“type”: “driver”,
“packageName”: “@synap/bonescript-state-switch-driver”,
“adapters”: [],
“config”: {
“pin”: “P8_29”,
“activeState”: 0,
“startOn”: false
}
},
{
“_id”: 211,
“name”: “solenoid2”,
“label”: “Solenoid 2”,
“type”: “driver”,
“packageName”: “@synap/bonescript-state-switch-driver”,
“adapters”: [],
“config”: {
“pin”: “P8_27”,
“activeState”: 0,
“startOn”: false
}
},
{
“_id”: 220,
“name”: “diceCam”,
“label”: “Camera”,
“type”: “driver”,
“packageName”: “…/…/…/…/lib/hardware/ffmpeg-camera-driver”,
“adapters”: [],
“config”: {
“camera”: “/dev/video0”,
“video”: {
“filename”: “roll.avi”,
“date”: true,
“time”: true,
“width”: 1024,
“height”: 576,
“fps”: 15,
“duration”: 4
},
“photo”: {
“filename”: “photo.jpg”,
“date”: true,
“time”: true,
“width”: 640,
“height”: 480
}
}
},
{
“_id”: 230,
“name”: “lights1”,
“label”: “Lights 1”,
“type”: “driver”,
“packageName”: “…/…/…/…/lib/hardware/oddson-blinkstick-driver”,
“adapters”: [],
“config”: {
“serialNo”: “BS016951-3.1”,
“ledCount”: 15,
“animation”: [
{
“duration”: 250,
“data”: [
255,
0,
0
]
},
{
“duration”: 250,
“data”: [
255,
63,
0
]
},
{
“duration”: 250,
“data”: [
255,
127,
0
]
},
{
“duration”: 250,
“data”: [
255,
191,
0
]
},
{
“duration”: 250,
“data”: [
255,
255,
0
]
},
{
“duration”: 250,
“data”: [
191,
255,
0
]
},
{
“duration”: 250,
“data”: [
127,
255,
0
]
},
{
“duration”: 250,
“data”: [
63,
255,
0
]
},
{
“duration”: 250,
“data”: [
0,
255,
0
]
},
{
“duration”: 250,
“data”: [
0,
255,
63
]
},
{
“duration”: 250,
“data”: [
0,
255,
127
]
},
{
“duration”: 250,
“data”: [
0,
255,
191
]
},
{
“duration”: 250,
“data”: [
0,
255,
255
]
},
{
“duration”: 250,
“data”: [
0,
191,
255
]
},
{
“duration”: 250,
“data”: [
0,
127,
255
]
},
{
“duration”: 250,
“data”: [
0,
63,
255
]
},
{
“duration”: 250,
“data”: [
0,
0,
255
]
},
{
“duration”: 250,
“data”: [
63,
0,
255
]
},
{
“duration”: 250,
“data”: [
127,
0,
255
]
},
{
“duration”: 250,
“data”: [
191,
0,
255
]
},
{
“duration”: 250,
“data”: [
255,
0,
255
]
},
{
“duration”: 250,
“data”: [
255,
0,
191
]
},
{
“duration”: 250,
“data”: [
255,
0,
127
]
},
{
“duration”: 250,
“data”: [
255,
0,
63
]
}
]
}
},
{
“_id”: 231,
“name”: “lights2”,
“label”: “Lights 2”,
“type”: “driver”,
“packageName”: “…/…/…/…/lib/hardware/oddson-blinkstick-driver”,
“adapters”: [],
“config”: {
“serialNo”: “BS016957-3.1”,
“ledCount”: 15,
“animation”: [
{
“duration”: 250,
“data”: [
255,
0,
0
]
},
{
“duration”: 250,
“data”: [
255,
63,
0
]
},
{
“duration”: 250,
“data”: [
255,
127,
0
]
},
{
“duration”: 250,
“data”: [
255,
191,
0
]
},
{
“duration”: 250,
“data”: [
255,
255,
0
]
},
{
“duration”: 250,
“data”: [
191,
255,
0
]
},
{
“duration”: 250,
“data”: [
127,
255,
0
]
},
{
“duration”: 250,
“data”: [
63,
255,
0
]
},
{
“duration”: 250,
“data”: [
0,
255,
0
]
},
{
“duration”: 250,
“data”: [
0,
255,
63
]
},
{
"duratcat: /media/sd/config/WaterfallDiceGame.json: Input/output error
`