Articles Posted in the " " Category

  • SoftwareSerial: begin(speed)

    SoftwareSerial: begin(speed)

    描述 设定软体序列介面的鲍率(baud rate)。支援的鲍率有:300、600、1200、2400、4800、9600、14400、19200。 参数 speed:鲍率,型态为 long 回传 无回传值 范例 See also - SoftwareSerial() - read() - print() - println() 函式库参考主页面 The text of the 86Duino reference is a modification of the Arduino reference, and is licensed under a Creative Commons Attribution-ShareAlike 3.0 License. Code samples in the reference are released into the public domain.


  • SoftwareSerial: available()

    SoftwareSerial: available()

    描述 取得软体序列介面目前可读资料的位元组数量。这些可读的资料储存在软体序列的缓冲区(buffer)。 语法 mySerial.available() 参数 无参数 回传 int:软体序列介面目前可读资料的位元组数量 范例 See also - SoftwareSerial() - read() - print() - println() 函式库参考主页面 The text of the 86Duino reference is a modification of the Arduino reference, and is licensed under a Creative Commons Attribution-ShareAlike 3.0 License. Code samples in the reference are released into the public domain.


  • SoftwareSerial(rxPin, txPin)

    SoftwareSerial(rxPin, txPin)

    描述 呼叫 SoftwareSerial(rxPin, txPin) 创建新的 SoftwareSerial 物件。 创建完 SoftwareSerial 物件之后还要呼叫 SoftwareSerial.begin() 启动序列介面的功能。 参数 rxPin:用来接收序列资料的脚位 txPin:用来传送序列资料的脚位 范例 See also - SoftwareSerial.begin() - SoftwareSerial.read() - SoftwareSerial.print() - SoftwareSerial.println() 函式库参考主页面 The text of the 86Duino reference is a modification of the Arduino reference, and is licensed under a Creative Commons Attribution-ShareAlike 3.0 License. Code samples in the reference […]


  • setBand()

    setBand()

    描述 设定连线使用的频段。在这个网页裡有 GSM 频段的资讯,以下为典型的区域设定: -欧洲、非洲、中东:E-GSM(900)+DCS(1800) -美国、加拿大、南美洲:GSM(850)+PCS(1900) -墨西哥:PCS(1900) -巴西:GSM(850)+E-GSM(900)+DCS(1800)+PCS(1900) 语法 band.setBand(type) 参数 type:要使用的频段名称 -GSM_MODE_UNDEFINED -GSM_MODE_EGSM -GSM_MODE_DCS -GSM_MODE_PCS -GSM_MODE_EGSM_DCS -GSM_MODE_GSM850_PCS -GSM_MODE_GSM850_EGSM_DCS_PCS 回传 boolean:如果设定成功回传 true,反之回传 false See also - getBand() 函式库参考主页面 The text of the 86Duino reference is a modification of the Arduino reference, and is licensed under a Creative Commons Attribution-ShareAlike 3.0 License. Code samples in the […]


  • getBand()

    getBand()

    描述 取得目前连线中使用的频段。在这个网页裡有 GSM 频段的资讯,以下为典型的区域设定: -欧洲、非洲、中东:E-GSM(900)+DCS(1800) -美国、加拿大、南美洲:GSM(850)+PCS(1900) -墨西哥:PCS(1900) -巴西:GSM(850)+E-GSM(900)+DCS(1800)+PCS(1900) 语法 band.getBand() 参数 无参数 回传 String:连线中网路的频段名称 -GSM_MODE_UNDEFINED -GSM_MODE_EGSM -GSM_MODE_DCS -GSM_MODE_PCS -GSM_MODE_EGSM_DCS -GSM_MODE_GSM850_PCS -GSM_MODE_GSM850_EGSM_DCS_PCS See also - setBand() 函式库参考主页面 The text of the 86Duino reference is a modification of the Arduino reference, and is licensed under a Creative Commons Attribution-ShareAlike 3.0 License. Code samples in the reference are […]


  • begin()

    begin()

    描述 检查 Arduino GSM shield 的状态并且重新启动。 语法 band.begin() 参数 无参数 回传 int:如果 Arduino GSM shield 状态正常回传 1,如果回传不是 1 ,代表有错误发生 See also - GSMBand - getBand() - setBand() 函式库参考主页面 The text of the 86Duino reference is a modification of the Arduino reference, and is licensed under a Creative Commons Attribution-ShareAlike 3.0 License. Code samples in the […]


  • GSMBand Constructor

    GSMBand Constructor

    描述 GSMBand 类别实作设定和取得 Arduino GSM shield 目前使用频段的功能。 函式 - begin() - getBand() - setBand() 函式库参考主页面 The text of the 86Duino reference is a modification of the Arduino reference, and is licensed under a Creative Commons Attribution-ShareAlike 3.0 License. Code samples in the reference are released into the public domain.


  • CANBus 函式库

    CANBus 函式库

    86Duino IDE 从 Coding 103 开始加入此函式库,用于存取 86Duino One 提供的 CAN bus (Controller Area Network) 通讯介面。 CAN 是一种常见的工业通讯协定,可以支持高安全等级及有效率的即时控制,常被用于各种车辆与自动化设备上。86Duino 内建的 CAN Bus 控制器主要特色如下: 支援 CAN 2.0A 及 2.0B 规范 传输速率最高可达 1 Mbps 支援 standard (11-bit) 和 extended (29-bit) 的 data/remote frame 传输 提供三组 frame buffer 丰富的错误检测及处理机制 为了让 Arduino 使用者更容易上手此函式库,我们在函式库 API 的设计上已尽量与 Wire 函式库 以及 Seeed Studio 的 […]


  • setPinUsed()

    setPinUsed()

    描述 设定 PIN 锁的状态。 语法 pin.setPinUsed(used) 参数 used:传入 true 设定状态为锁上,传入 false 设定状态为没锁上 回传 无回传值 See also - GSMPIN - begin() - isPIN() - checkPIN() - checkPUK() - changePIN() - switchPIN() - checkReg() - getPINUsed() 函式库参考主页面 The text of the 86Duino reference is a modification of the Arduino reference, and is licensed under a Creative Commons […]


  • getPinUsed()

    getPinUsed()

    描述 查询是否有使用 PIN 锁。 语法 pin.getPinUsed() 参数 无参数 回传 boolean:如果有使用 PIN 锁回传 true ,反之回传 false See also - GSMPIN - begin() - isPIN() - checkPIN() - checkPUK() - changePIN() - switchPIN() - checkReg() - setPINUsed() 函式库参考主页面 The text of the 86Duino reference is a modification of the Arduino reference, and is licensed under a Creative […]