Link Search Menu Expand Document

Hello World

Your first program on the pokitto. This is the classic approach to write code in the Pokitto

main.cpp

#include "Pokitto.h"
int main(){
    using PC=Pokitto::Core;
    using PD=Pokitto::Display;
    PC::begin();
    while( PC::isRunning() ){
        if( !PC::update() ) 
            continue;
        PD::print("hello world");
    }
    return 0;
}

My_settings.h

#define PROJ_SCREENMODE   MODE_HI_4COLOR

Copyright © 2020 Pokitto Oy.