Modules in this directory demonstrate how to interface with some of the hardware peripherals available on D1.

This code was last updated for demos in Output lecture (Friday Nov 22, 2024) You are welcome to incoporate this code into your projects, keep in mind further testing/development of your own may be needed.

  • TWI (Two-Wire,i.e. i2c)
    • driver successfully used in past, minor recent updates to code
  • SPI (serial peripheral)
    • driver successfully used in past, minor recent updates to code
  • PWM (pulse width modulation)
    • code is brand-new, needs further testing
  • I2S/PCM
    • draft version, newish code, needs further testing