Skip to content

Latest commit

 

History

History
 
 

examples

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

pymcp2221 - examples

This is the examples meant to illustrate the functionalities of pymcp2221. There are detailled explanations within each file as to what they actually do. Here is a short summary of their scope:

  • find_device.py : this shows how to discover connected devices
  • gpio.py : demonstrates how to connect with a device and do some basic operations with GPIO pins
  • gpio_powerup.py : shows how to connect with a device and set GPIO pin configuration in flash memory. The settings are then remembered upon reboot.
  • adc.py : shows how to configure and use the ADCs
  • dac.py : shows how to configure and use the DAC