Search found 245 matches

by petergebruers
03 Oct 2017 10:04
Forum: Z-Uno
Topic: New 2.1.1 test build is ready!
Replies: 17
Views: 7683

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: 7683

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: 7230

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: 10059

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: 10059

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: 10059

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: 10059

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...
by petergebruers
02 Oct 2017 13:11
Forum: Z-Uno
Topic: Z-UNO blocked after several hours of operation
Replies: 27
Views: 10059

Re: Z-UNO blocked after several hours of operation

I fully agree with what you are saying. I noticed the faint flickering of the green LED too. I will try to write a minimal sketch that only writes to the oled.

I noticed my Z-Uno crashed, so increasing the loop speed and oled printing has the same effect as your sketch... Keep digging!
by petergebruers
02 Oct 2017 12:26
Forum: Z-Uno
Topic: float conversion
Replies: 18
Views: 7230

Re: float conversion

I have some good news... or should I say "bad news"! The green LED stopped blinking! I have now made one change and I have to admit that this is a long shot. But personally I think it makes the display a bit nicer too. Instead of: oled.print(temperature); I now do: oled.print(temperature, 1); For de...
by petergebruers
02 Oct 2017 10:04
Forum: Z-Uno
Topic: I have made an attempt at improving the BH1750 demo sketch and it is available for comment
Replies: 7
Views: 3290

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

Thank you! If you think the sketch is good enough to be mentioned on the Z-Uno site, that is OK. I am flattered!