This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <chrono> | |
#include <thread> | |
void switchOnLeds(int firstLed, int lastLed); | |
void digitalWrite(int pin, bool statement); | |
int main() | |
{ | |
switchOnLeds(0, 4); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class LedChainManager extends Manager{ | |
private LinuxRaspberryPiGpioManager linuxRaspberryPiGpioManager; | |
private int parameter1, parameter2; | |
private static LedStrip ledStrip; | |
private final int leds = 10; | |
public LedChainManager(LinuxRaspberryPiGpioManager linuxRaspberryPiGpioManager) { | |
this.linuxRaspberryPiGpioManager = linuxRaspberryPiGpioManager; | |
init(); |