summaryrefslogtreecommitdiff
path: root/floppyMusic/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'floppyMusic/main.c')
-rw-r--r--floppyMusic/main.c18
1 files changed, 12 insertions, 6 deletions
diff --git a/floppyMusic/main.c b/floppyMusic/main.c
index c0db582..09ca8d0 100644
--- a/floppyMusic/main.c
+++ b/floppyMusic/main.c
@@ -12,19 +12,25 @@
#include <avr/io.h>
#include "floppy.h"
-#include "uart.h"
+//#include "uart.h"
int main(void)
{
- uart_init(9600);
+ //uart_init(9600);
+ //DDRC = 0xff;
+ floppy_setup(&PORTC, &DDRC, &PORTB, &DDRB);
+ floppy_set_frequency(0, 70);
- floppy_setup(&PORTC, &DDRC, &PORTD, &DDRD);
- floppy_set_frequency(0, 4);
+ DDRD = 0xff;
- uart_send_string("Floppy Music\n");
+ PORTD = 0xff; //DEBUG
+ //uart_send_string("Floppy Music\n");
while (1)
{
- floppy_set_frequency(0, uart_recieve());
+ //floppy_set_frequency(0, uart_recieve());
+ //uart_send_string("Floppy Music\n");
+ //_delay_ms(500);
+ //PORTD ^= 0xff;
}
} \ No newline at end of file