Witam
Od kilku dniu usiłuje odpalić bibliotekę FATfs ze strony elm-chan
I po prostu nie wiem co robię źle
Mój kod wygląda następująco (nie stosuje RTC)
A program non stop zwraca 0x03 albo 0x07 (nawet bez włożonej karty);(
Od kilku dniu usiłuje odpalić bibliotekę FATfs ze strony elm-chan
I po prostu nie wiem co robię źle
Mój kod wygląda następująco (nie stosuje RTC)
#include <avr/io.h>
#include <avr/pgmspace.h>
#include <avr/interrupt.h>
#include <string.h>
#include "xitoa.h"
#include "ff.h"
#include "diskio.h"
#include "integer.h"
#include "usart.h"
#define BAUD 9600
#define OSC 16000000
#define MYUBRR OSC/16/BAUD-1
int main(void)
{
USART_Init(MYUBRR);
USART_Transmit(0xAA);
USART_Transmit(disk_initialize (0));
return 0;
}A program non stop zwraca 0x03 albo 0x07 (nawet bez włożonej karty);(

