vitotai / BrewManiacEsp8266

BrewManiac on ESP8266. Only ESP8266 needed.
155 stars 71 forks source link

Use Digispark Attiny85 instead pcf8574 #13

Open jhnf opened 6 years ago

jhnf commented 6 years ago

Hello! Why do not you use Digispark Attiny85 instead of pcf8574?

vitotai commented 6 years ago

PCF8574 is a I2C IO expander, Attiny85 seems to be a micro controller. I don't understand what is your question.

jhnf commented 6 years ago

To Attiny85, you can connect analog buttons and flash the microcontroller to transfer the state of the buttons on the i2c bus... Easier than connecting the library pcf8574. I can modify your code to support buttons > Attiny85 > i2c For example: http://www.mauroalfieri.it/elettronica/attiny85-iic-wemos.html

vitotai commented 6 years ago

We might have different view of easiness. PCF8574 is cheap and everywhere, I don't fell any difficulty.

However, your are encouraged to do whatever you want to the code. That is the spirit and purpose of open source.