Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: fbde129ada
Fetching contributors…

Cannot retrieve contributors at this time

13 lines (10 sloc) 0.288 kb
#include "shift_register.h"
#include <avr/io.h>
#include "app.h"
ShiftRegister::ShiftRegister() : bits(0) {
DDRD |= _BV(DDD4);
PORTD |= _BV(PIND4);
}
void ShiftRegister::Bit::after_enqueue() {
data = set ? (app.shift_register.bits |= mask) : (app.shift_register.bits &= ~mask);
}
Jump to Line
Something went wrong with that request. Please try again.