CubeCell Display and RGB only on interrupt

I want to use the CubeCell board with a battery, but also have the option to manually trigger the packet sender and see what the device is doing when I press the user button. I already managed to trigger the packet sender with the user button, but I would also like to enable the display and RGB led only when the button is pressed. After sending the packet the led and display should be turned off again to save energy. I also would like to display the data values that are sent on the display.

The LoRaWan_APP currently only has the option to enable or disable the RGB led and the display completely and there is also no option to display custom values on the display. Is there already code for this or do I have to change the LoRaWan_APP code myself to achieve this?

We don’t have this code, you need to write one yourself.

Thanks for the hint. I just created my own repository for the changes. Here are my changes: https://github.com/TheNetStriker/ASR650x-Arduino/commit/541d8b1eb3c810952c9e00ec5b5bcc34bdabf20c

If someone want’s to use the code in their Platform.io project just enter platform = https://github.com/TheNetStriker/platform-asrmicro650x#RgbDisplayOnOff in the platform.ini file.

1 Like