-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmicropython.txt
32 lines (25 loc) · 1.14 KB
/
micropython.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
Welcome to minicom 2.6.1
OPTIONS: I18n
Compiled on Feb 11 2012, 18:56:01.
Port /dev/ttyACM0
Press CTRL-A Z for help on special keys
About execute /boot.py
Teensy3.1 Boot
Done executing /boot.py
About execute '/src/main.py'
"fix-2014-01-14" version of Micro Python run on a Teensy3.1
Testing for KPU Physics
Welcome to Micro Python!
This is a *very* early version of Micro Python and has minimal functionality.
Specific commands for the board:
pyb.info() -- print some general information
pyb.gc() -- run the garbage collector
pyb.delay(<n>) -- wait for n milliseconds
pyb.Led(<n>) -- create Led object for LED n (n=0)
Led methods: on(), off()
pyb.gpio(<pin>) -- read gpio pin
pyb.gpio(<pin>, <val>) -- set gpio pin
Done executing '/src/main.py'
Micro Python for Teensy 3.1
Type "help()" for more information.
>>>