I have made this to control a old fog machine using bits from the tutorials of Juan Antonio. But when I try to test this with the companion it gives me the the run time error:
length=0; regionStart=0; regionLength=-1
The error occurs directly when i load the app in the companion.
As far as know (I'm pretty new to this) the clock only start running when pressing the Ready_btn.