User Tools

Site Tools


2016:huzzah_gpio

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
2016:huzzah_gpio [2016/08/08 11:41] 192.168.1.12016:huzzah_gpio [2016/08/08 17:29] (current) – [I2C] 192.168.1.1
Line 27: Line 27:
  
 If you want to use NodeMCU pin 5, use D5 for pin number, and it will be translated to 'real' GPIO pin 14.\\ If you want to use NodeMCU pin 5, use D5 for pin number, and it will be translated to 'real' GPIO pin 14.\\
 +
 +===== I2C =====
 +The Huzzah does have I2C on it's interface.  Pinout is:
 +  * #4 = SDA
 +  * #5 = SCL
 +Verified to work on 8/8/2016 using DS3231 and Huzzah on proto board.\\
 +Must use the following include:\\
 +     #include <RtcDS3231.h>
 +which is in the library RTC by Makuna.\\
 +
 +SDA/SCL default to pins 4 & 5 but any two pins can be assigned as SDA/SCL using Wire.begin(SDA,SCL).\\
 +
2016/huzzah_gpio.1470670870.txt.gz · Last modified: 2016/08/08 11:41 by 192.168.1.1