Search found 248 matches

by petergebruers
04 Oct 2017 09:59
Forum: Z-Uno
Topic: Z-UNO blocked after several hours of operation
Replies: 27
Views: 10895

Re: Z-UNO blocked after several hours of operation

Thank you for reporting back! Great to see you are using a HC too ;-) For what it is worth: I think printing the temperature like that is a good workaround! Now this is solved... Did you say need an Arduino because the Z-Uno cannot send 288 IR codes? I think I have read somewhere that the IR buffer ...
by petergebruers
03 Oct 2017 14:28
Forum: Z-Uno
Topic: Z-UNO blocked after several hours of operation
Replies: 27
Views: 10895

Re: Z-UNO blocked after several hours of operation

Thank you for confirming our suspicion. As user schmidmi pointed out, he has "worked around the problem" and this is his topic, but I am still interested in one more thing... As you say, disabling interrupts might fix the issue... I wonder, what is the impact on the operation of the Z-Uno. For insta...
by petergebruers
03 Oct 2017 10:14
Forum: Z-Uno
Topic: I have made an attempt at improving the BH1750 demo sketch and it is available for comment
Replies: 7
Views: 3566

Re: I have made an attempt at improving the BH1750 demo sketch and it is available for comment

Under 2.1.1 I can compile one time. The next time I compile, I get: "?ASlink-Warning-Undefined Global '_Timer' referenced by module 'LLCore_arduino" I can make it work by applying this dirty hack: I add "extern void Timer();" to the source code, like this: extern void Timer(); // Makes linker happy ...
by petergebruers
03 Oct 2017 10:04
Forum: Z-Uno
Topic: New 2.1.1 test build is ready!
Replies: 17
Views: 8207

Re: New 2.1.1 test build is ready!

On my Mac I can compile and upload both under Arduino 1.6.5 and 1.8.5, so I definitely have an issue on my Windows laptop.

I have a specific issue with my BH1750 sketch, I'll post the details in that topic:

viewtopic.php?f=3427&t=25521
by petergebruers
03 Oct 2017 01:01
Forum: Z-Uno
Topic: New 2.1.1 test build is ready!
Replies: 17
Views: 8207

Re: New 2.1.1 test build is ready!

Any sketch seems to end in the same error: ERROR [2017-10-02 09:34:20,589] [Errno 22] invalid mode ('w') or filename: '\\C:\\Users\\peter\\AppData\\Local\\Temp\\arduino_build_582937Custom.ast' I guess a \\ is missing between "arduino_build_582937" (the build directory) and "Custom.ast" For instance,...
by petergebruers
03 Oct 2017 00:21
Forum: Z-Uno
Topic: float conversion
Replies: 18
Views: 7808

Re: float conversion

@coco82 I recognize that type of display, I "bitbang" it on my arduino :-) Regarding injecting current into the pin of a microprocessor, if it is high enough the chip might latch-up and get destroyed. I have a certain Microchip mcu, and if you inject 1 mA on a digital pin then the ADC gets less accu...
by petergebruers
02 Oct 2017 18:29
Forum: Z-Uno
Topic: Z-UNO blocked after several hours of operation
Replies: 27
Views: 10895

Re: Z-UNO blocked after several hours of operation

I agree... I have been delving in the source code of the Wire, ZUNO_OneWire and ZUNO_OLED_I2C libraries and lst files and it has not become any clearer to me. :? I'll try again later. Maybe it is a stack issue like you said and in that case it might be worth waiting for firmware 2.1.1 because that w...
by petergebruers
02 Oct 2017 14:41
Forum: Z-Uno
Topic: Z-UNO blocked after several hours of operation
Replies: 27
Views: 10895

Re: Z-UNO blocked after several hours of operation

New observation: if you convert to int, the sketch does not crash. But I only let it run for one minute, the test time is a bit short oled.print(int(counter)); conversion to long and doing math does not crash it within one minute either: oled.print(long(counter*1000)); But printing a float with 0 pr...
by petergebruers
02 Oct 2017 14:31
Forum: Z-Uno
Topic: Z-UNO blocked after several hours of operation
Replies: 27
Views: 10895

Re: Z-UNO blocked after several hours of operation

Thanks, your information is helpful. Together we will solve this mistery! ;-) I think I have made some progress. I reduced the code and now it crashes randomly in less than 1 minute. Tell me what you think... // OLED test by petergebruers, based on DS18B20 sketch // by Michael Schmidt #include <ZUNO...
by petergebruers
02 Oct 2017 13:30
Forum: Z-Uno
Topic: Z-UNO blocked after several hours of operation
Replies: 27
Views: 10895

Re: Z-UNO blocked after several hours of operation

I am running this sketch right now, I want to share it so you do not have to run the same test as me. I do not see any flickering. I wonder if it makes a difference if you put zunoSendReport after the oled update... My minimalistic sketch does not have zunoSendReport right now, I'll add it if this t...