Gast
#285582
hallo, wenn ich mit atoi den wert einlese und ihn noch um 2 erhöhe z.b.
,wird immer nur der wert ausgegeben ohne die adition.
neuer
uint16_t wert;
char buffer[7];
sei();
usart_init( (READ + WRITE) , READ);
lcd_init(LCD_DISP_ON);
lcd_clrscr();
while(1)
{
wert=atoi(satz_ausgabe);
wert=wert+2;
itoa( wert , buffer, 10);
lcd_clrscr();
lcd_puts(satz_ausgabe);
delay_ms(100);
}