circuitpython-tricks icon indicating copy to clipboard operation
circuitpython-tricks copied to clipboard

Some CircuitPython tricks, mostly reminders to myself

Results 7 circuitpython-tricks issues
Sort by recently updated
recently updated
newest added

There's a mistake in the `Neopixels / Dotstars` section where colorwheel is stated to return a tuple, but in reality it returns a `0xRRGGBB` int. That text is also mirrored...

Hi, I just want to say thank you for making these tipps and tricks available Cheers Bernd

Here's how to make simple tones with Circuit Python import board import simpleio f = 440 # frequency in hz d = 0.25 # duration in seconds simpleio.tone(board.A0, f, d)

How to read battery voltage level. I am using an Adafruit RP2040 feather and power it using 3.3V 500mAh rechargeable battery. How to run code.py from REPL. Just curioys if...

Using Matrix Keypad with I2C port Expander and a Dictionary with HTML Color Names, just like Arduino FastLED Library.

### Dictionary for HTML Color Names Then you can call CRGB ['ColorName'] in same manner that you call CRGB::ColorName in Arduino and FastLed ```py CRGB = { 'MistyRose': (1.0, 0.894118,...

## Matrix Keypad ### Using I2C Port Expander With Matrix Keypad ```py import adafruit_matrixkeypad import adafruit_pcf8574 from digitalio import DigitalInOut import board import time # Using default i2c with board.SDA...