Skip to content

Instantly share code, notes, and snippets.

package main
import (
"crypto/aes"
"crypto/cipher"
"crypto/rand"
"crypto/sha256"
"fmt"
"io"
"os"
@aditya-r-m
aditya-r-m / crgb.cc
Created July 24, 2022 07:01
Custom Trident Z DRAM RGB Turndown
// pieces extracted & trimmed from https://gitlab.com/CalcProgrammer1/OpenRGB
#include <cstring>
#include <iostream>
#include <linux/i2c-dev.h>
#include <linux/i2c.h>
#include <sys/ioctl.h>
#include <dirent.h>
#include <fcntl.h>