0.96 Inch 4Pin White IIC I2C OLED Display For Arduino

thanks, one question more…

tell me can i connect an button to an analog pin on an arduino nano, it says that you are an analog pin from A0-A5 also digital? can they drive a diode or read a button on analog pins or are they for analog inputs only?
in xod there is always a tag for pin A … (by default A0 let’s say) do I have to type differently when I plug in an analog pin button or diode?

What if I have a button on the analog pin 3 and a diode on the other side of the digital 3?

Untitled

After spending a lot of time with this i managed to get a easy to use 3 line patch running
Hope this helps some people :slight_smile:

@wayland - when exceeding the linewidth it swaps to the next one and mixes up - is there a way to prevent this ?

128x64.oled_3lines.example.xodball (18.9 KB)

Thanks for sharing your patch. You can switch off text-wrapping by setting the WRAP input pin on the draw-text node to false. This will stop one line overwriting the next, but of course you will still have the issue that you don’t have enough space to display the full line. If you’re working with numbers you could use the format-number node to set the number of digits you want to display.

Hope this helps.

thx

due to a health (brain) condition i cant use code as im used to a few years ago - thats the reason why i went to xod

thx xod folks - great software

btw - cant get xod to deploy any patch with your library - tryed everything i read. using arduino ide and copy paste works fine

Hi,

A noob here.

I’m trying to get this working (in simulation mode for now), but get a compile error …
“fatal error: ‘SPI.h’ file not found”.

I get this as soon as I add the ssd1306-oled-i2c

Anyone have any clue how to get past that? I’ve not installed any libraries etc (if I was supposed too), just the wayland/ssd1306-oled-i2c.

Actually … just thinking about it now. Maybe its the simulation mode? … is this supposed to work in a simulation?

Thanks

1 Like

Makes sense, thanks for the explanation.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.