Gave it a reboot and all is good again.
Thanks,
Dave
Hi DaveF,
Do you have an idea on where the last update time could be placed?
It was in my plans to have the time and the data is already being stored but I could not find a place to put it that fits and is clearly visible.
The device has certain API's that can be accessed through wifi and you can draw any text into the display using the following format:
POST /display/draw HTTP/1.1
Host: paperledger.local
Content-Type: application/x-www-form-urlencoded
[
{
"type": "fill",
"color": 1
},
{
"type": "text",
"x": 0,
"y": 35,
"text": "Bitcoin",
"size": 18,
"align": 3,
"color": 0
},
{
"type": "text",
"x": 0,
"y": 80,
"text": "3900 USD",
"size": 18,
"align": 3,
"color": 0
},
{
"type": "text",
"x": 0,
"y": 115,
"text": "24h: 0.5 | Vol: $4.5 B",
"size": 9,
"align": 3,
"color": 0
}
]
Example using cUrl:
curl -X POST \
http://paperledger.local/display/draw \
-H 'Content-Type: application/x-www-form-urlencoded' \
--data '[{"type":"fill","color":1},{"type":"text","x":0,"y":35,"text":"Bitcoin","size":18,"align":3,"color":0},{"type":"text","x":0,"y":80,"text":"3900 USD","size":18,"align":3,"color":0},{"type":"text","x":0,"y":115,"text":"24h: 0.5 | Vol: $4.5 B","size":9,"align":3,"color":0}]'
Note: You may have to replace paperledger.local with the device ip which can be found in Setup->Status->Network IP