“Digispark”的版本间的差异
来自YFRobotwiki
第12行: | 第12行: | ||
Pin outs: | Pin outs: | ||
− | + | * All pins can be used as Digital I/O | |
− | All pins can be used as Digital I/O | + | * Pin 0 → I2C SDA, PWM (LED on Model B) |
− | Pin 0 → I2C SDA, PWM (LED on Model B) | + | * Pin 1 → PWM (LED on Model A) |
− | Pin 1 → PWM (LED on Model A) | + | * Pin 2 → I2C SCK, Analog In |
− | Pin 2 → I2C SCK, Analog In | + | * Pin 3 → Analog In (also used for USB+ when USB is in use) |
− | Pin 3 → Analog In (also used for USB+ when USB is in use) | + | * Pin 4 → PWM, Analog (also used for USB- when USB is in use) |
− | Pin 4 → PWM, Analog (also used for USB- when USB is in use) | + | * Pin 5 → Analog In |
− | Pin 5 → Analog In | + | |
==使用== | ==使用== | ||
[[Digispark控制板使用]] | [[Digispark控制板使用]] |
2016年11月15日 (二) 08:04的版本
Digispark
简介
Digispark是一个基于ATTINY85微控制器的开发板,体积小且价钱便宜,功能方面则没有Arduino般强大。代码与Arduino大同小異,也是使用Arduino IDE开发。
Digispark是Digistump LLC (digistump.com)版权所有,请使用者仔细阅读Digispark使用协议和版权声明
Digispark的特别之处是使用了USB与电脑沟通,省了USB至串口转换器。为此,Digispark必须占用2KB的快闪记忆体(Flash Memory)以便用来安装Bootloader。
硬件
许多现有的库将无法使用
Pin outs:
- All pins can be used as Digital I/O
- Pin 0 → I2C SDA, PWM (LED on Model B)
- Pin 1 → PWM (LED on Model A)
- Pin 2 → I2C SCK, Analog In
- Pin 3 → Analog In (also used for USB+ when USB is in use)
- Pin 4 → PWM, Analog (also used for USB- when USB is in use)
- Pin 5 → Analog In