bitwisetech / popc

Firmware for Arduino and ESP8266 based coffee roaster control
GNU General Public License v2.0
13 stars 1 forks source link

Issue with ESP8266 #3

Open j-n-4 opened 4 years ago

j-n-4 commented 4 years ago

Hi Kudos on a very impressive project. I am not an expert coder but I was super-impressed with the code structure and commenting.

Never the less, I tried to compile for ESP+MAX6675 and having some problems, I do not fully understand the PID mechanism but compilation fails on TCCR1B was not declared in this scope which I understand to be coming from arduino.h (included). Has anyone had any experience with this code on ESP?

bitwisetech commented 4 years ago

Thank You ! That section of code should be UNO-Only so I have put some #ifdef switches around it; as long as the compile time switches, at the beginning of the sketch, are set for ESP8266 then it compiles OK here, now.

Tks !

jnoam commented 4 years ago

Wow that was quick (and helpful!) Going to try that ASAP.

Thanks!!