Introducing GCBASIC

Hello, and welcome to GCBASIC help. This help file is intended to provide you insights and knowledge to use GCBASIC.

For information on installing GCBASIC and several other programs that may be helpful, see Using GCBASIC or the GCBASIC starting guide.

What GCBASIC Offers:

GCBASIC is a free compiler suite for programming Microchip PIC, Atmel/Microchip AVR, and LGT 8-bit microcontrollers, with syntax based on QBASIC/FreeBASIC and support for 1,432 microcontrollers. Three IDEs build on the same underlying compiler: GCStudio (the current, actively developed IDE), the legacy GCBASIC IDE, and the legacy Graphical GCBASIC (a drag-and-drop, icon-based environment for newcomers).

Two further resources worth knowing about:

  • FAQ — answers to common questions
  • Demo Code — example GCBASIC programs on GitHub

If you are new to programming, try the GCBASIC demonstration programs, which explain everything in a step-by-step manner and assume no prior knowledge. Download the GCBASIC demonstrations pack.

If you have programmed in another language, then the demonstration files and this command reference may be the best place to start. See PIC Users and Beginners: Start Here for a short worked example.

If there is anything else that you need help on, please visit the GCBASIC forum.

Where GCBASIC Came From:

GCBASIC was created by Dr. Hugh Considine in 2005, when he was just 12 years old. Hugh built it because the compilers available at the time were hard to use and not free, and he believed a compiler for hobbyist microcontroller programming should be free to everyone, forever. The name itself was his fourth attempt — after BASPIC, Chipmunk BASIC (already taken), and Bear BASIC (dropped once he learned the slang meaning of "bear") — before he and his sister settled on Great Cow BASIC, a name odd enough to be memorable and unclaimed by anyone else.

Graphical GCBASIC grew out of the same original project, as a set of "training wheels" for newcomers: its icons share names with the underlying BASIC commands, so a user can start in the graphical environment and move to text-based GCBASIC whenever they are ready, at their own pace.

In 2013, Evan Venn joined the project as a compiler developer, and has since been one of the driving forces behind GCBASIC’s ongoing development, alongside many other contributors who have added compiler features, libraries, and tools over the years.

GCStudio, the IDE most GCBASIC users write their programs in, is maintained by Angel Mier, who has also contributed to the toolchain’s USB driver installation.

The package is now called GCSTUDIO and the compiler GCBASIC.

We all hope you enjoy using the GCSTUDIO and the toolchain that supports GCBASIC.

See Also: