First put all the commands on individual lines. You’ll never be able to tell where the error is if you have multiple comand on the same line.
Then actually post the exact error messages your are getting. Just kind of throwing out an “I’m having problems but not gona tell ya” question is kind of pointless.
Yes we could go find your file on the website(hopefully), download it and try compiling it ourselves, but we are here to help you on our free time/for fun. You should be as helpful as you can be if you really want your problem solved. Include the WHOLE program or a link to it as well.
There is no problem with multiple commands on a single line. It works great. What Nathan is trying to say is, when troubleshooting, it is helpful to put only one command on each line. This way the IDE can show you which instruction the problem is in, not just the line with many instructions.
The main thing you need to check when porting Atom programs to Pro when servos are involved is that the Atom has 1uS resolution and the Pro has .5uS resolution. You have to double the values to get the same position with a servo.
A pulsout of 1000 on an Atom is 1000uS, or 1mS.
A pulsout of 1000 on a Pro is 500uS, or .5mS.
A pulsout of 2000 on a Pro is 1000uS, or 1mS.