Skip to content

nicola-masarone/raspberrypi-projects

Repository files navigation

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.