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.
All boards with M0 no working with i2c
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- Franklin97355
- Posts: 23912
- Joined: Mon Apr 21, 2008 2:33 pm
Re: All boards with M0 no working with i2c
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
- Thachlel
- Posts: 3
- Joined: Fri Oct 13, 2017 12:34 pm
Re: All boards with M0 no working with i2c
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..
- Franklin97355
- Posts: 23912
- Joined: Mon Apr 21, 2008 2:33 pm
Re: All boards with M0 no working with i2c
What do you mean by no power up? Please post your code and we can take a look
- Thachlel
- Posts: 3
- Joined: Fri Oct 13, 2017 12:34 pm
Re: All boards with M0 no working with i2c
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);
U8X8_SSD1306_128X64_NONAME_HW_I2C u8x8(/* reset=*/ U8X8_PIN_NONE);
- Franklin97355
- Posts: 23912
- Joined: Mon Apr 21, 2008 2:33 pm
Re: All boards with M0 no working with i2c
I'd ask the library author if it works with the M0.
Please be positive and constructive with your questions and comments.