Module/main.cpp
2024-01-16 16:14:54 +01:00

12 lines
267 B
C++

/* SIMPLE EXAMPLE: LED blinking */
import io; // use module !!!
//////////////////////////////////////
static io::GpioClass led (GpioPortA, 10);
int main () {
for (;;) {
~led; // change status - unary ~
io::wait ();
}
return 0;
}