Shop OBEX P1 Docs P2 Docs Learn Events
Propeller Servo Controller USB — Parallax Forums

Propeller Servo Controller USB

Klaus GawelczykKlaus Gawelczyk Posts: 9
edited 2013-06-04 10:04 in BASIC Stamp
Hi
I have a problem with the controller (connected to BOE - BS2p), after update the software is the firmware version number does not like "PSC ver: " - (for example 1.0). special "Min" ??? and the controller does not work - see the Attachements
thank you very much for your help
Klaus Gawelczyk

'{$STAMP BS2p}
'{$PBASIC 2.5}
'Identify Firmware Version Number
'Board of Educatin
Sdat PIN 15 ' Serial Data I/O pin
buff VAR Byte(3) ' temporary variable
FindPSC: ' Find and get the version

#SELECT $STAMP
#CASE BS2, BS2E, BS2PE
baud CON 396
#CASE BS2SX, BS2P
baud CON 1021
#CASE BS2PX
baud CON 1646
#ENDSELECT
DEBUG "Finding PSC", CR ' number of the PSC.
SEROUT Sdat, Baud+$8000, ["!SCVER?",CR]
SERIN Sdat, Baud, 500, FindPSC, [STR buff\3]
DEBUG "PSC ver: ", buff(0), buff(1), buff(2), CR
END
578 x 455 - 125K

Comments

Sign In or Register to comment.