summaryrefslogtreecommitdiff
path: root/src/debug.h
blob: fe8e9681ceb67c4249b9ca4227f85e2189d8e9e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#ifndef __DEBUG_SERIAL_H
#define __DEBUG_SERIAL_H

#include <stdio.h>
#include <avr/io.h>
#include "uart.h"
#include "pins.h"

void timer_init();
void test_timer();
void scroll_test();
void screen_lowlvl_testdraw();
void uart_echo();
void test_clock();
void eeprom_testbyte();
unsigned int ticks_to_seconds();

#define DEBUG_LED_ON() LED_DEBUG_PORT |= _BV(LED_DEBUG)
#define DEBUG_LED_OFF() LED_DEBUG_PORT &= ~(_BV(LED_DEBUG))



#endif