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

Dependencies:   PokittoLib

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers main.cpp Source File

main.cpp

00001 #include "Pokitto.h"
00002 
00003 Pokitto::Core mygame;
00004 
00005 int main () {
00006     mygame.begin();
00007     while (mygame.isRunning()) {
00008         if (mygame.update()) {            
00009             mygame.display.println("Hello World!");
00010             } 
00011         }    
00012     
00013 }