Skip to content

Latest commit

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

NeBasicUNO

A very very basic basic for the Arduino Uno

Upload Open Code.c and upload it to the Arduino using Arduino IDE or similer

Commands

CommandSyntaxDescription
PRINT / ?PRINT <expr>Prints a variable (A-Z) or literal integer.
LETLET <A-Z> = <expr>Assigns an integer or variable value to a target variable.
VARSVARSDisplays all non-zero assigned variables.
CLEARCLEARResets all variables (A-Z) to 0.
HIGHHIGH <pin>Sets a digital pin mode to OUTPUT and drives it HIGH.
LOWLOW <pin>Sets a digital pin mode to OUTPUT and drives it LOW.
TOGGLETOGGLE <pin>Inverts the current digital state of a pin.
READREAD <pin>Configures a pin to INPUT_PULLUP and prints state (0 or 1).
AREADAREAD <pin>Reads and returns the raw ADC value from an analog pin.
AWRITEAWRITE <pin> <val>Emits PWM signal (0-255) on a supported pin.
TONETONE <pin> <freq>Generates a square wave of specified frequency (Hz) on a pin.
NOTONENOTONE <pin>Stops frequency generation on a pin.
DELAYDELAY <ms>Pauses execution for the specified milliseconds.
RANDRAND <var> <max>Stores a random value from 0 to max - 1 into target variable.
PEEKPEEK <addr>Reads and displays the byte stored at a raw memory address.
POKEPOKE <addr> <val>Writes a byte directly to a raw memory address.
FREEFREEOutputs remaining available SRAM in bytes.
HELPHELPPrints quick command syntax summary.

If you create a PR or Issue, I'm probably not going to see so I recommend just making a fork

About

A very very basic basic for the Arduino Uno

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages