add comment explanation for sleep()
This commit is contained in:
1 parent
f50708b24c
commit
bd035793df
1 file changed
+2
@@ -105,6 +105,8 @@ void loop()
|
||||
Serial.write(ch);
|
||||
}
|
||||
|
||||
// Equavilent to __WFE (Wait For Event) instruction.
|
||||
// It is a hint to allow CPU to enter low-power state until an event occured
|
||||
sleep();
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user