generator stuff
This commit is contained in:
14
generator.c
Normal file
14
generator.c
Normal file
@ -0,0 +1,14 @@
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
#include <msp430g2553.h>
|
||||
#include "generator.h"
|
||||
|
||||
|
||||
void generatorInit() {
|
||||
P1DIR |= BIT0 | BIT1 | BIT2 | BIT3;
|
||||
P1OUT |= BIT0 | BIT1 | BIT2 | BIT3;
|
||||
|
||||
|
||||
genShifter(0, 0x8001);
|
||||
}
|
||||
|
Reference in New Issue
Block a user