jmoore52 / SkywalkerRoaster

Artisian control of Skywalker Electric Coffee Roaster via Arduino.
GNU General Public License v3.0
56 stars 7 forks source link

Update SkyCommandPerfBeta.ino #8

Closed Krullus closed 7 months ago

Krullus commented 7 months ago

Renamed the time variable to avoid name conflicts during compilation. Correspondingly, updated the timeout variable's name to match the new identifier for consistency.

Modified setValue to be a void function due to a compilation error.

Added return values for itsbeentoolong() and removed the shutdown call within that function, as shutdown is handled within the conditional logic in the loop() function

uint8_t can only store values between 0 and 255, removed "value >= 0 &&" from the if conditions.

Consider removing the "timeIntervals" variable as it is currently unused

Thank you for your work! :)