/* FortunaOS _____ _ ___ ____ | ___|___ _ __ | |_ _ _ _ __ __ _ / _ \ / ___| | |_ / _ \ | '__|| __|| | | || '_ \ / _` || | | |\___ \ | _|| (_) || | | |_ | |_| || | | || (_| || |_| | ___) | |_| \___/ |_| \__| \__,_||_| |_| \__,_| \___/ |____/ Minimalist Operating System for LaFortuna board, build on: - The RIOS Scheduler - Peter Dannegger’s Code for the Rotary Encoder - Peter Dannegger’s Code for Switch debouncing - Steve Gunn’s display driver - ChanN’s FAT File System Occupies Timer T0 for scheduling and LED brightness. */ #ifndef OS_H #define OS_H #include #include #include #include "lcd.h" #include "rios.h" #include "ruota.h" #include "ff.h" #define LED_ON PORTB |= _BV(PINB7) #define LED_OFF PORTB &= ~_BV(PINB7) #define LED_TOGGLE PINB |= _BV(PINB7) FATFS FatFs; void os_init(void); #endif /* OS_H */