This repository has been archived by the owner on Aug 27, 2021. It is now read-only.
forked from aanon4/BlueBasic
-
Notifications
You must be signed in to change notification settings - Fork 2
Home
JBtje edited this page Sep 17, 2015
·
64 revisions
Blue Basic is a BASIC interpreter design to run on the Texas Instrument CC2540 and CC2541 Bluetooth chips.
- Overview
- Hardware
- Blue Basic Petra
- Getting started with your own hardware
- Consoles
- Basic BASIC
- Hello World
- Variables
- Loops
- Conditionals
- Subroutines
- I/O Pins
- Pin names and uses
- Using the WIRE command
- Time, delays and timers
- Interrupts
- Power
- Monitoring power
- Managing power
- Using SPI
- Using I2C
- Using Serial/UART
- Bluetooth Low Energy
- Peripheral and Central
- Services, Characteristics and Values
- Connections
- Adverts and Scans
- Observing
- Security
- Other options
- File System
- Examples
- [Simple Bluetooth controlled LED](wiki/Example:-Simple Bluetooth controlled LED)
- iBeacon
- SPI: Communication with MB85RS64V FRAM chip
- SPI: Communication with BMA 180 accelerometer
- Bluetooth advert scanning
- WIRE: Reading the DHT-22 humidity and temperature sensor
- I2C: Communication with DS3231 RTC
- Serial: Echoing characters
FOR
IF
GOSUB
DIM
LIST
MEM -
NEW
RUN
END
GOTO
REM
PRINT
REBOOT
RETURN
AUTORUN
CONFIG -
ABS
LEN !
RND
+
-
*
/
%
&
|
^
>
>=
<
<=
=
==
!=
<<
>>
//
TIMER
MILLIS -
DELAY
PINMODE
RISING -
FALLING -
INTERRUPT -
ATTACH -
DETACH -
SERIAL
SPI
ANALOG
I2C
WIRE
TIMEOUT -
WAIT -
PULSE -
BATTERY
GATT
WRITENORSP -
NOTIFY -
INDICATE -
GATT ONREAD -
GATT ONWRITE -
GATT ONCONNECT
GATT ONDISCOVER -
ADVERT
SCAN
ACTIVE -
DUPLICATES -
BTPOKE
BTPEEK