So , I am a absolute newbie in coding Axoloti and want to connect a MCP23017. I have tried the setup on a arduino and that works like charm. Now I want to play the same patch on a Axoloti. Just a simple blink-sketch.
I took some code from another patch in which a MCP23s17 is used and ported it to i2c.
Included the patch. When I upload the patch, it builds without error and uploads. After a while I get:
block uploaded @ 0x20011000 length 3532
Done uploading patch
patch start taking too long, disconnecting
Done starting patch
mcp23017.axp (1.9 KB)
Can someone give me a clue that I am doing wrong?