#code isn’t working

1 messages · Page 1 of 1 (latest)

hollow pythonBOT
#

When your question is answered use !solved to mark the question as resolved.

Remember to ask specific questions, provide necessary details, and reduce your question to its simplest form. For tips on how to ask a good question use !howto ask.

half thicket
#

You’re never writing anything to the lower or upper limits, so they stay at zero, so since 0 !<0 is goes to the blink branch.
Also, please consider formatting your code with consistent whitespace, makes it a lot easier to see what is going on.
Lastly, this is embedded C, so you’ll get better help in #1013104018739974194 or #embedded-and-electronics

hollow pythonBOT
#

@safe jewel

Please Do Not Delete Posts!

Please don't delete forum posts. They can be helpful to refer to later and other members can learn from them. In the future you can use !solved to close a post and mark a post as solved.