Ever wanted more GPIO on your ESP8266? This is one simple way to use your serial pins as GPIO. They can even be used for PWM and i2c!
Also check out Bornach's channel: / @bornach
---------------------------------
Code:
---------------------------------
//GPIO 1 (TX) swap the pin to a GPIO.
pinMode(1, FUNCTION_3);
//GPIO 3 (RX) swap the pin to a GPIO.
pinMode(3, FUNCTION_3);
---------------------------------
Parts:
---------------------------------
Wemos D1 Mini Clone*: http://s.click.aliexpress.com/e/uzFUnIe
1.3" OLED Display*: http://s.click.aliexpress.com/e/cDNvohJE
My D1 Mini Matrix Shield: https://www.tindie.com/products/brian...
---------------------------------
My Tindie Store:
---------------------------------
I've started to sell stuff on Tindie, check it out!
https://www.tindie.com/stores/brianlo...
---------------------------------
Other Platforms:
---------------------------------
Twitter: @witnessmenow - / witnessmenow
Instagram - / brian_lough
Instructables: witnessmenow - https://www.instructables.com/member/...
---------------------------------
Support the Channel:
---------------------------------
Buying anything through the following links will help support the channel and not cost you anything extra.
My Amazon Shop is now open: https://www.amazon.co.uk/shop/brianlough
Amazon.co.uk: http://amzn.to/2g7mJIO
Amazon.com : http://amzn.to/2ykDQ42
Aliexpress: http://s.click.aliexpress.com/e/wdhojba
LCSC (where I buy most of my parts for Tindie stuff): https://lcsc.com/?promote=ODM5ZTB5Nlk...
---------------------------------
My Tools & Kit*:
---------------------------------
Ts-100 Soldering Iron
UK : http://amzn.to/2nlOF23
US : http://amzn.to/2jDcyxl
Logitech C920 HD 1080p Pro webcam
UK: http://amzn.to/2pnxk9Z
US: http://amzn.to/2BsLMiF
Blue Snowball USB Microphone
UK: http://amzn.to/2C0x4TH
US: http://amzn.to/2DEA85J
Self Adjusting Wire Strippers
UK: http://amzn.to/2C0urkR
US: http://amzn.to/2BXQAh1
*= Affiliate Links