Diese Seite verwendet Cookies. Durch die Nutzung unserer Seite erklären Sie sich damit einverstanden, dass wir Cookies setzen. Weitere Informationen
Aufgrund technischer Veränderungen ist der Mailverkehr innerhalb des Forums (Private Nachrichten) nur noch eingeschränkt möglich. Die Einschränkung ist notwendig, um zusätzliche Betriebskosten für das Forum zu vermeiden. Näheres zu den Hintergründen im Thread "Aktuelles zum Forum".Wir bitten um Verständnis.
Hinweis kann nach Kenntnisnahme deaktiviert werden!
Problem Attiny85 and I2C Oled. Config Scl = Portb.3 Config Sda = Portb.4 The program works perfectly. But if I change this Config Scl = Portb.1 Config Sda = Portb.2 It doesn't work. Measured with scope on B.1 and B.2 I see no signal. What am I doing wrong ? balou. ************ program ************ $regfile = "ATtiny85.DAT" $crystal = 8000000 $hwstack = 40 $swstack = 16 $framesize = 32 Config Scl = Portb.3 Config Sda = Portb.4 I2cinit $lib "glcdSSD1306-I2C.lib" Waitms 5 Config Graphlcd = Custom ,…
Hallo, I use this program, but with a picture I only see mess. Text is displayed properly.who can help me.Balou19. $regfile = "m88pdef.dat" $hwstack = 32 $swstack = 32 $framesize = 32 $crystal = 8000000 Config Clockdiv = 1 ' make sure the chip runs at 8 MHz Config Scl = Portc.5 ' used i2c pins Config Sda = Portc.4 Config Twi = 400000 ' i2c speed I2cinit $lib "i2c_twi.lbx"' we do not use software emulated I2C but the TWI $lib "glcdSSD1306-I2C.lib"' override the default lib with this special one #…