This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

twi_scanner not working with other pins

I'm trying to find the address of an attached twi sensor by using the twi_scanner. It worked on the default pins 

.scl = ARDUINO_SCL_PIN,
.sda = ARDUINO_SDA_PIN,

but when I change the pins like this 

.scl = ARDUINO_7_PIN,
.sda = ARDUINO_6_PIN,

It simply doesn't scan. 

Am I doing something wrong here? 

Any help would be appreciated. 

Thanks in advance. 

- Usman 

Parents Reply Children
No Data
Related