Page 1 of 1

Z-Uno service leds?

Posted: 21 Feb 2023 00:56
by KGBEl
I’m new to this and just uploaded my first sketch, 5 DS18B20 for reading temperature.
Compiling and uploading works fine and even inclusion to my controller worked, but nothing more. I found that the green led blinks almost stable, until it stops for short and the red led starts, this one blinks a couple of times and then the green one starts over again. This runs over and over again. What should I understand from the two leds behaviour?
Is there some documentation of these service leds?

Re: Z-Uno service leds?

Posted: 21 Feb 2023 21:57
by PoltoS
Are you sure you have not "pressed" the button by connecting button/int pins to ground? Looks like the button pin is always connected to ground

Re: Z-Uno service leds?

Posted: 27 Feb 2023 16:30
by KGBEl
I found another topic where same problem was described and found out that the blinking red led, blinks
beccause the program resets itself due to stack owerflow. I missed N_SENSOR (number of sensors) in: byte addresses[ADDR_SIZE * N_SENSOR];

Thank you for your answer.