Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 

Thing 1 and Thing 2

An overly simplistic set of communication devices: Thing1 and Thing2. You press the button on Thing1 and the light/haptic on Thing2 is triggered. Same is true the other way around.

Hardware

Pins

  • 2 = Button
  • 4,5 = I2C Buzzer
  • 12 = Blue led
  • 13 = Green led
  • 16 = Red led

Software

Tutorials

USB Drivers

You need to install the CP2104 USB drivers in order to interact with the huzzah feather.

https://learn.adafruit.com/adafruit-feather-huzzah-esp8266/using-arduino-ide http://www.silabs.com/products/development-tools/software/usb-to-uart-bridge-vcp-drivers

Python Environment Install

python3 -m venv .venv
source .venv/bin/activate
pip install pip --upgrade
pip install -r requirements.txt

Userful Commands

Enter the REPL:

screen /dev/tty.SLAB_USBtoUART 115200

List files on the feather. (With the .ampy file you don't need to specify the port):

ampy --port /dev/tty.SLAB_USBtoUART ls

Erase the feather:

esptool.py --port /dev/tty.SLAB_USBtoUART erase_flash

Useful Links

About

An overly simplistic set of communication devices: Thing1 and Thing2

Resources

License

Releases

No releases published

Packages

No packages published