could someone tell me the basics (i,e. overview of commands) for writing programs for Basic atom pro, along with other necessary things? I am trying to learn how to make basic programs, and am very confused.
Any help will be great
droideka227
could someone tell me the basics (i,e. overview of commands) for writing programs for Basic atom pro, along with other necessary things? I am trying to learn how to make basic programs, and am very confused.
Any help will be great
droideka227
Your best bet is to buy the starter kit āwhatās a microcontrollerā from Parallax that will take the raw beginner and walk them through all the basics. You will learn how to program code to respond to input circuits such as photo sensors, push buttons, potentiometers and other circuits.
The basic stamp code is different than the Basic Atom Pro, but the basic concept is the same. Going from a stamp to a atom pro is fairly easy since the atom is about 90-95% the same as the stamp.
Asking for an overview of the basic commands is a tall order for a forum post. I would recommend you study the programming manual instead.
forums.basicmicro.net/viewtopic. ⦠1f8a83032a
After you read up and develop smart questions we will be here to answer them.
I agree with Mike that the Parallax kit is one good way to get started. Likewise there are probably several starter tutorials that are on the web. Things like: seattlerobotics.org/gettingstarted.php. So you may want to check to see if there are any local clubs or resources at your school to help you.
But in addition to all of that, there are many people up on this forum who started out the same way and who like to help out.
I believe that you have a Brat, which is a great little robot. There is also a lot of code that you can download to run on your brat. A great way to learn is to look through some of that code and try to understand what it is doing. But please note, that some of this code is somewhat complex so donāt expect to understand all of it at first. Also as much of this code is contributed, it unfortunately the much of the code does not contain a lot of comments to help describe what is going on. I donāt remember which version of the brat you have (PS2 or Autonomous?). Luckily most of the code is common.
For the fun of it, I downloaded the abrat1.bas and made a few minor edits of it and added some comments to try to make it easier to read. Still could take a few more passes at it . I tried compiling it, but there appears to be a new bug in the compiler and: gethservo
does not compile on my current version on on a Bap28ā¦
In case anyone wants to look at itā¦
EDIT/Update: The GetHservo command has been replaced by two new commands in current versions of studio. Made edit to use it. Need to test on Brat!!!
Kurt
abrat1.bas (15.6 KB)
Yeah, ive seen this kit, but was unsure whether or not it uses the same script as Basic Atom pro
thank you
droideka 227
There is no reason for you to buy a parallax processor, especially if you already have one of our kits. Itās common for folks here to suggest the stamp as a starter kit or for someone with little to no experience, but I think you should have been asked a few staging questions first. The Atoms use the same syntax, but they are not identical. The biggest differences will be in newer commands, or hardware based commands that the Stamps just canāt do. If you are just starting out and want to learn, the stamp route may be fine for you. But if you want to get a kit that uses the Atom Pro it might be a big waste getting the stamp first.