I want to give the community here a heads up with a problem I am having.
My BAP28 will not accept serial messages on the hardware serial port. It was working before the switch to studio. I uninstalled studio and installed BAP IDE 08.0.1.7 and rechecked its operation, finding that is works with the old IDE.
[code]enablehserial
sethserial h9600,h8databits,hnoparity,h1stopbits
enablehservo
main
lx var long ; left X axis
ly var long ; lefy Y axis
rx var long ; right X axis
ry var long ; right Y axis
btn var long ; buttons
dir var long ; direction pad
servoL var long ; left servo
hserin 300, tmout, [dec3 lx,dec3 ly,dec3 rx,dec3 ry,dec4 dir,dec4 btn]
high p9 ; led 1 status ok
low p8
servoL = (lx -200)*30*2
HSERVO [3\servoL\0]
if btn =3 then
high p9
else
low p9
endif
[/code]
I know a new syntax manual is in the works and improvements are constantly being made to the IDE, I just want to see if anyone else is having the same issues or if the developers are aware of it.
I’m looking forward the the release of the new manual.
Thanks for the help