Gast
#3606123
Hallo, irgendwie bekomme ich keine vernünftige Kommuniktation http://www.buydisplay.com/download/ic/XPT2046.pdf PORTF_out := %00000000; /CS auf GND SPIE_Write(%00011011); //TouchY Touch_byteH := SPIE_Read(buffer); Touch_byteL := SPIE_Read(buffer); // Touch_byte := Touch_byte SHr 4; bytetostr(Touch_byteL, Touch_value_Y_Str); PORTF_out := %00010000; /CS auf High Egal ob ich ich H oder das Low Byte lese, ich bekomme immer Zahlensprünge... Auch ist es völlig egal ob ich bei Spi_Write mit 0 oder 1 beginne..der Touch zeigt dann lediglich andere Werte..obwohl das erste bit doch eigentlich IMMER 1 sein soll.. Wo ist hier mein Denkfehler?