JavaScript is disabled on your browser. Please enable JavaScript to enjoy all the features of this site.
Great Cow BASIC documentation
Command References
Sidebar
Prev
|
Up
|
Next
Pulse with modulation
PWM Overview
PWMOut
PWMOff
PWMOn
HPWM CCP
HPWM 10 Bit
Hardware PWM Code Optimisation
Contents
Search
Introducing Great Cow BASIC
Using Great Cow BASIC
Changes
Command Line Parameters
Frequently Asked Questions
Troubleshooting
Compiler Insights
Acknowledgements
Microcontroller Fundamentals
Inputs/Outputs
Configuration
Syntax
Arrays
Comments
Conditions
Constants
Functions
Labels
Lookup Tables
Miscellaneous
ReadTable
Scripts
Subroutines
Variables
Converters
Command References
Analog/Digital conversion
Analog/Digital Conversion Overview
ADFormat (Deprecated - Do not use)
ADOff
ReadAD
ReadAD10
ReadAD12
Analog/Digital Conversion Code Optimisation
Bitwise
Bitwise Operations Overview
FnLSL
FnLSR
Eeprom
EPRead
EPWrite
ProgramErase
ProgramRead
ProgramWrite
Hefm
HEFM Overview
HEFreadBlock
HEFRead
HEFwriteBlock
HEFWrite
Flow control
Do
End
Exit
For
Gosub
Goto
If
IndCall
Pause
Repeat
Select
Wait
Interrupts
Interrupts overview
IntOff
IntOn
On Interrupt
On Interrupt: The default handler
Keypad
Keypad Overview
KeypadData
KeypadRaw
Graphical LCD
GLCD Overview
ILI9340 Controllers
KS0108 Controllers
PCD8544 Controllers
SDD1289 Controllers
SSD1306 Controllers
ST7735 Controllers
ST7920 Controllers
ST7920GLCDClearGraphics
ST7920GLCDDisableGraphics
ST7920GLCDEnableGraphics
ST7920GraphicTest
ST7920LineHs
ST7920Locate
ST7920Tile
ST7920cTile
ST7920gLocate
ST7920gTile
ST7920lineh
ST7920linev
ST7920GLCDReadByte
ST7920WriteByte
ST7920WriteCommand
ST7920WriteData
ST7920gReaddata
Box
Circle
FilledBox
FilledCircle
GLCDCLS
GLCDDrawChar
GLCDDrawString
GLCDPrint
GLCDRotate
GLCDReadByte
GLCDTimeDelay
GLCDWriteByte
Line
Pset
Touch Screen
ADS 7843 Serial Driver
Liquid Crystal Display
LCD Overview
LCD_IO 0
LCD_IO 1
LCD_IO 2_74xx164
LCD_IO 2
LCD_IO 2_74xx174
LCD_IO 4
LCD_IO 8
LCD_IO 10
LCD_IO 10 Port Configuration
LCD_IO 12
LCD_IO 12 Port Configuration
LCD_SPEED
CLS
Get
LCDBacklight
LCDCreateChar
LCDCreateGraph
LCDCmd
LCDCursor
LCDHex
LCDHome
LCDDisplayOn
LCDDisplayOff
LCDSpace
LCDWriteChar
Locate
Print
Put
Examples
LCD_IO 2 Example
LCD_IO 4 Example
LCD_IO 8 Example
LCD_IO 10 Example
Pulse with modulation
PWM Overview
PWMOut
PWMOff
PWMOn
HPWM CCP
HPWM 10 Bit
Hardware PWM Code Optimisation
Random Numbers
Overview
Random
Randomize
7-Segment Displays
7 Segment Displays Overview
Common Cathode
Common Anode
DisplayValue
DisplayChar
One Wire Devices
DS18B20
ReadDigitalTemp
ReadTemp
ReadTemp12
Serial Communications
RS232 (software)
RS232 Software Overview
InitSer
SerSend
SerReceive
SerPrint
RS232 (hardware)
RS232 Hardware Overview
HSerGetNum
HSerGetString
HSerPrint
HSerReceive
HSerReceiveFrom
HSerSend
HserPrintByteCRLF
HserPrintCRLF
PS/2
PS/2 Overview
InKey
PS2SetKBLeds
PS2ReadByte
PS2WriteByte
SPI
SPIMode
SPITransfer
I2C Software
I2C Overview
I2CAckPollState
I2CAckpoll
I2CReceive
I2CReset
I2CRestart
I2CSend
I2CStart
I2CStartoccurred
I2CStop
I2C/TWI Hardware Module
HI2C Overview
HI2CAckPollState
HI2CReceive
HI2CRestart
HI2CSend
HI2CStart
HI2CStartOccurred
HI2CMode
HI2CSetAddress
HI2CStop
HI2CStopped
HI2CWaitMSSP
Sound
Sound Overview
Tone
ShortTone
Play
Play RTTL
Timers
Timer Overview
ClearTimer
InitTimer0
InitTimer0 8bit/16bit
InitTimer1
InitTimer2
InitTimer3
InitTimer4
InitTimer5
InitTimer6
InitTimer7
InitTimer8
InitTimer10
InitTimer12
Settimer
StartTimer
StopTimer
Reading Timers
Variables Operations
Using Variables
More on setting Variables and Constants
Setting Variables
Dim
BcdToDec_GCB
DecToBcd_GCB
Rotate
Set
SWAP4
SWAP
String Manipulation
Asc
ByteToBin
Chr
Fill
Hex
Instr
LCase
Left
LeftPad
Len
Ltrim
Mid
Pad
Right
Rtrim
Str
Trim
UCase
Val
WordToBin
Concatenation
Miscellaneous Commands
Dir
Pot
PulseOutInv
PulseIn
PulseOut
Peek
Poke
Weak Pullups
Maths
Abs
Average
Difference
Logarithms
Log2
Loge
Log10
Power
Sqrt
Trigonometry Sine, Cosine and Tangent
Trigonometry ATAN
Peripheral Pin Select
Peripheral Pin Select for Microchip microcontrollers.
UnLockPPS
LockPPS
Compiler Directives
#chip
#config
#define
#if
#ifdef
#ifndef
#include
#script
#startup
#mem
Other directives
Compiler Options
#option bootloader
#option NoContextSave
#option nolatch
#option volatile
Using Assembler
Assembler Overview
Macros
Macros Overview
Example Macros
Measuring a Pulse Width
Implementing a method with a Pin name as a parameter
Example Programs
Flashing LEDs and an Interrupt
Flashing LED with timing parameters
Generate Accurate Pulses
Graphical LCD Demonstration
InfraRed Remote
SonyRemote.h
Midpoint Circle Algorithm
I2C Master Hardware
I2C Slave Hardware
RGB LED Control
Serial/RS232 Buffer Ring
Trigonometry Circle
Great Cow Graphical BASIC
Code Documentation
Windows .NET Support
Great Cow BASIC for Linux
Overview
Search Highlighter (On/Off)