See how a minor change to your commit message style can make you a better programmer.
Format: <type>(<scope>): <subject>
<scope>
is optional
//Program that outputs all PS2 scancodes via serial | |
#define BUFFER_SIZE 45 | |
static volatile uint8_t buffer[BUFFER_SIZE]; | |
static volatile uint8_t head, tail; | |
#define DATA_PIN 10 | |
#define IRQ_PIN 3 | |
// The ISR for the external interrupt |
# Poker II Firmware disassembly help tool. | |
original = IO.read("./Poker II original firmware.bin") | |
extracted = "" | |
original.each_byte{|b| | |
m = (((b & 0x0f) << 4) | ((b & 0xf0) >> 4)) ^ 0xff | |
extracted << m.chr | |
} | |
puts extracted |