This is an example "Hello World" program that works with the latest Pokitto library release

Dependencies:   PokittoLib

Pokitto "Hello World!" example

Press "Import into Compiler" on the top right of this page to try this code yourself!

/media/uploads/Pokitto/hello.jpg

main.cpp

Committer:
Pokitto
Date:
2017-10-22
Revision:
7:c51ef06c4585
Parent:
5:c4a0391b43ac
Child:
15:90fbbbf47b22

File content as of revision 7:c51ef06c4585:

#include "Pokitto.h"

Pokitto::Core mygame;

int main () {
    mygame.begin();
    while (mygame.isRunning()) {
        if (mygame.update()) {            
            mygame.display.print("Hello World!");
            } 
        }    
    
}