All Projects → Anobium → Great-Cow-BASIC-Demonstration-Sources

Anobium / Great-Cow-BASIC-Demonstration-Sources

Licence: other
Demonstration files for Great Cow BASIC - a compiler for Microchip and AVR 8-bit microcontrollers

Programming Languages

C#
18002 projects
c
50402 projects - #5 most used programming language
assembly
5116 projects
HTML
75241 projects
Makefile
30231 projects
Visual Basic .NET
514 projects

Projects that are alternatives of or similar to Great-Cow-BASIC-Demonstration-Sources

Blog
A set of various projects based on ESP8266, ESP32, ATtiny13, ATtiny85, ATtiny2313, ATmega8, ATmega328, ATmega32, STM32 and more.
Stars: ✭ 198 (+1000%)
Mutual labels:  avr, microcontroller
c64adventures
Adventures into retro 8 bit Commodore 64 programming
Stars: ✭ 14 (-22.22%)
Mutual labels:  8bit, 8-bit
IntrOS
Free cooperative operating system (OS) for microcontrollers
Stars: ✭ 38 (+111.11%)
Mutual labels:  avr, microcontroller
terminal
Terminal inside the microcontroller (cli for mcu)
Stars: ✭ 31 (+72.22%)
Mutual labels:  avr, microcontroller
font8x8-rs
8x8 monochrome bitmap fonts for rendering. Implemented in Rust.
Stars: ✭ 15 (-16.67%)
Mutual labels:  8bit, 8-bit
Avr8js
Arduino (8-bit AVR) simulator, written in JavaScript and runs in the browser / Node.js
Stars: ✭ 102 (+466.67%)
Mutual labels:  avr, microcontroller
jsfxr
JavaScript sound effects generator.
Stars: ✭ 120 (+566.67%)
Mutual labels:  8bit, 8-bit
Attinycore
Arduino core for ATtiny 1634, 828, x313, x4, x41, x5, x61, x7 and x8
Stars: ✭ 974 (+5311.11%)
Mutual labels:  avr, microcontroller
ersatz80
Z80+ARM=BUGS
Stars: ✭ 13 (-27.78%)
Mutual labels:  microcontroller, 8bit
avr-ds18b20
AVR library for controlling DS18B20 temperature sensors
Stars: ✭ 52 (+188.89%)
Mutual labels:  avr, microcontroller
Reactorforge
High power induction heating platform
Stars: ✭ 90 (+400%)
Mutual labels:  avr, microcontroller
xForth
Experimental Forth cross compiler for tiny devices
Stars: ✭ 53 (+194.44%)
Mutual labels:  avr, microcontroller
Avr Cheat Sheet
AVR cheat sheet for the ATmega328p
Stars: ✭ 64 (+255.56%)
Mutual labels:  avr, microcontroller
Xpcc
DEPRECATED, use our successor library https://modm.io instead
Stars: ✭ 177 (+883.33%)
Mutual labels:  avr, microcontroller
Tinygo
Go compiler for small places. Microcontrollers, WebAssembly (WASM/WASI), and command-line tools. Based on LLVM.
Stars: ✭ 9,068 (+50277.78%)
Mutual labels:  avr, microcontroller
DemOS
Free, simple, extremely lightweight, stackless, cooperative, co-routine system (OS) for microcontrollers
Stars: ✭ 18 (+0%)
Mutual labels:  avr, microcontroller
Platformio Core
PlatformIO is a professional collaborative platform for embedded development 👽 A place where Developers and Teams have true Freedom! No more vendor lock-in!
Stars: ✭ 5,539 (+30672.22%)
Mutual labels:  avr, microcontroller
Minicore
Arduino hardware package for ATmega8, ATmega48, ATmega88, ATmega168, ATmega328 and ATmega328PB
Stars: ✭ 546 (+2933.33%)
Mutual labels:  avr, microcontroller
libavrutil
Easy to use, lightweight and unified library for performing common microcontroller tasks
Stars: ✭ 21 (+16.67%)
Mutual labels:  avr, microcontroller
DigiOS
Mini OS emulator for Digispark (an Attiny85 based microcontroller).
Stars: ✭ 46 (+155.56%)
Mutual labels:  avr, microcontroller

Great-Cow-BASIC

This GIT contains the latest user contributed demonstrations.

The baseline set of demonstrations was created at version 0.98.xx of the Great Cow BASIC distrubution.

Please add your demonstrations and improve those that have been posted.

Enjoy

Documentation of Demonstration Programs

Key Point: Try to provide a complete reference, describing all relevant aspects of the demonstration, and putting code-related terms in code font.

When you are documenting a demonstration, provide a complete reference, typically generated from source code using documentation comments that describe all public constants, methods, local constants, and other variables.

Use the basic guidelines in this document as appropriate for the Great Cow BASIC language.

This page also does not cover libraries. The style suggestions below may be useful to keep in mind while documenting Great Cow BASIC demonstrations. Libraries are covered by a Library Developer Guide.

Overall Program Layout

This is the standard program. This is included in every Great Cow BASIC installation. See IDE/Snippets.


'''A program  for GCGB and GCB the demonsations......
'''--------------------------------------------------------------------------------------------------------------------------------
'''This program [todo] a decription of the demonstration
'''
'''@author     [todo]
'''@licence    GPL
'''@version    [todo]
'''@date       [todo]
'''********************************************************************************

; ----- Configuration
 #chip [todo]
 #config [todo]
 #include [todo]

 #option explicit
 
; ----- Constants
  ' No Constants specified in this example.
  ' [todo]

; ----- Define Hardware settings
  ' [todo]

; ----- Variables
  ' No Variables specified in this example. All byte variables are defined upon use.
  ' [todo]

; ----- Quick Command Reference:
  [todo]

; ----- Main body of program commences here.

end
; ----- Support methods.  Subroutines and Functions

The template should be completed with the sections marked [todo] being updated as appropiate.

The header is strict. Great Cow Graphical BASIC and Great Cow BASIC test routines use the header to determine parameters and key information.

Language Style

It is Great Cow BASIC always not any variant.

The license is for Great Cow BASIC and not any other variant.

Do not use slang and do not use contractions - for example use do not do not use don't. Great Cow BASIC users may not have English as their first language.

Use microcontroller not part, chip, pic or any other variant.

Method Support for Peripheral Programming Support (PPS)

The PPS method needs to go at the top of the program.

The PPS method must show the version of the PPSTool used to generate the method.

Porting to another microcontroller is easier as the user can locate the PPS method and modify or remove.

Coding Good Practice

The Great Cow BASIC demonstration must provide a description for each of the following:

  • Every constant, variable, etc.
  • Every method, with a description for each parameter, the return value, and any exceptions thrown.

#option explicit should be used to ensure all variables are defined.

Variables should be defined to respresent the variable type such as myADCValueByte, myOutPutString etc.

Placing a Do forever-loop at the end of the program is a good practice. Serial transmission can be messed up if the program executes ‘end’ before the completion of a serial transmssion.

All serial communications need to be at 9600 BPS. Assume a standard dumb terminal with no suport for ANSI etc.

Enjoy

Change log.

  1. First release. A dump of an email to this document.
  2. Added Strict header
  3. Fixed some typos
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].