资源简介
arduino常用的库文件
代码片段和文件信息
//************************************************************************
//* Arduino Test Suite
//* (C) 2010 by Mark Sproul
//* Open source as per standard Arduino code
//*
//* This library is free software; you can redistribute it and/or
//* modify it under the terms of the GNU Lesser General Public
//* License as published by the Free Software Foundation; either
//* version 2.1 of the License or (at your option) any later version.
//*
//* This library is distributed in the hope that it will be useful
//* but WITHOUT ANY WARRANTY; without even the implied warranty of
//* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
//* Lesser General Public License for more details.
//************************************************************************
//* Aug 31 2010 Started on TestArduino
//* Oct 18 2010 Added memory testing
//************************************************************************
#include
#include
#include
#include “ArduinoTestSuite.h“
#include “WProgram.h“
#include “HardwareSerial.h“
#include “pins_arduino.h“
#include “avr_cpunames.h“
#if defined(USART3_RX_vect)
#define SERIAL_PORT_COUNT 4
#elif defined(USART1_RX_vect)
#define SERIAL_PORT_COUNT 2
#else
#define SERIAL_PORT_COUNT 1
#endif
//************************************************************************
enum
{
ATS_Manufacturer = 1
ATS_CPU
ATS_GCC_version
ATS_LIBC_version
ATS_CompiledDate
ATS_TestSuiteName
ATS_FreeMemory
};
unsigned long gTestStartTime;
short gTagIndent;
int gYotalErrors;
int gTestCount;
prog_char gTextMsg_Manufacturer[] PROGMEM = “MANUFACTURER“;
prog_char gTextMsg_CPUname[] PROGMEM = “CPU-NAME“;
prog_char gTextMsg_GCC_VERSION[] PROGMEM = “GCC-Version“;
prog_char gTextMsg_AVR_LIBC[] PROGMEM = “AVR-LibC-Ver“;
prog_char gTextMsg_COMPILED_DATE[] PROGMEM = “Compiled-date“;
prog_char gTextMsg_TEST_SUITE_NAME[] PROGMEM = “Test-Suite-Name“;
prog_char gTextMsg_memoryUsage[] PROGMEM = “Free-memory“;
prog_char gTextMsg_dotdotdot[] PROGMEM = “... “;
prog_char gTextMsg_ok[] PROGMEM = “ok“;
prog_char gTextMsg_FAIL[] PROGMEM = “FAIL“;
prog_char gTextMsg_spaceEqual[] PROGMEM = “ = “;
prog_char gTextMsg_info[] PROGMEM = “info.“;
prog_char gTextMsg_dashLine[] PROGMEM = “--------------------------“;
prog_char gTextMsg_DigitalRW[] PROGMEM = “DigitalReadWrite_“;
prog_char gTextMsg_PWMoutput[] PROGMEM = “PWMoutput_“;
prog_char gTextMsg_AnalogInput[] PROGMEM = “AnalogInput_“;
//************************************************************************
void Serial_print_P(prog_char *flashMemStr)
{
char theChar;
int ii;
ii = 0;
#if (FLASHEND > 0x10000)
while (theChar = pgm_read_byte_far(flashMemStr + ii++))
#else
while (theChar = pgm_read_byte_near(flashMemStr + ii++))
#endif
{
Serial.print(theChar
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 16194 2010-12-24 15:48 libraries\ArduinoTestSuite\ArduinoTestSuite.cpp
文件 1873 2010-12-24 15:48 libraries\ArduinoTestSuite\ArduinoTestSuite.h
文件 7067 2010-12-24 15:48 libraries\ArduinoTestSuite\avr_cpunames.h
文件 1927 2010-12-24 15:48 libraries\ArduinoTestSuite\examples\ATS_Constants\ATS_Constants.pde
文件 2386 2010-12-24 15:48 libraries\ArduinoTestSuite\examples\ATS_Delay\ATS_Delay.pde
文件 2024 2010-12-24 15:48 libraries\ArduinoTestSuite\examples\ATS_General\ATS_General.pde
文件 2965 2010-12-24 15:48 libraries\ArduinoTestSuite\examples\ATS_SD_File\ATS_SD_File.pde
文件 3432 2010-12-24 15:48 libraries\ArduinoTestSuite\examples\ATS_SD_Files\ATS_SD_Files.pde
文件 3299 2010-12-24 15:48 libraries\ArduinoTestSuite\examples\ATS_SD_Seek\ATS_SD_Seek.pde
文件 1394 2010-12-24 15:48 libraries\ArduinoTestSuite\examples\ATS_Skeleton\ATS_Skeleton.pde
文件 3187 2010-12-24 15:48 libraries\ArduinoTestSuite\examples\ATS_StringIndexOfMemory\ATS_StringIndexOfMemory.pde
文件 5934 2010-12-24 15:48 libraries\ArduinoTestSuite\examples\ATS_StringTest\ATS_StringTest.pde
文件 5937 2010-12-24 15:48 libraries\ArduinoTestSuite\examples\ATS_ToneTest\ATS_ToneTest.pde
文件 5595 2016-11-09 17:06 libraries\BalanceCar\BalanceCar.cpp
文件 1106 2016-11-09 17:05 libraries\BalanceCar\BalanceCar.h
文件 14514 2016-11-09 17:04 libraries\BalanceCar\examples\bst_abc\bst_abc\bst_abc.ino
文件 12176 2016-11-09 17:03 libraries\BalanceCar\examples\bst_abc\bst_abc.ino
文件 17791 2012-09-03 21:25 libraries\DallasTemperature\DallasTemperature.cpp
文件 5972 2010-02-17 09:15 libraries\DallasTemperature\DallasTemperature.h
文件 4326 2009-12-02 15:08 libraries\DallasTemperature\examples\Alarm\Alarm.pde
文件 3931 2009-12-02 16:16 libraries\DallasTemperature\examples\AlarmHandler\AlarmHandler.pde
文件 4727 2009-12-02 15:21 libraries\DallasTemperature\examples\Multiple\Multiple.pde
文件 928 2009-12-02 15:50 libraries\DallasTemperature\examples\Simple\Simple.pde
文件 3992 2009-12-02 16:00 libraries\DallasTemperature\examples\Single\Single.pde
文件 3653 2009-12-02 15:33 libraries\DallasTemperature\examples\Tester\Tester.pde
文件 1290 2010-02-17 09:13 libraries\DallasTemperature\keywords.txt
文件 1850 2010-02-17 09:21 libraries\DallasTemperature\README
文件 18664 2017-06-28 14:38 libraries\DallasTemperature.zip
文件 1653 2012-02-21 10:54 libraries\DFR_Key\DFR_Key.cpp
文件 529 2012-02-21 10:54 libraries\DFR_Key\DFR_Key.h
............此处省略1081个文件信息
相关资源
- arduino超声波避障小车
- D1开发板学习资料例程.rar
- STM32F4xx Lib
- arm架构下的boost库文件
- OLED原理图、说明、程序51、stm32、Ar
- Linux 下编译好的liblas库文件,包含了
- rfid技术与Arduino开发
- arduino高级开发权威指南(第二版)
- win32控制台与arduino通信
- Arduino-esp32_SoundRecorder.zip
- arduino_libraries库函数大全
- opencv3.2交叉编译出来的库文件
- 常用arduino电路原理图
- Visual Micro(visual for arduino)
- 餐厅管理系统源码+数据库文件
- 8x8x8光立方PC端上位机软件+arduino下位
- 编译FFmpeg3.2.2生成的库文件及头文件
- ardublock 中文版
- 基于Arduino开源平台的WIFI视频监控小车
- linux下mediainfo和依赖库文件
- Arduino Bluetooth RC Car_v1.7_apk
- OLED驱动库、例程、取字软件与资料
- pcb封装 各种晶振封装 包括3d显示
- Arduino.Computer.Vision.Programming
- GrblController中文版
- Arduino-Scratch课程
- snort 2.8规则库文件
- 常用dxp库文件包含51单片机
- 毕业论文管理系统源代码+数据库文件
- OA系统项目完整源码+数据库文件
评论
共有 条评论