Introduction¶
CircuitPython module for use with the Adafruit ATSAMD09 seesaw.
Dependencies¶
This driver depends on:
Please ensure all dependencies are available on the CircuitPython filesystem. This is easily achieved by downloading the Adafruit library and driver bundle.
Installing from PyPI¶
On supported GNU/Linux systems like the Raspberry Pi, you can install the driver locally from PyPI. To install for current user:
pip3 install adafruit-circuitpython-seesaw
To install system-wide (this may be required in some cases):
sudo pip3 install adafruit-circuitpython-seesaw
To install in a virtual environment in your current project:
mkdir project-name && cd project-name
python3 -m venv .venv
source .venv/bin/activate
pip3 install adafruit-circuitpython-seesaw
Usage Example¶
See examples/seesaw_simpletest.py for usage example.
Documentation¶
API documentation for this library can be found on Read the Docs.
For information on building library documentation, please check out this guide.
Contributing¶
Contributions are welcome! Please read our Code of Conduct before contributing to help this project stay welcoming.
Table of Contents¶
adafruit_seesaw.seesaw
Seesaw
Seesaw.sw_reset()
Seesaw.get_options()
Seesaw.get_version()
Seesaw.pin_mode()
Seesaw.digital_write()
Seesaw.digital_read()
Seesaw.digital_read_bulk()
Seesaw.digital_read_bulk_b()
Seesaw.set_GPIO_interrupts()
Seesaw.get_GPIO_interrupt_flag()
Seesaw.analog_read()
Seesaw.touch_read()
Seesaw.moisture_read()
Seesaw.pin_mode_bulk()
Seesaw.pin_mode_bulk_b()
Seesaw.digital_write_bulk()
Seesaw.digital_write_bulk_b()
Seesaw.analog_write()
Seesaw.get_temp()
Seesaw.set_pwm_freq()
Seesaw.encoder_position()
Seesaw.set_encoder_position()
Seesaw.encoder_delta()
Seesaw.enable_encoder_interrupt()
Seesaw.disable_encoder_interrupt()
Seesaw.set_i2c_addr()
Seesaw.get_i2c_addr()
Seesaw.eeprom_write8()
Seesaw.eeprom_write()
Seesaw.eeprom_read8()
Seesaw.uart_set_baud()
Seesaw.write8()
Seesaw.read8()
Seesaw.read()
Seesaw.write()
adafruit_seesaw.crickit
- Pin definition for Adafruit CRICKITadafruit_seesaw.analoginput
AnalogInput
adafruit_seesaw.digitalio
DigitalIO
adafruit_seesaw.keypad
KeyEvent
Keypad
adafruit_seesaw.neopixel
RGB
GRB
RGBW
GRBW
NeoPixel
adafruit_seesaw.pwmout
PWMOut
adafruit_seesaw.robohat
- Pin definition for RoboHATMM1_Pinmap
adafruit_seesaw.rotaryio
IncrementalEncoder
adafruit_seesaw.samd09
- Pin definition for Adafruit SAMD09 Breakout with seesawSAMD09_Pinmap
adafruit_seesaw.tftshield18
- Pin definitions for 1.8” TFT Shield V2Buttons
TFTShield18