mattytrentini / micropython-m5stack-dds

A MicroPython driver for the M5Stack DDS frequency generator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

micropython M5Stack DDS

>>> from machine import Pin, SoftI2C
>>> i2c = SoftI2C(scl=Pin(32), sda=Pin(26))
>>> i2c.scan()
[49]
>>> hex(49)
'0x31'
>>> i2c.readfrom_mem(0x31, 0x10, 6)
b'ad9833'

About

A MicroPython driver for the M5Stack DDS frequency generator


Languages

Language:Python 100.0%