can BS2 code use with delphi programming
WoodChild
Posts: 1
i am using basic stamp 2 editor, but i am coding a main program using delphi language, and i would like to use the delphi to access basic stamp language. is it posible? how can i do it,is there anyone that know this? please give some help. i am doing the lighting control staff, and would like to use my main program code in delphi to control the volume and the on/off on the light on basic stamp..
Comments
You can't "call" the Stamp like you would a subroutine. What you need to do is use an asynchronous serial communications facility within Delphi, to input and output information to and from the Stamp. The Stamp will use its SERIN and SEROUT commnads to transfer information as well, back to the Delphi program. You will be responsible for setting up whatever "command" and "data" protocols you will need, for the Stamp to take whatever actions you wish it to take. In others words, this is a roll-your-own environment except for the information transfer means.
Regards,
Bruce Bates