Go to file
Pim van Pelt bb62e9b6ae Add DHT support.
Very rough stab just to test the waters -- this will need some
more work.

For now, hard code 4,5,15 pins (as per Sonoff SV), but before
rolling this out, add a config flag for this behavior.

Neat trick -- the presence of dht library in mos.yml triggers
inclusion of the code via define -DMGOS_HAVE_DHT=1
2018-02-11 13:20:36 +01:00
2018-01-24 13:33:13 +01:00
2018-02-11 13:20:36 +01:00
2018-01-05 16:58:15 +01:00
2018-02-11 13:20:36 +01:00
2018-01-05 16:58:15 +01:00
2018-02-11 13:20:36 +01:00
2018-01-05 16:58:15 +01:00

GPIO for 3-gang

  • 0: Top green LED
  • 16: Top blue LED
  • 14: Middle blue LED
  • 2: Bottom blue LED
  • 12: Top button
  • 3: Middle button
  • 5: Bottom button
  • 13: Top relay (L1)
  • 4: Middle relay (L2)
  • 15: Bottom relay (L3)
Description
No description provided
Readme 279 KiB
Languages
C 99.2%
Shell 0.6%
Makefile 0.2%