
|
INFO - FAQ - CC2-Forum - CCPro-Forum |
|
||
|
Hallo Max, ich vermute Du meinst "OM_I2C_B.PRO" und "I2CLCD.PRO" in "Kleine Pizza-Uhr auf der Open-Macro". Ich habe es nicht getestet, aber ich denke, die Datei "OM_I2C_B.PRO" mußt Du wie folgt anpassen: > define SCL port[15] ' I2C Port > define SDA port[16] ' I2C Port DEFINE SCL bPTB6 'PTB6 = PORT[15] DEFINE SDA bPTB7 'PTB7 = PORT[16] Und "I2CLCD.PRO" wie folgt: > define LCDADDR 78 IF i2c_write(LCDADDR)=0 THEN 'I2C-Adresse vom PCF8574 PRINT "NACK" : END END IF Viel Spaß und Erfolg mit den OM-Mikrocontrollern! Dietmar Meine Homepage: http://ccintern.dharlos.de |
| Antwort schreiben |