GCBASIC documentation

The GCBASIC development team @ 2024


Table of Contents

Introducing GCBASIC
Using GCBASIC
PIC users and Beginners: Start Here
Changes
Command Line Parameters
Frequent errors
A Glossary
Frequently Asked Questions
Troubleshooting
Compiler Insights
Libraries Overview
Acknowledgements
Tricks and Tips
UNO as ISP programmer
Microcontroller Fundamentals
Inputs/Outputs
Configuration
USB Drivers Installer
Variables
Data Types
Variable Types
Advanced VariableTypes
Variable Memory Allocation
Syntax
Arrays
Comments
Line Continuation
Conditions
Constants
Functions
Labels
Lookup Tables
Miscellaneous
ReadTable
Scripts
Subroutines
Converters
Command References
Analog/Digital conversion
Bitwise
Memory
Flow control
Fixed Voltage Reference
Interrupts
Keypad
Graphical LCD
Touch Screen
Liquid Crystal Display
Pulse width modulation
Random Numbers
7-Segment Displays
One Wire Devices
Serial Communications
PS/2
SPI
I2C Software
I2C/TWI Hardware Module
Sound
Timers
Variables Operations
String Manipulation
Miscellaneous Commands
Maths
Peripheral Pin Select
Compiler Directives
#asmraw
#chip
#config
#DEFINE
#UNDEFINE
#if
#ifnot
#ifdef
#ifndef
#include
#insert
#script
#startup
#mem
Other directives
Compiler Options
#Option Explicit
#Option NoConfig
#Option Bootloader
#Option NoContextSave
#Option NoLatch
#Option Required
#Option Volatile
#Option ReserveHighProg
Using Assembler
Assembler Overview
Macros
Macros Overview
Example Macros
Example Programs
Flashing LEDs and an Interrupt
Flashing LED with timing parameters
Generate Accurate Pulses
Graphical LCD Demonstration
InfraRed Remote
Midpoint Circle Algorithm
I2C Master Hardware
I2C Slave Hardware
RGB LED Control
Serial/RS232 Buffer Ring
Trigonometry Circle
Graphical GCBASIC
Code Documentation
Windows .NET Support
GCBASIC for Linux
Overview - Linux Operating System
Make ASM, Make HEX and Programming Operations using the provided Linux scripts
GCBASIC for ARM & Pi
Overview - Raspberry Pi
GCBASIC for Apple macOS
Overview - Apple macOS GCBASIC
GCBASIC for FreeBSD
Overview - FreeBSD GCBASIC
GCBASIC Maintenance and Development
GCBASIC Maintenance
Development Guide
Development Guide for GCBASIC.EXE compiler
ABOUT GLCD Library Support
Development Guide for GCBASIC Preferences Editor
GCBASIC with the AVRISP or MKII Programmer
Setup an AVRISP MKII or USBtinyISP for ATTINY10 chip under Windows