A user created GUI has nothing to do with the basic stamp. It's part of whatever programming language you choose to code in. What you should really be concerned about is how to open a com port in a particular language. Personally, I like Java. It's really easy to make a GUI application, and fairly easy to open a com port. However, if you don't know any programming languages (besides PBASIC), then expect to spend several months learning how to program in a new language.
·SRLM question for you. Ive done a bit of programming in the visual environment, ie c++ and basic studio. Made a few nice panels which do nothing. ·However im a complete novice. What should i be reading or researching to open the ports for interfacing event driven programming??
Is it a completely different area of software and can it be learnt without taking a 4 year degree???????? Any advice?? ·
I believe the visual studios have a block or function to open up a com port (that's the key phrase: "COM port"). The com port is the place where you get and send data from with the microcontroller. The parallax chips appear just like a regular com port, even though they go through USB. It's virtual, but I don't think that matters for you. Anyway, I've been looking for a way to open COM ports with regular C++ code since I don't have VC++, but I haven't really found anything suitable yet. However, in Java, I found a good book called "Building Java Robots".
As with anything, you can learn without formal education. You just need to read. There are lots of beginning programming books, especially for C++ and Java. Take a look online (not at your local bookstore) or at any large electronics store (that has a reasonable programming book section). On the US West coast, we have Fry's. For COM ports in particular, my understanding is that it works just like a stream, so it should (theoretically) be easy.
·Thanks SRLM. The first time i saw the use of a parallel port was at college. We were using c and windows 95. All you had to do was send the port number and command and the external LEd's lit up. However i was informed that after windows 95 all this changed and there was no direct access. I asked countless people who just couldnt give me an answer and as yet i have found no worthwile book either. In the end i gave up.
Hi dalo, the basic Stamp makes extensive use of serial communications for communicating with external devices , look for SERIN and SEROUT in the Pbasic manual and help files.
If you have used Visual C++ you might have noticed a serial port·control in the tool box , setting up communications can be as simple as dragging the control onto a form and writing the code SerialPort1.Open in the code area of a button click event.
If you take a look at the first link Desy2820 posted that thread deals with setting up communications with a Stamp , admittedly it is for Visual Basic but the concept should also be the same for Visual C++.
It won't take four years but it will take a little time to learn , the aforementioned link should give you a quick start.
GUI? Isn't PBASIC 2.5 enough for you?
You should learn programming using code.
Because if you do, you get more control over your robot.
I used GUI, it didn't give the control I wanted over my robot.
So I'd say GUI is just Gooey
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
BWIN ON DA POWAH WIFIN U!!!
He's talking about a screen with user elements to control his robot, not program it. The GUI is the part of the program that the user interfaces with (in non-terminal programs). For example, the calculator could have been implemented to be run and used from the command line. Instead, the designers gave it buttons and a nice appearance. That is a GUI. But no, PBASIC is not enough. He'll need a different language.
Comments
If you don't mind using Microsoft Visual Basic, you can try some of the ideas/code in this thread:
http://forums.parallax.com/showthread.php?p=764584
http://www.siskconsult.com/page7.html··Look for Quicktrol operator interface
Depending on your display needs, and assuming you have Microsoft Excel, you can try:·
PLX DAQ:· http://www.parallax.com/ProductInfo/Microcontrollers/PLXDAQDataAcquisitiontool/tabid/393/Default.aspx
Stamp Plot Pro:· http://www.parallax.com/ProductInfo/Microcontrollers/BASICStampSoftware/StampPlotSoftware/tabid/481/Default.aspx
I hope this helped!
Is it a completely different area of software and can it be learnt without taking a 4 year degree???????? Any advice??
·
As with anything, you can learn without formal education. You just need to read. There are lots of beginning programming books, especially for C++ and Java. Take a look online (not at your local bookstore) or at any large electronics store (that has a reasonable programming book section). On the US West coast, we have Fry's. For COM ports in particular, my understanding is that it works just like a stream, so it should (theoretically) be easy.
If you have used Visual C++ you might have noticed a serial port·control in the tool box , setting up communications can be as simple as dragging the control onto a form and writing the code SerialPort1.Open in the code area of a button click event.
If you take a look at the first link Desy2820 posted that thread deals with setting up communications with a Stamp , admittedly it is for Visual Basic but the concept should also be the same for Visual C++.
It won't take four years but it will take a little time to learn , the aforementioned link should give you a quick start.
Jeff T.
You should learn programming using code.
Because if you do, you get more control over your robot.
I used GUI, it didn't give the control I wanted over my robot.
So I'd say GUI is just Gooey
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
BWIN ON DA POWAH WIFIN U!!!
He's talking about a screen with user elements to control his robot, not program it. The GUI is the part of the program that the user interfaces with (in non-terminal programs). For example, the calculator could have been implemented to be run and used from the command line. Instead, the designers gave it buttons and a nice appearance. That is a GUI. But no, PBASIC is not enough. He'll need a different language.