SEROUT using the propeller?
Luis_P
Posts: 246
Sorry I'm new on the Propeller, is posible to send data out like I do on the BS2? on the stamp I use:
SEROUT 1,$4054,2,[255,85,3,2,0,0,251]
Can I do that with the propeller?
Gracias.
SEROUT 1,$4054,2,[255,85,3,2,0,0,251]
Can I do that with the propeller?
Gracias.
Comments
There's an object in the Object Exchange that implements many of the BS2's I/O functionality using Spin calls including most of SEROUT's functionality. Look at the examples and comments in "BS2 Functions". In your case, you're using a "pace" parameter. You would need to put a pause after sending each character. There's a pause routine in the same object that you can use.
Gracias
You need to learn to program in Spin. I suggest you start with the "sticky threads" at the top of the thread list in this forum. The Propeller Education Kit Labs are a good introduction even if you have some other Propeller "board". There are other beginner's references there too. The Propeller Tool also has a copy of the Propeller Manual as part of its help files. Most of the objects in the Object Exchange have a demo program (including BS2_Functions) to help you get started. The source code for the objects themselves usually include documentation in the form of comments for each public method call.