Add Valve class, change Makefile and Servomatic.ino
authorLukáš Jiřiště <jiriste@icpf.cas.cz>
Tue, 5 Nov 2024 14:22:14 +0000 (15:22 +0100)
committerLukáš Jiřiště <jiriste@icpf.cas.cz>
Tue, 5 Nov 2024 14:26:26 +0000 (15:26 +0100)
commitdf22fa29ab8f7291553b993fe6b2a6b7210b8345
tree6044f0dae7196ff2c6ee80595a0cffc581d8e44e
parent770efd498eebae83d80b503b10fe5b18d7444339
Add Valve class, change Makefile and Servomatic.ino

The main function needs to have init() before the declaration of first
Valve, because the Valve constructor needs the arduino initialized. One
cannot declare Valve before calling init().
Due to this and me liking variable declaration at the start of a
function, I've written the actual contents of main to a new function.
Makefile
Servomatic.ino
Valve.h [new file with mode: 0644]
Valve.ino [new file with mode: 0644]