Become a subscriber (Free)

Join 29,000 other subscribers to receive subscriber sale discounts and other free resources.
:
:
Don't worry -- youre-mail address is totally secure. I promise to use it only to send you MicroZine.

PIC BASIC: GCBASIC FREE PIC BASIC for PIC microcontrollers

GCBASIC stands for Great Cow Basic why was it was named like this?...

I just don't know...

Anyway GCBASIC is a basic compiler for PIC microcontrollers and it is an open source project meaning that you can see all the source code and modify it if you want to (subject to keeping the existing license - basically any mods you make are subject to the same license).  

Note: They are also looking for some help in adding routines and documentation so if you find it useful why not add some yourself?

Open GCBASIC Site (for instructions and downloads).

The download links at that site do not work
The correct link to the GCBASIC download is:

http://www.sourceforge.net/projects/gcbasic/

(Hit the 'Download' drop down button).



GCBASIC is a true PIC Microcontroller compiler and not an interpreter so it means you can write fast code while still retaining the user friendliness of BASIC.  

Some benefits of this BASIC:

  • It's based on the syntax of QBASIC/FreeBASIC.
  • It can be assembled and run on almost all 10, 12, 16 and 18 series chips

It's not a polished integrated tool and there's no real IDE (although there is a user contributed one) that is quite basic but functional.

Note: There is information for setting up an editor for one button push hex file generation (the same as a commercial IDE - I have not tried this yet but  it looks promising).

I/O capabilities:

  • Standard 2x16 LCD routines
  • Routines for on-chip A/D, PWM, SPI, EEPROM and Timers
  • RS232 communications - rates between 300 and 19200 bps with user configurable parity, start and stop bits.
  • PS/2 keyboard reading
  • 4x4 Keypad

Output 

The GCBASIC compiler takes your basic program and generates an assembler output which you need pass through an assembler to get your desired hex file which you can then use in the normal way.



Jump from PIC BASIC GCBASIC to
Best-Microcontroller-Projects Home Page

New! Comments

Have your say about what you just read! Leave me a comment in the box below.



Privacy Policy | Contact | About Me

Site Map | Terms of Use



Visit our Facebook Page:
To Visit Click Here


Recent Articles

  1. AD9833 a versatile easy to use signal generator on a chip

    Find out how to use the AD9833 to generate sine, square and triangle waves at 0.1Hz resolution.

    Read more

  2. How to use an arduno Nano as an ISP (In System Programmer)

    Arduino Nano ISP: How to program an ATmega328P using an Arduino Nano as the ISP programmmer. One common problem: Programming a sketch into the chip without a reset control - solved here.

    Read more

  3. Arduino Voltage Reference Capabilities

    Arduino Voltage reference: Both the Uno and Nano have a built-in voltage reference: Find out how to make it more accurate. In addition find out how to use it to measure the supply voltage 1V8 ~ 5V5

    Read more

  4. Arduino EEPROM - how it works and how to use it - with examples.

    Arduino EEPROM: How to use it and How to preserve the life of EEPROM. Two examples sketches to save multiple values to EEPROM.

    Read more

  5. How to use the ADS1115

    A tutorial on using the ADS1115 precision 16 bit ADC for low power use.

    Read more

  6. The TP4056: Lithium Ion/polymer Battery Charger IC

    Learn how to use the TP4056 properly. There's a right, and a wrong way, to use it to safely charge Lithium Ion batteries.

    Read more

Readers Comments

"I wanted to thank
you so so so much
for all the information
you have provided in
your site it's

SUPERB and FANTASTIC."

- Ranish Pottath

"This site really is
the best and my favorite.
I find here many useful
projects and tips."

- Milan

bursach<at>gmail.com<

"Awesome site,
very, very easy and nice
to navigate!"


- Matt
matt_tr<at>
wolf359.cjb.net


Learn Microcontrollers

"Interested in
Microcontrollers?"

Sign up for The
Free 7 day guide:

FREE GUIDE : CLICK HERE


"I am a newbie to PIC
and I wanted to say
 how great your
site has been for me."


- Dave

de_scott<at>bellsouth.net

"Your site is a great
and perfect work.
congratulations."


- Suresh

integratredinfosys<at>
yahoo.com

"I couldn't find the correct
words to define
yourweb site.

Very useful, uncovered,
honest and clear.

Thanks so much for
your time and works.
Regards."


- Anon

Back to Top