1
Yes, set the GPIO back into mode ALT0 (needed by GPIO 2/3 to be in I2C mode).
Tiny GPIO has the following define to use to set that mode.
#define PI_ALT0 4
Only top voted, non community-wiki answers of a minimum length are eligible
Related Tags
bit-bang × 26i2c × 12
gpio × 11
pigpio × 10
serial × 6
uart × 6
python × 4
pi-3 × 3
hardware × 2
c × 2
audio × 1
python-3 × 1
kernel × 1
electronics × 1
temperature × 1
gsm × 1
interrupts × 1
system-clock × 1
mpu6050 × 1