Media library Interface screenshot SPRK+

Sphero SPRK app-store screenshot promoting the text-based OVAL code…

Sphero SPRK app-store screenshot promoting the text-based OVAL code viewer that reveals the code behind block-built programs.

App store screenshot titled Text-Based Code Viewer showing an iPhone displaying OVAL CODE with syntax-highlighted robot code
Text in this image

Transcribed from the asset above and checked against the record. Figures are reproduced as printed, including where the original is itself a claim rather than an audited number.

Text-Based Code Viewer

OVAL CODE

void HandleFreeFall()

{

setRgbLed( 255,22,21 );

}

OnFreeFall = HandleFreeFall;

yield StartProgram()

{

int loopCount_988 = 0;

while (loopCount_988 < 10000)

{

loopCount_988 = loopCount_988 + 1;

if ( verticalAcceleration>=2 )

{

setRgbLed( 255,0,0 );

yield DoDelay( 250 );

}

else

{

if ( verticalAcceleration<=-2 )

{

setRgbLed( 255,255,0 );

yield DoDelay( 250 );

}

else

{

setRgbLed( 255,255,255 );

}

yield DoDelay( 50 );

controlSystemTargetSpeed = (69 + 8);

}

}

controlSystemTargetYaw = controlSystemTa...

}

yield StartProgram();

Provenance
Source
SPRK+ →
File
/creative-assets/sprk/sprk-text-based-code.png
Description
App store screenshot titled Text-Based Code Viewer showing an iPhone displaying OVAL CODE with syntax-highlighted robot code