Shop OBEX P1 Docs P2 Docs Learn Events
programming basicstamps II from realbasic (mac) — Parallax Forums

programming basicstamps II from realbasic (mac)

ArchiverArchiver Posts: 46,084
edited 2001-12-04 15:00 in General Discussion
hi,
anybody tried to program a Basic Stamp II with realbasic?

rens

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2001-10-24 20:15
    On Wednesday, October 24, 2001, at 01:34 PM, vrrv wrote:

    > hi,
    > anybody tried to program a Basic Stamp II with realbasic?
    >
    > rens

    You can't, without more info on how the Basic Stamp works. Ditto
    with SuperCard and CodeWarrior.

    That said, you *can* easily communicate with the programmed
    stamp from within any Mac application that can read and write
    data to the serial port. You just can't program it because
    there's no public API for doing so.

    -Chilton
  • ArchiverArchiver Posts: 46,084
    edited 2001-11-07 13:03
    am 24.10.2001 20:15 Uhr schrieb Chilton Webb unter chilton@t...:

    > You can't, without more info on how the Basic Stamp works. Ditto
    > with SuperCard and CodeWarrior.
    >
    > That said, you *can* easily communicate with the programmed
    > stamp from within any Mac application that can read and write
    > data to the serial port. You just can't program it because
    > there's no public API for doing so.
    >
    > -Chilton

    in a message i got from the RealBasic nug i could read:

    > Somewhere there must be documentation for PBASIC including the tokenized
    > version (probably some kind of byte codes). You could start looking for that
    > now so that when you're ready to take on the big challenge you'll already
    > have most of the information you will need.

    but it seems that there is no way to parsing and sending some ASCII to the
    Basic stamp.

    excuse my naive question - just a visual artist - trying to adopt my wishes
    to control some artistic ideas to my very limited programming (only
    realbasic) knowledge.

    yours rens
  • ArchiverArchiver Posts: 46,084
    edited 2001-11-07 13:45
    On Wednesday, November 7, 2001, at 07:03 AM, vrrv wrote:

    >> Somewhere there must be documentation for PBASIC including the
    >> tokenized
    >> version (probably some kind of byte codes). You could start
    >> looking for that
    >> now so that when you're ready to take on the big challenge
    >> you'll already
    >> have most of the information you will need.
    Well, this is the assumption I made as well. Unfortunately, it
    turns out that this is not the case, or at least as far as I
    know. Now, as I understand it, someone HAS written a book
    covering this, but I haven't checked that out yet. But--this
    won't be easy. Even if you have the tokenized equivalents of
    code, you'll have to write your compiler. RB is a good tool for
    that, just don't expect it to run RB code straight out of the
    box. You'll need to do some work (but again, it's possible).

    >
    > but it seems that there is no way to parsing and sending some
    > ASCII to the
    > Basic stamp.
    Actually this is a snap. No idea how hard it is in RB, as I
    could never get RB's serial code to work right, (but that was
    several versions ago). This is quite trivial using any terminal
    app on the Mac and is made even easier under OSX, where the
    serial port is a device you write to, just like a disk.

    However, the problem is #1 above.

    > excuse my naive question - just a visual artist - trying to
    > adopt my wishes
    > to control some artistic ideas to my very limited programming (only
    > realbasic) knowledge.
    >
    Hey, the Mac needs a good visual client to the stamp. More power to ya!

    -Chilton
  • ArchiverArchiver Posts: 46,084
    edited 2001-11-08 16:04
    am 07.11.2001 14:45 Uhr schrieb Chilton Webb unter chilton@t...:

    > Hey, the Mac needs a good visual client to the stamp. More power to ya!
    >
    > -Chilton

    thanks, i keep on trying. i will inform you, if i have any success

    rens
  • ArchiverArchiver Posts: 46,084
    edited 2001-11-10 12:55
    his is a very interesting subject !

    The best thing to do would be to do it without using virtualPC nor the
    keyspan PDA adapter. This way, it will run on OSX, using a USB port.
    Best of luck to Rens, Chilton and all the other people working on it!
    Please, let me know if it works, because I want to be the first one to buy
    it!

    JNT
  • ArchiverArchiver Posts: 46,084
    edited 2001-11-13 13:56
    am 10.11.2001 13:55 Uhr schrieb Jean No
  • ArchiverArchiver Posts: 46,084
    edited 2001-12-02 15:28
    --- In basicstamps@y..., Jean No
  • ArchiverArchiver Posts: 46,084
    edited 2001-12-02 20:13
    Huh?

    >>if you navigate internet you'll realize that 99.99% of forums, tips,
    support, free software, etc. are for PC world

    forums - no platform
    tips - no platform
    support - no platform
    free software - OK. Got that one.

    Even Lego Mindstorms has Macintosh software.
    http://www.lego.com/dacta/robolab/default.htm

    If there's a Basic Stamp Editor for Mac, I'll use it. And now with XP
    not running under DOS, why shouldn't there be? There should be Linux
    version as well!


    _________________________________________________________
    Do You Yahoo!?
    Get your free @yahoo.com address at http://mail.yahoo.com
  • ArchiverArchiver Posts: 46,084
    edited 2001-12-04 10:52
    > If you are a beginner with basic stamps and digital electronic my
    > best suggestion to you is to buy a PC.

    One is quite enough !

    > Yes, I know that this could sound offensive for MAC users, but if you
    > navigate internet you'll realize that 99.99% of forums, tips,
    > support, free software, etc. are for PC world, so you will have
    > thousands of tools to use...

    Nice... is it a good reason ?

    And what about this message from : Jon Williams, Applications Engineer,
    Parallax (Tue, 4 Sep 2001)

    > What's next? We're porting our compiler (the portion that actually converts
    > PBASIC source to tokens) from 80x86 assembly language to C. We will license
    > this to developers so that native PBASIC tools for Mac, Linux and other
    > operating systems become possible. Stay tuned.

    Regards
    --
    JNT running on PPC G4DP/ Mac OS 9.1 /MacOSX /VPC win98
    email : jnthimonier@m... or jnt@s...
  • ArchiverArchiver Posts: 46,084
    edited 2001-12-04 15:00
    Ok guys these are MY reasons to use PC for electronics.

    Most of the compilers need a PC EMULATOR to run on Macs ($150+$other
    devices)

    With that money I can buy an older PC (NOT a Pentium III) with parallel port
    card and/or serial card. I never use serial or parallel ports included in
    motherboard, I always buy and insert independent port cards. ¿The reason? If
    I make erroneous connections, I prefer to blow up the card ($5 bucks)
    instead the motherboard.

    Of course this forum is for basic stamps, but if you are getting fun doing
    electronics, probably there will come the time when you will need more power
    than stamps, then an old computer will do it better by far than any
    microcontroller. I had got old computers for $25 (twenty five)

    If something blows up ¿Who cares?

    I prefer this instead of been waiting for the companies to develop compilers
    for my Mac "some of this days". I want to get fun NOW.

    This is a very good reason.

    Original Message
    From: Jean Noël Thimonier <jnt00@f...>
    To: <basicstamps@yahoogroups.com>
    Sent: Tuesday, December 04, 2001 4:52 AM
    Subject: [noparse][[/noparse]basicstamps] Re: programming basicstamps II from realbasic (mac)


    >
    > > If you are a beginner with basic stamps and digital electronic my
    > > best suggestion to you is to buy a PC.
    >
    > One is quite enough !
    >
    > > Yes, I know that this could sound offensive for MAC users, but if you
    > > navigate internet you'll realize that 99.99% of forums, tips,
    > > support, free software, etc. are for PC world, so you will have
    > > thousands of tools to use...
    >
    > Nice... is it a good reason ?
    >
    > And what about this message from : Jon Williams, Applications Engineer,
    > Parallax (Tue, 4 Sep 2001)
    >
    > > What's next? We're porting our compiler (the portion that actually
    converts
    > > PBASIC source to tokens) from 80x86 assembly language to C. We will
    license
    > > this to developers so that native PBASIC tools for Mac, Linux and other
    > > operating systems become possible. Stay tuned.
    >
    > Regards
    > --
    > JNT running on PPC G4DP/ Mac OS 9.1 /MacOSX /VPC win98
    > email : jnthimonier@m... or jnt@s...
    >
    >
    > To UNSUBSCRIBE, just send mail to:
    > basicstamps-unsubscribe@yahoogroups.com
    > from the same email address that you subscribed. Text in the Subject and
    Body of the message will be ignored.
    >
    >
    > Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
    >
    >
Sign In or Register to comment.