Search found 6 matches

by rom1011
16 Dec 2017 03:08
Forum: Z-Uno
Topic: oled issue SSD1306
Replies: 2
Views: 781

Re: oled issue SSD1306

I have this one https://www.adafruit.com/product/938 working with ZUno. Your's should be the same/similar.
I had to change the address in the libraries from 0x3c to 0x3d (SSD1306_ADDR) and I patched the reset toggle into the OLED::begin() method after the Wire.begin().
by rom1011
08 Nov 2017 19:31
Forum: Z-Uno
Topic: Libraries in sketch folder
Replies: 7
Views: 1555

Re: Libraries in sketch folder

Thanks Paul for the reply. I was just confused by the working "right place". This is IMHO not the right place for user provided libraries. What I did is to keep the libraries in the sketchfolder/libraries but created a symlink ("mklink /D" on Windows) to the ZUno package directory (same directory yo...
by rom1011
07 Nov 2017 22:15
Forum: Z-Uno
Topic: Libraries in sketch folder
Replies: 7
Views: 1555

Re: Libraries in sketch folder

> I was told to copy the files in to the appropriate place manually,
Hm - what would the appropriate place be? IMHO the $SKETCHFOLDER/libraries is the right place.
by rom1011
04 Nov 2017 21:23
Forum: Z-Uno
Topic: Libraries in sketch folder
Replies: 7
Views: 1555

Libraries in sketch folder

I cannot get libraries installed in the local sketch folder to work with the Zuno tool chain. It works all fine with other tool chains. Let’s say I have a $SKETCHFOLDER/libraries/mylib/mylib.h & mylib.cpp. I restart the IDE and I can see mylib in the Include Library drop down. But compiling fails wi...
by rom1011
25 Sep 2017 19:17
Forum: Z-Uno
Topic: Safe functions in interrupt handler
Replies: 4
Views: 1339

Re: Safe functions in interrupt handler

Thanks for the feedback - will use the timer to provide the ticks. I will only get a handful pulses per second so the 1ms timer should provide plenty of accuracy.
And yes petergebruers - there is no micros() on ZUno - thanks for pointing that out. Am still a newby on the ZUno. But it rocks!

-Roland
by rom1011
24 Sep 2017 23:03
Forum: Z-Uno
Topic: Safe functions in interrupt handler
Replies: 4
Views: 1339

Safe functions in interrupt handler

Hello, the documentation of the ZUno interrupt handlers states that only pinMode(), digitalRead() and digitalWrite() are safe to call from interrupt handlers. I would like to call the micros() function to measure time between pulses. Will that cause any problems? Any alternatives you could think of?...