Having trouble understanding serial data and fullduplex objects
chris jones
Posts: 391
hello
can anyone help me i moved from a bs2 chip to the propeller chip and on my bs2 boards i had my RF·TX and RX units working. i also have a lcd that i have working on the propeller using simple_serial object but i want to learn how i can move to the full duplex object.
can anyone help me i moved from a bs2 chip to the propeller chip and on my bs2 boards i had my RF·TX and RX units working. i also have a lcd that i have working on the propeller using simple_serial object but i want to learn how i can move to the full duplex object.
Comments
Second, compare the two lists. You'll find that most of them are identical. "init" in one is called "start" in the other. "finalize" in one is called "stop" in the other. FullDuplexSerial's "start" method has a mode parameter which is explained in the comments. Inverted mode is specified differently and FullDuplexSerial doesn't use -1 for an unused pin.
Now, after looking at the two, what don't you understand?
CODE Below //// i get an error on all putc
the method
keeps it's name as it is INSIDE the file and not a method in the FDX-object-file
you changed its name to Pub Tx(TxByte)
best regards
Stefan
Post Edited (StefanL38) : 10/30/2009 10:04:19 PM GMT
Please post all your code. Use the archive function in the Propeller tool (but don't include the tool in the archive).
I have to ask back: do you remember this picture ? archive a project
How many times do you want to make the experience that if you try it superFAST everything turns out superSLOW ?
It took 4 hours until I post this. And now it take some hours more until you read again and another some hours or next day
until the forum analysed your bug.
Your bug has to do with the codeline "lcd.cls"
An original file "serial_lcd.spin" does compile. So YOU must have changed something in the file "serial_lcd.spin"
but you don't provide this file to the forum.
To say it very clear: from your actual knowledge about spin you don't have the oversight where the bug comes from.
So take a few more MINUTES to archive your whole project (WITHOUT propeller.exe !!!!)
best regards
Stefan
Post Edited (StefanL38) : 11/3/2009 6:44:19 AM GMT