Programming Tutorials

Beginner tutorials

1. The basic "Hello World!" program In this lesson we will learn the basics of how to make your first program on Pokitto. The program will put a simple text "Hello World!" on the Pokitto screen. We will be making the program in the super-simple mbed online tools! 2. Welcome to the "Mbed" ecosyste... ...Read more >>
Drawing a bitmap on the Pokitto screen In this example we draw a small Pokitto icon (by @trelemar ) on the left upper corner (coordinates 0,0) of the Pokitto screen. The screen mode used is the default mode 2 , which is 110 pixels wide, 88 pixels high and has 16 colors Link to project on Pokitto ... ...Read more >>
Reading Pokitto Buttons In this example we read the state of Pokitto buttons (pressed or not pressed) in the most simple way possible. Project on Pokitto mbed Community Team page: Project settings (My_settings.h) #define PROJ_HIRES 0 ... ...Read more >>

Intermediate tutorials

Pokitto SynthTest This demo shows how to make "ground up" sounds by directly controlling the Pokitto oscillators. Attention!: Watch your ears! If you put headphones on and max volume, it can be very loud! Project settings (My_settin... ...Read more >>

Advanced tutorials

Step 1: download and install EmBitz IDE EmBitz is an "offline IDE" you can use to program Pokitto on your computer. That means you can make Pokitto-compatible binaries without the need to go to the cloud tools. EmBitz is an open-source IDE that is free, fast and relatively easy to learn.... ...Read more >>
...deas. Support for using the simulator at this moment is a bit limited, because we are still busy with fulfilling the Pokitto Kickstarter. Support and tutorials for using the PokittoSim will improve over time. However, several users with limited experience have already reported successfully installing and ru... ...Read more >>
Hello all I have begun merging the PokittoLib and PokittoSim codebases. pokitto/PokittoLib PokittoLib - Library for making programs on Pokitto hardware PokittoLib git repository now has BOTH TOOLCHAINS (EmBitz and Code::Blocks) in the same repo This means same Example/HelloWorld can be... ...Read more >>

C++ Language Tutorials by Community to go over this simple program, to familiarize you with the basic elements of a game program like the ones you will be building. Most programming tutorials start with such so-called 'hello world' programs, since them simply draw the words "Hello World!" on your screen. You will usually want to develop y... ...Read more >>
...last basic type of variables is the pointer, which takes 32 bits of memory. Pointers store locations of data in memory; this will be covered in later tutorials. Okay, that's all fine and dandy, but how do you use these? Well, let's make an example: I'm going to move our text cursor around the screen, and si... ...Read more >> the first game? well technically its tennis for 2 but a more popular variation is called PONG #include "Pokitto.h" Pokitto::Core game; /* In this tutorial we are using fast screen mode. It means screen resolution is 110x88 playerA's buttons are UP and DOWN playerB's buttons are A and B */ //setting vari... ...Read more >>
by request i am adding this one, this is basically explaining how the math works as you might have seen in the tutorials assignment is in reverse to what you might be used to x = 10; in this your assigning x the value of 10 you can do arithmetic with these + - * / % i... ...Read more >>

5.Level 1-5, functions

  by NullMember
...any name you want. But It is good to choose name according to the job. Then inside the brackets we can declare parameters as much as we need. In this tutorial we need two parameters. Parameters looks like variables. Actually it's variables. But it's local to the function. The purpose of parameters is to all... ...Read more >>