Skip to main content
5 events
when toggle format what by license comment
Apr 16, 2019 at 14:55 comment added tlfong01 Ah, I think you need to first run the circuitPython version, eg US$9 Trinket M0. If everything goes well, then you study the code and see what is need to convert to make it Rpi compatible. I once tried PyBoard and BBC Micro with MicroPython, which is similar to Circuit Python. But I found MicroPython very weak, small memory, slow REPL MU, no interrupts. In other words, as weak as Arduino. If your project is small, you might like to switch to M0 hardware (which I tried and found it very very small, even smaller than Arduino). Or plan to spend more time studying Rpi.
Apr 16, 2019 at 14:26 comment added TAO I also tried Adafruit_CircuitPython_ADS1x15, but do not know how to customize the code (github.com/adafruit/Adafruit_CircuitPython_ADS1x15) when creating the I2C bus, i2c = busio.I2C(board.SCL, board.SDA), or creating the ADC object using the I2C bus, to get readings from the designated i2c3 or 0x48 busnum=3?
Apr 16, 2019 at 7:39 history edited tlfong01 CC BY-SA 4.0
added pictures of hardware setup and test porgram listing.
Apr 16, 2019 at 7:34 history edited tlfong01 CC BY-SA 4.0
added pictures of hardware setup and test porgram listing.
Apr 16, 2019 at 5:13 history answered tlfong01 CC BY-SA 4.0