# Code Examples

- [Demo Code](/breadstick/breadsticks/raspberry-breadstick/code-examples/demo-code.md): This is the code that ships with the Raspberry Breadstick. It uses the gyroscope to change the LEDs when rotated about its z-axis.
- [POV Wand](/breadstick/breadsticks/raspberry-breadstick/code-examples/pov-wand.md): Use your Raspberry Breadstick as a POV (Persistance Of Vision) wand to draw images in the air using the LEDs!
- [Pride Flags POV Wand](/breadstick/breadsticks/raspberry-breadstick/code-examples/pride-flags-pov-wand.md): Pride Month is here! Wave a Pride flag and spread some love!
- [6-Axis IMU](/breadstick/breadsticks/raspberry-breadstick/code-examples/6-axis-imu.md): The LSM6DS integrates both a 3-Axis Accellerometer and a 3-Axis Gyroscope in its tiny 3mm x 2.5mm package!
- [RGB Blink](/breadstick/breadsticks/raspberry-breadstick/code-examples/rgb-blink.md): Uses the DotStar library to blink the SK9822 addressable RGB LEDs.
- [AsyncIO RGB Blink](/breadstick/breadsticks/raspberry-breadstick/code-examples/asyncio-rgb-blink.md): This time the leds are blinked without the busy delay of the time.sleep() method.
- [Digital Input](/breadstick/breadsticks/raspberry-breadstick/code-examples/digital-input.md)
- [Digital Output](/breadstick/breadsticks/raspberry-breadstick/code-examples/digital-output.md)
- [PWM](/breadstick/breadsticks/raspberry-breadstick/code-examples/pwm.md): Pulse Width Modulation - If you flip an LED on and off quickly enough, you can control the brightness!
- [ADC](/breadstick/breadsticks/raspberry-breadstick/code-examples/adc.md): Analog to Digital Conversion - Read a voltage and convert it to a number!
- [Servo Motor](/breadstick/breadsticks/raspberry-breadstick/code-examples/servo-motor.md)
