Tutorial #7

Sample Files

Here you can download sample projects and demo projects.

Click “File Name” to start downloading.

Command usage example

File NameUsage commands   Details
bar.tomatebar{ }Progress bar command usage example
brt-slp.tomatebrt{}, slp{}Brightness/sleep adjustment for Raspberry Pi
ckb.tomateckb{ }Checkbox command usage example
dsp.tomatedsp{ }‘dsp{ }’ command usage example
if.tomateif{ }‘if{}’ branch usage example
int.tomateint{ }Interval command usage example
parts.tomatepad{}, sel{}, msg{}Sample using parts
pro.tomatepro{ }Property command usage example
snd-bgm-vol.tomatesnd{ }, bgm{ }, vol{ }Examples of using sound-related commands
tim.tomatetim{ }Example of using the date/time display command

Demo projects

File NameContents
dice.tomate This is a roulette that randomly rotates the dice introduced in the ‘Application’ tutorial.
Press the START button to start spinning, and press the STOP button to stop spinning.
Output dice to output.txt when STOP.
graph7.tomateThis is a graph display sample using the ‘bar{}’ command.
Each time the title is touched, the values of d1~d7 are set randomly from 0~100 and the graph is drawn.
hamster-clock.tomateHamster Clock
It is a digital clock using the illustration of “Irasutoya.com“.
Morning page from 6:00 to 16:00
Evening page from 16:00 to 20:00
From 20:00 to 6:00, the night page will be automatically switched and displayed.
If you touch the hamster, the manual ‘M’ will appear, and you can manually switch screens by pressing the clock letter.
Press Hamster again to return to automatic page switching.

Notes

  • All projects have a screen size of 800×480.
    If you want to change the resolution, please operate “Menu: Tool: Change resolution” and change it to the resolution of your environment.
  • The character font uses the “Segoe UI” font.