forked from aanon4/BlueBasic
-
Notifications
You must be signed in to change notification settings - Fork 0
CONFIG
ozarchie edited this page Nov 22, 2016
·
7 revisions
CONFIG POWER, <level>
CONFIG MILLIS, <time>
- Set the power mode for BlueBasic board.
This is specific to Tim Wilkinson's board and the on-board power supply. - Set the current millisecond timer.
For example:
1000 CONFIG POWER, 1
2000 CONFIG MILLIS, 1000
Line 1000 above sets the power mode on the TW (Petra) BlueBasic board to Mode 1.
Mode 0: Boost converter is always off
Mode 1: Boost converter if always on
Mode 2: Boost convert is on when awake, off when asleep
Line 2000 above sets the current millisecond time to 1000.