Smart Home Automation Forum

Full Version: Usar entradas y oled i2c juntos
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Buenas tardes 

Quiero usar las entradas y al mismo tiempo una pantalla  oled i2c, pero no logro usarlo en conjunto correctamente, veo el código de ejemplo de entradas y ahí viene esto:

PC8574. pc8564(0x22,4,15)

Y en el código de ejemplo de OLED viene lo siguiente :

U8G2_SSD1306_128X64_NONAME_F_SW_I2C u8g2(U8G2_R0, 15, 4, U8X8_PIN_NONE);//SCL IO15 SDA IO4

y el error que hace es que siempre manda indicar que la entrada se activo cuando junto tanto un codigo como el otro 

Agradecería su apoyo 


Anexo código completo
Do you mens you arduino code can't work if SSD1306 and digital input running at the same time?
Si efectivamente no funciona el código que ustedes proporcionan, deberían corregirlo tuve que usar la librería 

SD1306Wure.h
can you write in English, i don't understand your problem now.
I needed to be able to see the time on the OLED screen, and also see the inputs that I activated as well, but I couldn't do it, in another publication that in order for the DC1307 to work, it was stated that the person who commented had to desolder a diode and make a bridge electric but I am not familiar with doing that, what can I do