pimoroni-pico/micropython/modules/breakout_potentiometer
Phil Howard 445737088f Switch drivers over to I2C class, tidy up common include
Removes all driver-specific SDA/SCL pin definitions and defaults.
Pin type is "uint" everywhere, but "PIN_UNUSED" is *int*_max for MicroPython compat. That's still a lot of pins!
Adds baudrate to the I2C class, and allows a driver (like Trackball) to check the baudrate is supported
2021-05-17 11:46:12 +01:00
..
breakout_potentiometer.c Switch C++ to use Direction enum for functions and added Direction contants to MP 2021-05-14 12:41:46 +01:00
breakout_potentiometer.cpp Switch drivers over to I2C class, tidy up common include 2021-05-17 11:46:12 +01:00
breakout_potentiometer.h Fixed pot read from returning bool to returning a float, and removed read_as_percent for read_raw 2021-05-14 12:41:46 +01:00
micropython.cmake Micropython bindings for Encoder and Pot breakouts 2021-05-14 12:41:23 +01:00
micropython.mk Micropython bindings for Encoder and Pot breakouts 2021-05-14 12:41:23 +01:00