Hi. You can use the demo test example from here: https://github.com/balena-io-playground/revpi-core3-test
You can follow these steps:
- Download an OS image from dashboard and provision the board with it
Clone the test application:
git clone https://github.com/resin-io-projects/revpi-core3-test
Before booting the board copy the config.rsc file from the cloned application in the resin-boot partition.
Push the application to your board:
git remote add balena <your_app_repo>
git push balena
-
Enter the application’s container and run:
piControl/piTest/piTest -w O_1,1 -
Enter the application’s container and run:
piControl/piTest/piTest -w O_1,0
And the expected results are these:
The board should appear as online in the dashboard and running the application
The pin O_1 of the DIO module should have 24V.
The pin O_1 of the DIO module should now have 0V.