Skip to content

Concepts

Draw on the screen, read the buttons and slider, play sounds and light the LEDs -- one guide for each part.

After this page you can choose a guide for the input or output your app needs.

These guides explain the core concepts behind Cyber Fidget apps. Whether you're just curious or ready to dive into code, each page has something for you.

In the clip: a small face that the slider moves up and down and the middle buttons move sideways, from Sprites & Animation.

  • New to apps? Start here


    The begin, update and end pattern every app follows, and the loop that runs 50 times per second.

    How an App Works | The Update Loop

  • Look up a function


    Every function your app can call, on one page, with its arguments and an example.

    Function reference

  • Pictures and motion


    Show small pictures, animate them, move them around, or draw a spinning 3D shape.

    Sprites & Animation | 3D Models

  • Write and test in the browser


    Write or generate an app, build it, and try it in the emulator with no device needed.

    App Builder | Browser Emulator

Start with Code from Blank Template in the studio. Each code block says where to add its sections in the .cpp file. "At the top of the file" means below the #include lines, above the line that creates the app object. Keep the starter's methods; add a section inside them instead of adding another begin(), update() or end(). Each block works on its own.

Each concept page is written in layers:

  1. What is this? -- A brief intro for beginners
  2. Concepts -- Deeper explanation with analogies for curious users
  3. Code examples -- Annotated snippets for tinkerers
  4. Framework details -- Visible Advanced notes for readers building apps into the firmware by hand

Core concepts

Concept Description
How an App Works The begin -> update -> end lifecycle pattern
The Update Loop What runs 50 times per second and why
Buttons & Events How button presses become actions via callbacks
Drawing to the Screen The OLED display, coordinates, text, shapes, and bitmaps
Sound & Music Speaker tones, playback settings, and microphone input
LEDs & Color The 4 RGBW NeoPixels and color control
The Slider Analog slider input and filtered position values
Motion Sensing Accelerometer axes and tilt-based control
Sprites & Animation Pictures on the screen, animation, movement and collisions
3D Models Wireframe shapes you can spin, turn and resize

Where to go next

  • New to the device? Start with How an App Works to understand the app structure.
  • Want to understand the loop? Read The Update Loop next.
  • Building something? Pick the concepts you need -- buttons, display, audio, LEDs, slider, or accelerometer.
  • Digging into the firmware? Read the Advanced section of each concept page. Studio apps do not need these internals; the studio and firmware handle app registration and the update loop for you.