Open jvasileff opened 3 weeks ago
could you try the newest version but remove the right part of the #if conditional ( " && MEGATINYCORE_SERIES != 2 ")? I don't have a 2-Series to test
Thanks! Indeed, that does fix Wire.usePullups()
on 2.6.10. I just did a quick test with a multimeter, I didn't try to actually use i2c with this change.
I've now tested actually using i2c with this change - everything works great.
There are CONSIDERABLY more serious issues here. Much more complicated than implied here.
How so? As far as I can see the use Pullups function isn't doing anything in the 2 series. all we have to do is to #if def the OUTCLR, however I think it would be sensible to just keep it like that - I doubt anyone will end up using I2C pins on a PCB for anything but I2C
As can be confirmed with a multimeter and the following setup code:
Wire.usePullups()
stopped pullingPB0
andPB1
high with version2.6.2
or2.6.3
. This was tested with anattiny1627
.