Closed Triscus closed 6 years ago
Hi!
I was able to go a bit further with the following includes
#include <SPI.h>
#include <Ucglib.h>
#include <menu.h>
#include <menuIO/UCGLibOut.h>
#include <menuIO/chainStream.h>
#include <ClickEncoder.h>
#include <menuIO/clickEncoderIn.h>
#include <menuIO/serialOut.h>
note: somehow ClickEncoder is defined to be included only on some avrs, probably causing problem with some other mcu, however i know it works with teensy. here fixing the problem by including ClickEncoder.h
before menuIO/clickEncoderIn.h
your code was also missing #include <menuIO/serialOut.h>
however still have some ucglib errors...
Ah ok, I already tried changing the orders, but had no luck. I added the interrupt stuff for the encoder and now it's working like charm.
Thank you very much for the support
Hello,
my first try was to adapt the ucglib example , so I can use it with the SSD1351 Display and a click Encoder.
The display works fine with SerialIn, but I am struggling to get the sketch running with a clickEncoder, any help is appreciated.
I am using a Teensy 3.2 and the Encoder Library from here : https://github.com/0xPIT/encoder
Find the sketch and the relevant debug Output below:
Here is the Build log: