Pi Supply Logo

Pi Supply

The Maker Emporium

² Navigation

  • Home
  • Shop
  • Resources
    • Maker Zone
    • Blog
    • Distributors
    • Careers
  • Services
    • Education
  • Contact
  • About Us
Home / Resources / Code Examples

Bright Pi v1.0 Code Examples

To get the Bright Pi working on the Raspberry Pi, you need to enable I2C. You can find a great guide on setting up I2C on the Adafruit website here. Once I2C is all set up, then from command line to turn only all white LEDs on: sudo i2cset -y 1 0x70 0x00 0x5a To […]


By Aaron Shaw filed in

Pi Supply Switch v1.1 Code Examples

Raspberry Pi The code on this page has been superseded, you can find the new scripts on our GitHub repository. Use the code below only if you are using Wheezy. Python There are two ways to implement this in Python…with a while loop, or using interrupts. Below can be found some code examples to use […]


By Aaron Shaw filed in

Information

  • About Us
  • Order Information
  • Delivery Information
  • Returns Policy
  • Privacy Policy
  • Terms and Conditions
  • Contact Us
  • Careers

Account

  • Edit Account
  • Lost Password
  • Change Password
  • Logout

Recent Posts

  • Pi Supply/Nebra Launches New Indoor and Outdoor Hotspots to Support the Growth of the Helium Network
  • Say hello to Flick – Gesture control boards for Raspberry Pi, Pi Zero, and I2C devices
  • JustBoom – High Quality Audio for the Raspberry Pi

Subscribe

Subscribe to our social channels to receive updates.

Pi Supply © 2023. All Rights Reserved.

Website design by Little Web Dress