Hi,

I still think I am confused about something
in building a net.

On the atmega128, I think port e, pin 1 (E1) is TxD.

I would think I want to do something like this:

E1 -> SerialRx -> SerialRX::CharReceived -> outside world

Data does show up via the SerialRX object but it is
all 0's.

   Net ser_rxD0
   SerialRx mysrx $ui "serialRx0" ".x"
   SerialRxBasic_SetBaudRate mysrx 9600
   ser_rxD0 Add [AvrDevice_GetPin $dev1 "E1"]
   ser_rxD0 Add [SerialRxBasic_GetPin mysrx "rx"]

But even in "SerialRx::CharReceived" that value is
0x00.  And the line where it is called from has
"dataByte" as 0x00.

What stupid misunderstanding am I suffering from?

Thanks.

--
Joel Sherrill, Ph.D.             Director of Research & Development
joel.sherr...@oarcorp.com        On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
  Support Available             (256) 722-9985




_______________________________________________
Simulavr-devel mailing list
Simulavr-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/simulavr-devel

Reply via email to