Ich habe alles von dir heruntergeladen und nur das eben geschriebene verändert.
Der Code der main.c sieht jetzt so aus (wegen der LED):
Code:
/*
* main.c
*
* Created on: 01.05.2009
* Author: sebastian
*/
#include <avr/io.h>
#include <stdlib.h>
#include "include/lc7981.h"
#include "include/adc.h"
#include "button.h"
#include "12x16_horizontal_LSB_1.h"
//#include "8x8_horizontal_LSB_1.h"
#include "include/touch.h"
#include "writing_demo.h"
int main() {
DDRA = 0xff;
PORTA=0xff;
lcd_init(LCD_GRAPHIC);
lcd_plot_text(5,5,"Hello",16,16,font_12x16);
lcd_plot_pgmtext(50,22,PSTR("World"),16,16,font_12x16);
while(!touch_is_pressed());
writing_demo();
return 0;
}
Auf jeden Fall nochmal Danke für deine Bemühungen, Sebastian!
EDIT: Oh oh - hatte den Touchscreen vergessen... mal sehen
EDIT2: Touchscreencode auskommentieren bringt auch nix. Bin übrigens unter Linux. Muss ich da das Makefile anpassen?
Lesezeichen