Hi everybody!
YIPPPPPPPPPPPIIIIIIIIIIIIII, I found the "bug" that kept me
busy for quite some hours.
For my newest project (can be found in CVS in module
apps/ZNF800/DisplayErbert), I used a Makfile from an example
of the newest WinAvr distribution as template.
This template defines the for CFLAGS -funsigned-char
This makes a "char" variable "unsigned".
In line 436 a char variable is initialized:
--------------------------8<-----------------------
lnTxRetriesLeft = LN_TX_COMPLETE ;
-------------------------->8-----------------------
LN_TX_COMPLETE is defined to -1, which triggers a start
bit in line 398 if not negative.
Now the display talks with me via SV protocol :-)))
--
Stefan Bormann
ste...@gm... http://www.nord-com.net/stefan.bormann
|