Our PCB is made by the LPKF machine, this week we are going to solder all the components on the PCB.
The I2C finally works, I found the error, I used B01000000 (8 bit) as address for the I2C but apparently arduino uses the 7 bit address so B0100000 and adds a '0' or '1' (for write or read) by itself. I also noticed that I made a little mistake in the last schematic of the test setup (the LED was reversed). I changed it in the schematic, below you can see the right one.
here you can see the program code I used for this schematic:
Geen opmerkingen:
Een reactie posten