newbie BS2/Linux question
Oldbitcollector (Jeff)
Posts: 8,091
So I'm sitting here with a BS2 & Professional Development Board w/Ubuntu.
{I'm a Propeller head normally}
I'm using ZiC's PBASIC Compiler and have the following code working perfectly.
I'm curious why the following example did not work from Wamv?
It looks like I don't have the right file being loaded at program launch.
(I'm selecting tokenizer.so at the message I can't load the library message.)
Or it simple doesn't support the line '{$PBASIC 2.5}
Pretty straightforward stuff so far, even with my non-standard Linux setup.
I can see why you guys are addicted to this thing. [noparse]:)[/noparse]
Where should I go from here to have PBASIC 2.5 properly supported? Different tokenizer?
Thanks
OBC
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
New to the Propeller?
Check out: Protoboard Introduction , Propeller Cookbook 1.4 & Software Index
Updates to the Cookbook are now posted to: Propeller.warrantyvoid.us
Got an SD card connected? - PropDOS
{I'm a Propeller head normally}
I'm using ZiC's PBASIC Compiler and have the following code working perfectly.
'{$STAMP.BS2} LOOP: DEBUG "Hello World!" HIGH 14 PAUSE 1000 LOW 14 PAUSE 1000 GOTO LOOP
I'm curious why the following example did not work from Wamv?
'What's a Microcontroller - LedOnOff.bs2 'Turn an LED on and off. Repeat 1 time per second indefinitely. '{$STAMP BS2} '{$PBASIC 2.5} DEBUG "The LED connected to Pin 14 is blinking!" DO HIGH 14 PAUSE 500 LOW 14 PAUSE 500 LOOP
It looks like I don't have the right file being loaded at program launch.
(I'm selecting tokenizer.so at the message I can't load the library message.)
Or it simple doesn't support the line '{$PBASIC 2.5}
Pretty straightforward stuff so far, even with my non-standard Linux setup.
I can see why you guys are addicted to this thing. [noparse]:)[/noparse]
Where should I go from here to have PBASIC 2.5 properly supported? Different tokenizer?
Thanks
OBC
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
New to the Propeller?
Check out: Protoboard Introduction , Propeller Cookbook 1.4 & Software Index
Updates to the Cookbook are now posted to: Propeller.warrantyvoid.us
Got an SD card connected? - PropDOS
Comments
Perhaps I will need to dig a bit and write up a solution to this issue when I figure it out.
Additional question that "might" help my quest...
Is PBASIC 2.5 a recent upgrade to the language? If so, how recent?
Thanks guys!
OBC
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
New to the Propeller?
Check out: Protoboard Introduction , Propeller Cookbook 1.4 & Software Index
Updates to the Cookbook are now posted to: Propeller.warrantyvoid.us
Got an SD card connected? - PropDOS
Post Edited (Oldbitcollector) : 2/3/2009 4:43:05 PM GMT
PBASIC 2.5 is a enhanced version of 2.0 where we added additional commands for practical functionality.· We added it about 6 to 7 years ago.·
Regarding the Linux issue, I honestly have no experience with it.· I do know that there was a member listed in the "Completed Projects" forum that developed a Linux based editor for the BASIC Stamp under a different version of Linux.·
Dave
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Dave Andreae
Parallax Tech Support·
I'll take a look at "Completed Projects" and see if I can run it down. Thanks for the tip!
OBC
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
New to the Propeller?
Check out: Protoboard Introduction , Propeller Cookbook 1.4 & Software Index
Updates to the Cookbook are now posted to: Propeller.warrantyvoid.us
Got an SD card connected? - PropDOS
http://www.linuxforums.org/forum/linux-programming-scripting/115217-basic-stamp-microcontroller.html
Dave
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Dave Andreae
Parallax Tech Support·
That conversation seems recent enough.. I'm betting since I have communication, it
must be the tokenizer file itself. I'll first try the file from that package and see if I'm
suddenly able to use the existing editor, if not follow the whole instruction and report back.
OBC
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
New to the Propeller?
Check out: Protoboard Introduction , Propeller Cookbook 1.4 & Software Index
Updates to the Cookbook are now posted to: Propeller.warrantyvoid.us
Got an SD card connected? - PropDOS
supported is the latest Basic Stamp BS2px (the special px-commands only, other programs are working however
but the baudrates are different: programming at 19200, debugging at 38400).