harbaum / make-block-reloaded Goto Github PK
View Code? Open in Web Editor NEWCode for https://shop.heise.de/katalog/make-block-reloaded
Code for https://shop.heise.de/katalog/make-block-reloaded
I have a problem with the config menu on my arduino nano. In case I press any key at startup nothing will be painted at the LEDs, so the screen stay black. In addition I can't press any key (I can but nothing happens).
So I have investigated a little bit and I found some crazy behaviors:
First: In case the method "config_draw_menu" is called to show the menu, nothing happens. The method is called correctly but nothing is painted to the LEDs.
Second: Then I took a look at the loop() method from application. After each config_draw_menu call, the milliSeconds from arduino (method millis()) will be resetted to 0. So the application freezed because the next_event has a value greater then 5000 for example and millis are smaller.
So after each key press in state = STATE_CONFIG, the config_draw_menu is called and reset the millis(). I have no idea whats going wrong.
In case I ran the application build with make on my computer everything is working fine. Just at the arduino nano I got this behavior.
Do you have any idea what can I do?
Thanks in advance
Tobias
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.