Close

73 Results for "circuitpython"

  • Code

  • All of the main loop and setup code is in this class. CircuitPython automatically runs any code in a file called code.py, so this is the first thing called. The important stuff is in main_loop(), which is the main program loop that runs every TICK_RATE_S seconds....
  • Draw

  • This class handles all CircuitPython DisplayIO related screen drawing using bitmaps. For more information on screen drawing and bitmaps, this is a great resource. In this implementation, there are two bitmaps which are stored a single group, which...
  • Input

  • Possibly the most useful class, the ButtonPress class holds a list of Button objects that match the PyBadge board. Buttons can be easily added or removed, and the secret sauce behind the ultra-fast button processing is a CircuitPython module...
  • Concept

  • Key component: Rpi Pico.A lot of USB programmable pedals on the market need to install an application for configuration. Usually this app is only for Windows and came poorly translated (if translated at all). This is a pitfall for Linux or Mac users,...
  • Configure the code

  • After the imports in the python file there are several options you can configure. They are detailed in the code as well as these instructions. USE_LIGHT_SENSOR = False    # if you want to disable the light sensor USE_DISTANCE_SENSOR =...
  • Unruly signals: S.O.S....

  • SignalPinPortActionDescriptionRESETNJP4.14External reset control+3V3JP4.13Digital power lineAREFJP4.12Fixed at 3.3VHVIJP4.115V supply for laser and APDLASER_POWERJP4.10A0DACSet laser powerTHRESHOLDJP4.9A1DACComparator thresholdBIAS_VOLTAGEJP4.8A2ADCAPD...
  • I2C Pi OLED Usage

  • PI OLED Module the pi oled is 0.91 inch iic oled. It is very easy to use. Just plug to your pi will ok. Update the pi system and Python Before use the pioled, please install the Raspbian or Raspbian Lite to your computer. Run the standard updates:...
  • Code

  • This code can be downloaded on to your computer here. Transfer all the files except for the README.md file to your PyPortal. You'll just drag and drop them on the PyPortal, which should show up as CIRCUITPYTHON on your USB list. The only document...
  • Code Step 3

  • Download the Thony and install it (Do watch some tutorials if you are a RPi Pico beginner).Open the Pico directory and open the code.Now go to Tools -> Options -> interpreter -> and select Circuitpython(generic).Copy-paste the given code into the...
  • Load Them Boots

  • Remember this thing? It's made by the people at this cool company: So you're going to need their software for programming the initial bootloader. It's called Microchip Studio and you can download it from their website here: https://www.microchip.com/en-us/development-tools-tools-and-software/microchip-studio-for-avr-and-sam-devices...