资源简介
Arduino-OpenCM9.04.zip,opencm 9.04/opencm的软件是指开源控制模块。opencm 9.04:开源控制模块9.04,Arduino是一家开源软硬件公司和制造商社区。Arduino始于21世纪初,深受电子制造商的欢迎,Arduino通过开源系统提供了很多灵活性。
代码片段和文件信息
/******************************************************************************
* The MIT License
*
* Copyright (c) 2010 Bryan Newbold.
*
* Permission is hereby granted free of charge to any person
* obtaining a copy of this software and associated documentation
* files (the “Software“) to deal in the Software without
* restriction including without limitation the rights to use copy
* modify merge publish distribute sublicense and/or sell copies
* of the Software and to permit persons to whom the Software is
* furnished to do so subject to the following conditions:
*
* The above copyright notice and this permission notice shall be
* included in all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED “AS IS“ WITHOUT WARRANTY OF ANY KIND
* EXPRESS OR IMPLIED INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
* MERCHANTABILITY FITNESS FOR A PARTICULAR PURPOSE AND
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
* BE LIABLE FOR ANY CLAIM DAMAGES OR OTHER LIABILITY WHETHER IN AN
* ACTION OF CONTRACT TORT OR OTHERWISE ARISING FROM OUT OF OR IN
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*****************************************************************************/
#include
#include
#include “drv_timer.h“
#include “variant.h“
#include “HardwareTimer.h“
HardwareTimer::HardwareTimer(uint8_t timerNum) {
if (timerNum >= TIMER_CH_MAX) {
tim_num = 0;
}
tim_num = timerNum;
}
void HardwareTimer::pause(void) {
drv_timer_pause(tim_num);
}
void HardwareTimer::resume(void) {
drv_timer_resume(tim_num);
}
void HardwareTimer::stop(void) {
drv_timer_pause(tim_num);
}
void HardwareTimer::start(void) {
drv_timer_resume(tim_num);
}
uint16_t HardwareTimer::setPeriod(uint32_t microseconds) {
drv_timer_set_period(tim_num microseconds);
return 0;
}
void HardwareTimer::attachInterrupt(voidFuncPtr handler) {
drv_timer_attachInterrupt(tim_num handler);
}
void HardwareTimer::detachInterrupt(void) {
drv_timer_detachInterrupt(tim_num);
}
void HardwareTimer::refresh(void) {
drv_timer_refresh(tim_num);
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2019-07-29 03:06 OpenCM9.04-master\
文件 17 2019-07-29 03:06 OpenCM9.04-master\.gitignore
文件 396 2019-07-29 03:06 OpenCM9.04-master\.travis.yml
文件 267 2019-07-29 03:06 OpenCM9.04-master\99-opencm-cdc.rules
文件 11357 2019-07-29 03:06 OpenCM9.04-master\LICENSE
文件 1446 2019-07-29 03:06 OpenCM9.04-master\README.md
目录 0 2019-07-29 03:06 OpenCM9.04-master\arduino\
目录 0 2019-07-29 03:06 OpenCM9.04-master\arduino\opencm_arduino\
目录 0 2019-07-29 03:06 OpenCM9.04-master\arduino\opencm_arduino\examples\
目录 0 2019-07-29 03:06 OpenCM9.04-master\arduino\opencm_arduino\examples\Adafruit_SSD1306\
文件 291226 2019-07-29 03:06 OpenCM9.04-master\arduino\opencm_arduino\examples\Adafruit_SSD1306\Adafruit_GFX_Library.zip
文件 21174 2019-07-29 03:06 OpenCM9.04-master\arduino\opencm_arduino\examples\Adafruit_SSD1306\Adafruit_SSD1306.zip
文件 2459 2019-07-29 03:06 OpenCM9.04-master\arduino\opencm_arduino\examples\Adafruit_SSD1306\Exam_ssd1306_128x64_i2c.zip
文件 1012994 2019-07-29 03:06 OpenCM9.04-master\arduino\opencm_arduino\examples\Adafruit_SSD1306\oled_test_result.png
文件 55691 2019-07-29 03:06 OpenCM9.04-master\arduino\opencm_arduino\examples\Exam_MPU6050.zip
目录 0 2019-07-29 03:06 OpenCM9.04-master\arduino\opencm_arduino\opencm9.04\
文件 33621 2019-07-29 03:06 OpenCM9.04-master\arduino\opencm_arduino\opencm9.04\.cproject
文件 25 2019-07-29 03:06 OpenCM9.04-master\arduino\opencm_arduino\opencm9.04\.gitignore
文件 810 2019-07-29 03:06 OpenCM9.04-master\arduino\opencm_arduino\opencm9.04\.project
文件 1216 2019-07-29 03:06 OpenCM9.04-master\arduino\opencm_arduino\opencm9.04\boards.txt
目录 0 2019-07-29 03:06 OpenCM9.04-master\arduino\opencm_arduino\opencm9.04\bootloaders\
文件 12276 2019-07-29 03:06 OpenCM9.04-master\arduino\opencm_arduino\opencm9.04\bootloaders\opencm_boot.bin
目录 0 2019-07-29 03:06 OpenCM9.04-master\arduino\opencm_arduino\opencm9.04\cores\
目录 0 2019-07-29 03:06 OpenCM9.04-master\arduino\opencm_arduino\opencm9.04\cores\arduino\
文件 2550 2019-07-29 03:06 OpenCM9.04-master\arduino\opencm_arduino\opencm9.04\cores\arduino\Arduino.h
文件 1529 2019-07-29 03:06 OpenCM9.04-master\arduino\opencm_arduino\opencm9.04\cores\arduino\Client.h
文件 1349 2019-07-29 03:06 OpenCM9.04-master\arduino\opencm_arduino\opencm9.04\cores\arduino\HardwareSerial.h
文件 2200 2019-07-29 03:06 OpenCM9.04-master\arduino\opencm_arduino\opencm9.04\cores\arduino\HardwareTimer.cpp
文件 1729 2019-07-29 03:06 OpenCM9.04-master\arduino\opencm_arduino\opencm9.04\cores\arduino\HardwareTimer.h
文件 2851 2019-07-29 03:06 OpenCM9.04-master\arduino\opencm_arduino\opencm9.04\cores\arduino\IPAddress.cpp
文件 2861 2019-07-29 03:06 OpenCM9.04-master\arduino\opencm_arduino\opencm9.04\cores\arduino\IPAddress.h
............此处省略1321个文件信息
相关资源
- 爱上Arduino第3版中文高清版
- Make: Getting Started with Arduino 3rd
- 写字机3d打印模型.zip
- fritzing.2011.12.16.pc.zip
- Arduino esp8266 wifi库 2.4.2版本
- 无线传输传感器数据采集
- 《Arduino机器人制作指南》PDF试读版
- MCUDEV_TFT_1.44吋_液晶屏(例程文件)
- ArduinoLibraries库函数大全
- Arduino技术指南
- Arduino高级开发权威指南原书第2版
- arduino开发实战机器人卷 光盘源码
- Building Arduino Projects for the Internet of
- 四足机器人源码
- Arduino UNO R3+MSGEQ7+RGB灯带.zip
- esp8266 V2.5.2--arduino IDE添加esp8266开发板
- arduino1.0.1中文版
- Arduino编程指南-75个智能硬件程序设计
- Arduino面包板连线绘图软件
- Arduino IDE for esp 8266开发版最新官方安
- 物联网智能家居平台DIY:ARDUINO 物联网
- Arduino六自由度总线机械臂组装,控制
- 按键控制步进电机正反转
- Arduino 中文资料 pdf
- labview温湿度报警器
- arduino激光雕刻机
- 35个ARDUINO制作项目
- Arduino+ESP8266库文件
- solidworks电路板三维,包含arduino2560、
- 智能电子秤arduino+hx711+DS1302+dh11+lcd16
评论
共有 条评论