💻
Battle Programmer Micull
  • 🍞General Information
    • About Me
    • Career and Aspirations
  • 🤖AI
    • RAG Chatbot
    • Machine Learning Aimbot
  • 🔩Hardware
    • GameCube Controller LED Mod
    • Manipulating Controller Inputs
    • GameCube Mod
  • 📔Notes
    • Commonly Used Linux Commands
    • PortSwigger SQL Injection CheatSheet
    • eJPT/eCPPT Notes
  • 💾Hacking
    • CVE-2024-40502
    • Blind SQL Exploit
  • ⚙️Projects
    • Arch Linux Rice
    • Slippi Player Lookup
  • 🔒Security Documents
    • IIS Server Hardening
    • Web Application Penetration Test
    • Response Headers
  • 🐍Python
    • Pandas Vendor2 Export
    • Pandas Vendor1 Export
    • Pandas and AD
    • Python SFTP Script
Powered by GitBook
On this page
  • GameCube Motherboard
  • Code
  • End Product
  1. Hardware

GameCube Controller LED Mod

A simple led mod for the GameCube controller using an Arduino nano.

PreviousMachine Learning AimbotNextManipulating Controller Inputs

Last updated 1 year ago

GameCube Motherboard

Solder two wires to the controllers board, one to 5v and the other to ground. Use these two wires to power the Arduino nano.

Code

I use the FastLED library to interact with the RGBs I have connected to the Arduino.

#include <FastLED.h>

// How many leds in your strip?
#define NUM_LEDS 10

// For led chips like Neopixels, which have a data line, ground, and power, you just
// need to define DATA_PIN.  For led chipsets that are SPI based (four wires - data, clock,
// ground, and power), like the LPD8806 define both DATA_PIN and CLOCK_PIN
#define DATA_PIN 3
#define CLOCK_PIN 13

// Define the array of leds
CRGB leds[NUM_LEDS];
int funkytown[] = {9,8,7,6,5,4,3,2,1,0};

void setup() { 
  
      FastLED.addLeds<NEOPIXEL, DATA_PIN>(leds, NUM_LEDS);
      leds[0] = CRGB(255,0,255);
      FastLED.show();
      leds[1] = CRGB(255,0,255);
      FastLED.show();
      leds[2] = CRGB(255,0,255);
      FastLED.show();
      leds[3] = CRGB(255,0,255);
      FastLED.show();

      for(int i=4; i<=9; i++){
      leds[i] = CRGB(10,0,10);
      FastLED.show();
  }
}

void loop() { 

   for(int i=0; i<=9; i++){
      leds[i] = CRGB(255,0,255);
      FastLED.show();
      delay(120);
      leds[i] = CRGB(0,255,255);
      FastLED.show();
      delay(50);
   }
}

End Product

🔩
Page cover image