Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8082

MicroPython • Re: I2C 24C256 Eeprom micropython libs and example code please?

$
0
0
The return results from 'i2c.scan' do seem to be a lit of addresses found, in decimal, so [80, 88] would be expected, that's equivalent to [0x50, 0x58] and the other is [32] or 0x27 indicating a PCF8574, with A2, A1 and A0 pulled high or perhaps floating..

As to the error I presume this is simply through not setting the command argument correctly for what gets called and seems to be through using an integer when it's expecting a list.

I'm not familiar with I2C on a Pico nor the library used but I will hopefully be able to take a look if no one else can figure it out.

Statistics: Posted by hippy — Thu Aug 28, 2025 12:34 am



Viewing all articles
Browse latest Browse all 8082

Trending Articles