Skip to content

Instantly share code, notes, and snippets.

@sm00th
sm00th / cc_slave.pde
Created May 14, 2015 06:33
Classic Wii Controller Emulation with Arduino
#include <Wire.h>
#include "wm_crypto.h"
#define TWI_FREQ 400000L
#define EC_ADDR 0x52
#define PACKET_SIZE 6
#define REC_EV 0x01
#define REQ_EV 0x02