Does compiling for the Pi work on all 3 versions ?
Does anyone know what screen resolutions are available ?
What is the preprocessor variable name for the Pi (and Javascript) ?
Any known limitations ?
Compiling is fine for all versions. The screen resolution can be set to what you want. Is this the variable name you are looking for;? :glare:
// Raspberry Pi 3 (uname -a: Linux raspberrypi0 4.4.11+ #888 Mon May 23 20:02:58 BST 2016 armv6l GNU/Linux)
PLATFORMINFO$("") is "ARM-LINUX-EGL"
PLATFORMINFO$("DEVICE") is "DESKTOP"
PLATFORMINFO$("DPI") is 96
// Windows 10 64bit
PLATFORMINFO$("") is "WIN32"
PLATFORMINFO$("DEVICE") is "DESKTOP"
PLATFORMINFO$("DPI") is 96
No, I was thinking of the C #define preprocessor variable.
Not as I'm can see in the h file. But until then, you could do a user define as I'm did with android in the eailer days.
That is odd, as the other platforms have one!
Android define was also missing when its was ported its time.... Im do not see any standard define in stdafx.h throught for this platform.
But howover, when checking out in platform.ini, its seen the define used is RASPBERRY_PI (its added a -DRASPBERRY_PI to the g++ compiler).
Ah, great thanks!
What format does music need to be in for the Pi & HTML 5 ?
Is file i/o allowed in a limited form for HTML 5, or totally blocked ?