Moteino (Mega), OLED and u8g

Started by gregcope, June 01, 2015, 12:22:34 PM

gregcope

Hi All,

What PINs does the OLED screen use?

Can it use arbitrary pins or does it need the Hardware Interrupts or Hardware Serial pins?

Ie - if I only have a few digital pins, can it just use those or does it need special ones?

This would be on a Moteino Mega using Radio and Flash - ie something that already has many pins committed.  My project already uses both Hardware Serial ports as well.

Sorry - I cannot seem to find anything online that describes concisely.

Felix

Are you referring to the OLED that was part of the MotionMote kit?
That has 4 pins: GND, Vcc, SCL SDA. So it uses the I2C pins on the MEGA.
If you check the MEGA pinout that would be pins 16 & 17.
VCC can be supplied from the "3.3v" pin since the OLED only needs up to 10-15mA.

gregcope

Thanks Felix exactly what I was looking for!