NaturalAutomatics / MetaTemp

Feel the temperature of the Metaverse with MetaTemp
0 stars 0 forks source link

Firmware Mk1 Alpha LED commands #18

Open NaturalAutomatics opened 2 weeks ago

NaturalAutomatics commented 2 weeks ago

Also commands list must be simplified like this

HELP -> HLP COOL [intensity] - Start cooling (intensity 0-255, default 255) -> CL [intensity] HEAT [intensity] - Start heating (intensity 0-255, default 255) -> HT [Intensity] STOP - Stop thermal control -> STP CYCLE <COOL|HEAT> - Run a thermal cycle -> CY <CL/HT> STATUS - Get current status -> STS STOPCOOL - Stop cooling -/ -> STP <CL/HT> STOPHEAT - Stop heating / LED ON - Turn LED on -> LD ON LED OFF - Turn LED off -> LD OFF LED BLINK [delay] - Blink LED (delay in ms, default 1000) -> LD BLK [delay] LED FADE BLUE - Fade blue LED -> LD FDE B LED FADE GREEN - Fade green LED -> LD FDE G LED FADE RED - Fade red LED -> LD FDE RED

NaturalAutomatics commented 1 week ago

Firmware issue on fade problem: running two process at the same time, runFirmware and ledFade method inside, pseudo-multithreading required. To run selected method at the same time as running firmware