例程
核心功能
使用核心功能,需要懂基本语法来进行一些简单的编程。
以下例程,在IDE的“文件”—“示例“菜单中可以直接打开。
2.数字
-
-
-
-
-
-
-
-
Tone4:在多个扬声器上使用tone功能连续播放不同音乐
4.通讯
这些例程包含了使用OCROBOT和PROCESSING通讯的代码. 详见processing.org。
-
-
-
Graph: 发送数据到电脑通过Processing把它画出来
-
-
-
-
7.传感器
ADXL3xx: Read an ADXL3xx accelerometer.
Knock: Detect knocks with a piezo element.
Memsic2125 : Two-axis acceleromoter.
Ping: Detecting objects with an ultrasonic range finder.
8.显示
Examples of basic display control
LED Bar Graph: How to make an LED bar graph.
Row Column Scanning: How to control an 8×8 matrix of LEDs.