balena-io-experimental / revpi-core3-test

1 stars 2 forks source link

Status LED not accessibe in container using piTest #1

Open savnik opened 3 years ago

savnik commented 3 years ago

I have tried creating a balena application with the code in this repo. First i have flashed the RevPi Core 3 with balena os 2.31.5Rev2. Then i have put the config.rsc in the balena boot partition root folder. The device is booted and online in balena. When accessing the terminal of the container i cd into piControl/piTest. In this folder I run following command to turn on the status LED A1 with red as explained here: https://www.youtube.com/watch?v=awJ5oGReG8E (6:39min).

./piTest -w RevPiLED,2

The result is failing silently: image The Status led is not changed.

Running ./piTest -d shows the connected devices with success

robertgzr commented 3 years ago

@savnik I opened a PR #2 to improve the README in this repo. Can you let me know if you managed to make this work?

savnik commented 3 years ago

I did manage to make it work on the IO ports, but not on the status led A1 and A2. Suggestions for improving documentation is made in PR #2 .