MCPcopy Create free account
hub / github.com/SmingHub/Sming / CALLBACK_ATTR blink

Function CALLBACK_ATTR blink

samples/LiveDebug/app/application.cpp:75–81  ·  view source on GitHub ↗

* Notice: Software breakpoints work only on code that is in RAM. * In Sming you have to use the GDB_IRAM_ATTR to do this. */

Source from the content-addressed store, hash-verified

73* In Sming you have to use the GDB_IRAM_ATTR to do this.
74*/
75void CALLBACK_ATTR blink()
76{
77 static bool ledState;
78
79 ledState = !ledState;
80 digitalWrite(LED_PIN, ledState);
81}
82
83void showPrompt()
84{

Callers

nothing calls this directly

Calls 1

digitalWriteFunction · 0.50

Tested by

no test coverage detected