Blinky example (blinking a LED) by Pharap

Dependencies:   PokittoLib

Fork of HelloWorld by Pokitto Community Team

/media/uploads/Pokitto/9158987a0a515653f5ae7a4898c32517bced1b53.png

/media/uploads/Pokitto/ce2e6057553d5cc79a6f7532a538c4478d1dc344_1_666x500.jpg

Blinking an LED with Pokitto / LEDin vilkutus Pokittolla

Instructions/ohjeet:

https://talk.pokitto.com/t/wiki-draft-using-the-pex-01-a-simple-led-project/613

main.cpp

Committer:
Pokitto
Date:
2017-10-09
Revision:
0:2d2a3994d55d
Child:
5:c4a0391b43ac

File content as of revision 0:2d2a3994d55d:

#include "Pokitto.h"

Pokitto::Core mygame;

int main () {
    mygame.begin();
    while (mygame.isRunning()) {
        if (mygame.update()) {            
            mygame.display.print("I feel good!!");
            } 
        }    
    
}