Initial commit for Raspberry Pi GPIO ARGB controller

This commit is contained in:
Adam Honse
2024-08-05 23:53:30 -05:00
parent d834b18a16
commit fc411345a3
35 changed files with 4974 additions and 0 deletions
@@ -0,0 +1,33 @@
/*---------------------------------------------------------*\
| RGBController_RaspberryPi_Linux.h |
| |
| RGBController for Raspberry Pi GPIO ARGB |
| |
| Adam Honse (CalcProgrammer1) 21 Jul 2024 |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#pragma once
#include "RaspberryPiController_Linux.h"
#include "RGBController.h"
class RGBController_RaspberryPi : public RGBController
{
public:
RGBController_RaspberryPi(RaspberryPiController* controller_ptr);
void SetupZones();
void ResizeZone(int zone, int new_size);
void DeviceUpdateLEDs();
void UpdateZoneLEDs(int zone);
void UpdateSingleLED(int led);
void DeviceUpdateMode();
private:
RaspberryPiController* controller;
};