Sometimes the error messages bear no relation to the actual error.
Try changing serout 2,n9600,(2)
to serout 2,n9600,[2]
Sometimes the error messages bear no relation to the actual error.
Try changing serout 2,n9600,(2)
to serout 2,n9600,[2]
Keith
www.diyha.co.uk
www.kat5.tv
yeah i know what you mean. It's always handy to have English(United State) driver installed too. Just need to press Shift+Alt to switch between language
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Hi,Originally Posted by lerameur
For once one can say it's the Keyboard's error ...
Mhhhh, have something against French Goose liver, Sauternes, Camembert, Cognac, ... and so on ...
Ahhhh, I see ... that was just a "glitch" ...
Alain
PS: In French, as I've read here, your should be called " Le Ramier " ... and not "Lerameur" ....
LOL !!!!
************************************************** ***********************
Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
************************************************** ***********************
IF there is the word "Problem" in your question ...
certainly the answer is " RTFM " or " RTFDataSheet " !!!
*****************************************
wow shift-alt, thats cool.
I am still confused about one part. The default selection from the compiler is great but very specific for me. Lets say you are using the Pic16F877, with port A, B, C,D,
I then use the command serout, IS there a problem using the exact port?
Ex: serout portC.2,N9600,[3]
instead of 2,N9600,[3] . ( by which I know the pin number, but I dont know the port)
For me it looks like its taking a random port, obviously , the one by default...
ken
Hi Ken,Originally Posted by lerameur
No it's better to specify PortA or PortB or . . . than just serout 2,N9600. I have only seen serout 2,N9600 used as port B, I think it is a throwback to PBasic and not the pro that still works in Pro,maybe for basic stamps, the PBasic cannot use the Pro sytax which allows you to specify the port. I only use the full name of ports so I do not allow myself to get sloppy, I am not a good enough programmer to ALLOW sloppy, I think generally speaking you can serout on any "I/O" pin which can be made digital, possible exception A.4 or 5 and IT may work with ext. pullup.
Joe
I was programing in serial and it di dnot work, then I saw another command serout2, decided to use it, and just by adding the 2 it works.. I am only doing one signal, why would this one work and not the other ? using the F88,
serout2 PORTB.2,n9600,[2]
ken
Bookmarks