nicola-masarone / raspberrypi-projects

A few, simple, raspberry pi projects

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Raspberry Pi projects

A few, simple, Raspberry Pi projects

Development Setup

Projects

  • A classic Blink project with variable speed. This project aims to close the loop between input and output on a Raspberry Pi board. Using a push-button we can change the LED blinking speed, in a circular way so that when the speed reaches the max value then it returns to the minimum at the next button press.
  • PWM used to set LED brightness via /sys/class/pwm This project shows how to use PWM output on Raspberry Pi via appropriate calls to /sys/class/pwm/ Changing PWM duty-cycle we can set an LED brightness, from LED off to LED full-on to LED off gain, in a cyclically way.

About

A few, simple, raspberry pi projects

License:MIT License


Languages

Language:C 84.8%Language:C++ 15.2%