Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Usar entradas y oled i2c juntos
#1
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


Attached Files Image(s)
   

.zip   DEMO_KC868_15_OLED_input.zip (Size: 2.12 KB / Downloads: 6)
Reply
#2
Do you mens you arduino code can't work if SSD1306 and digital input running at the same time?
Reply
#3
Si efectivamente no funciona el código que ustedes proporcionan, deberían corregirlo tuve que usar la librería 

SD1306Wure.h


Attached Files Image(s)
   
Reply
#4
can you write in English, i don't understand your problem now.
Reply
#5
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
Reply


Forum Jump:


Users browsing this thread:
1 Guest(s)