Shop OBEX P1 Docs P2 Docs Learn Events
C compiler for BS2 — Parallax Forums

C compiler for BS2

SumanSuman Posts: 19
edited 2007-09-17 20:32 in BASIC Stamp
Hi all,
I am trying to find a C compiler for BS2, I want a compiler which is most economical and also the compiler which is most compatible with BS2.

Suman

Comments

  • Peter VerkaikPeter Verkaik Posts: 3,956
    edited 2007-09-16 16:14
    All the Basic Stamp variants can only be programmed in PBASIC.
    For the sx chips (the mcu used on most basic stamps) there
    is a C compiler, C4SX see this thread:
    http://forums.parallax.com/showthread.php?p=673332

    regards peter
  • BondBond Posts: 1
    edited 2007-09-17 02:31
    If you are serious about C programming you should consider the C Stamp. It also is·a microcontroller but its programmed in a subset of C and it has twice as many pins (48). My favorite part about it is the price. ($44).

    Ill put several links below if you are interested

    Web- http://www.c-stamp.com
    C-Stamp Product Page- http://www.c-stamp.com/CS110000.htm

    I also dont know if you are into robotics but if you are they offer a robotics kit as well:
    http://www.c-stamp.com/CS710001.htm

    -James
  • BenoitBenoit Posts: 47
    edited 2007-09-17 03:04
    Personally, I wouldn't bother with the C-Stamp. I did try it, and found that I could program the chip maybe once every 3 or 4 tries.

    The C4SX is promising, although, it seems extremely complicated to do something with it at the moment.

    Hitech PICC-lite compiler and a good PIC chip is in my opinion easier to work with than the C-Stamp.
    If you want an easy tutorial, try the 123 Pic Microcontroller projects for the Evil Genius.
    I know, I know, it's not the most high tech book, but it gives a really good idea how to start a C project on PIC chips.

    -Benoit
  • smitty760123smitty760123 Posts: 5
    edited 2007-09-17 09:57
    I had the same problem, but the downloader software they released mid July fixed it. Now I am happy with it. What I like the most is that all the fmiliar comands of the Basic Stamp are supported by the C Stamp.
    The problem with programmming a PIC directly is that you have to do a lot of reading getting familiar with the insides of the chip before you can program anything meaningful.
  • blittleblittle Posts: 19
    edited 2007-09-17 20:32
    The arduino can be programmed in C.
    http://www.arduino.cc/
Sign In or Register to comment.