tinygo-org / drivers

TinyGo drivers for sensors, displays, wireless adaptors, and other devices that use I2C, SPI, GPIO, ADC, and UART interfaces.
https://tinygo.org
BSD 3-Clause "New" or "Revised" License
604 stars 188 forks source link

makeybutton: add driver for MakeyMakey-like button #429

Closed deadprogram closed 2 years ago

deadprogram commented 2 years ago

This PR adds a driver for a MakeyMakey-like button (https://makeymakey.com/)

sago35 commented 2 years ago

How is makeybutton connected to the microcontroller?

conejoninja commented 2 years ago

How is makeybutton connected to the microcontroller?

it isn't?

Makeymakey has its own micro (atmega32u4), by the example provided I guess this is kind of an interface similar to makeymakey. Otherwise it will need an special firmware to be connected as a device ??

deadprogram commented 2 years ago

This is not to connect a MakeyMakey. It is to use a pin of whatever MCU to act like a MakeyMakey does by connecting a high Ohm resistor.

deadprogram commented 2 years ago

Circuit: image

conejoninja commented 2 years ago

It's ok for me, merging