All boards with M0 no working with i2c

For other supported Arduino products from Adafruit: Shields, accessories, etc.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
Thachlel
 
Posts: 3
Joined: Fri Oct 13, 2017 12:34 pm

All boards with M0 no working with i2c

Post by Thachlel »

I biught trinket m0 and feather m0 both pretty sad useless! Can’t not use sdl and sdk for display
I googgle hrs n hrs but no help! I had both pull up resistor as in spec said n i had 4.7k and explicit enable digitalWrite(SDA,1).... the clone chinese arduino nano works flawlessly 5 for 15 bucks and these adafruit board so expensive and i coild not get it work! Very bad no such instructions bug desinged ill post to YouTube so u guys can see.

User avatar
Franklin97355
 
Posts: 23912
Joined: Mon Apr 21, 2008 2:33 pm

Re: All boards with M0 no working with i2c

Post by Franklin97355 »

What code are you running and how do you have things connected? Can you post pictures? Have you looked at this yet? https://learn.adafruit.com/using-atsamd ... s/overview

User avatar
Thachlel
 
Posts: 3
Joined: Fri Oct 13, 2017 12:34 pm

Re: All boards with M0 no working with i2c

Post by Thachlel »

I connected my oled to 2 pins 19,20 which is SDL n SCL i was able to scan the address but there is no power up for my oled. With the same oled I put to The ancient Nano n it worked just perfect! sry!I tried to add photo but its size >1mb... forum stops me from sending it. i'll find the way to shrink it down..

User avatar
Franklin97355
 
Posts: 23912
Joined: Mon Apr 21, 2008 2:33 pm

Re: All boards with M0 no working with i2c

Post by Franklin97355 »

What do you mean by no power up? Please post your code and we can take a look

User avatar
Thachlel
 
Posts: 3
Joined: Fri Oct 13, 2017 12:34 pm

Re: All boards with M0 no working with i2c

Post by Thachlel »

I'm using U8g2 OLED library. It works on the Nano but Feather M0 and Trinket M0 is no luck
U8X8_SSD1306_128X64_NONAME_HW_I2C u8x8(/* reset=*/ U8X8_PIN_NONE);

User avatar
Franklin97355
 
Posts: 23912
Joined: Mon Apr 21, 2008 2:33 pm

Re: All boards with M0 no working with i2c

Post by Franklin97355 »

I'd ask the library author if it works with the M0.

Locked
Please be positive and constructive with your questions and comments.

Return to “Other Arduino products from Adafruit”