mirror of
https://gitlab.fdmci.hva.nl/technische-informatica-sm3/ti-projectten/rooziinuubii79.git
synced 2025-08-04 04:14:58 +00:00
some changes
This commit is contained in:
@@ -19,15 +19,14 @@ void setup(){
|
||||
robot.startCommunication("/dev/ttyUSB0", true, null_ptr);
|
||||
client.connect();
|
||||
client.subscribe("home/commands");
|
||||
parseMQTT(readMQTT());
|
||||
}
|
||||
|
||||
int main(){
|
||||
setup();
|
||||
client.run();
|
||||
while(true){
|
||||
readMQTT();
|
||||
parseMQTT(readMQTT());
|
||||
}
|
||||
client.run();
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user