xoseperez / espurna

Home automation firmware for ESP8266-based devices
http://tinkerman.cat
GNU General Public License v3.0
3k stars 638 forks source link

Defining more than 4 GPIO pins #432

Closed xoseperez closed 6 years ago

xoseperez commented 6 years ago

Originally reported by: Darsh Patel (Bitbucket: Darshkpatel, GitHub: Darshkpatel)


Hey there , I've been working on a custom board I designed with 8 relays connected to a esp12e, Really love the project, but while trying to configure it before building , I read can only define a maximum of 4 GPIO pins for relays , can you or someone maybe point me in the right direction to define more GPIOs without breaking anything

xoseperez commented 6 years ago

Original comment by Darsh Patel (Bitbucket: Darshkpatel, GitHub: Darshkpatel):


Missed that one ! Thanks a ton for pointing it out

xoseperez commented 6 years ago

You can configure 8 relays, check the GENERIC_8CH device in the hardware.h file.