I’m currently working on a project where I set a menu to start some diferent process for monitoring and controlling some variables such as temperature (using DHT11) and a light with a “dimmer”, but those process are executed individually by accessing them using a Switch structure, I choose the options via an APP done in App Inventor, (for bugging process I have been using a serial bluetooth monitor), the case is that when I choose an option It is executed for few seconds and then it comes back to the loop function.
Can you give a look on my scketch and tell me your opinion? I’m a newby using arduino so I haven’t figured out how to make work diferent processes in one scketch.
I hope you can help me.
comp_bth.ino (4 KB)