generator stuff

This commit is contained in:
2024-06-13 14:52:23 +02:00
parent 1b6f444f4a
commit dd7fc7ebd1
5 changed files with 102 additions and 1 deletions

14
generator.c Normal file
View 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);
}