Skip to main content
13 events
when toggle format what by license comment
Jan 29, 2021 at 18:27 answer added user2105725 timeline score: 2
Jan 29, 2021 at 11:03 vote accept user2105725
Jan 28, 2021 at 19:58 history edited timemage CC BY-SA 4.0
Language specified in code quoting. Capitalized some things.
Jan 28, 2021 at 18:35 answer added timemage timeline score: 1
Jan 28, 2021 at 18:23 comment added user2105725 Same thing. Ive tried different addresses and different values and they always seem to be the same result..
Jan 28, 2021 at 18:12 comment added timemage What happens if you use unsigned int address = 0; instead?
Jan 28, 2021 at 18:06 comment added user2105725 Ok, the updated code returns '0' for the read and write endTransmission calls.
Jan 28, 2021 at 18:04 history edited user2105725 CC BY-SA 4.0
deleted 42 characters in body
Jan 28, 2021 at 17:53 comment added user2105725 I thought I should print the endTransmission call for both writeEEPROM() and readEEPROM() ? - will update question when i know where to put print statement...
Jan 28, 2021 at 17:44 comment added user2105725 Hi have updated code so it prints out the .endTransmission() calls and get a '2' returned from both which according to wire doc is '2:received NACK on transmit of address'
Jan 28, 2021 at 17:39 history edited user2105725 CC BY-SA 4.0
added 47 characters in body
Jan 28, 2021 at 17:16 comment added timemage See what values your .endTransmission() calls are returning. You may want to use the I2CScanner sketch to at least make sure it is showing up on the bus.
Jan 28, 2021 at 17:03 history asked user2105725 CC BY-SA 4.0