[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avr-gcc-list] Problem with source
From: |
Karsten Becker |
Subject: |
[avr-gcc-list] Problem with source |
Date: |
Sat, 03 Mar 2001 23:28:55 +0100 |
Hi,
I'm new to avr-gcc and i'm just playing around a bit with the gcctests.
I tried following source:
#include "uart.h"
#include <progmem.h>
#include <io8515.h>
int main(void)
{
u08 outdat;
/* Initialise UART */
UART_Init();
for (;;) { /* loop forever */
outdat=PINC;
PRINT("The number is:");
UART_Printfu08(outdat);
EOL();
}
}
But the only output I get is the number is 13 without pushing any
buttons?
Whats wrong with this source?
kind regards
Karsten
- [avr-gcc-list] Problem with source,
Karsten Becker <=