/*********************************
代码功能:读取某引脚的模拟量串口返回数据
使用函数:
analogRead(引脚号); //调用10位AD
创作时间:2016*10*08
作者邮箱:jikexianfeng@outlook.com
********************************/
int analogTnPin = ;
void setup()
{
Serial.begin();
}
void loop()
{
int sensorValue = analogRead(analogTnPin);
Serial.println(sensorValue);
delay();
}

最新文章

  1. jquery.autocomplete自动补齐和自定义格式
  2. POJ 2528 Mayor's posters (线段树,染色问题,离散化要注意)
  3. 【Cocos2d入门教程七】三分钟看懂Cocos2d坐标系
  4. hdu 1034 Candy Sharing Game
  5. leetcode 题解 || Swap Nodes in Pairs 问题
  6. 如何通过navigator.userAgent判断是哪款浏览器?
  7. C# AOP 面向切面编程之 调用拦截
  8. [Python Study Notes] Python的安装
  9. PySe-007-解决“Chrome正在受到自动软件的控制”
  10. luogu1706全排列
  11. Android 自定义AlertDialog的实现
  12. linux 安装 SVN server
  13. Win7 VS2015编译wxWidgets-3.1.0
  14. 动态创建生成lambd表达式
  15. JavaScript操作BOM对象
  16. Gym - 101981M:(南京) Mediocre String Problem(回文树+exkmp)
  17. Java NIO 的前生今世 之四 NIO Selector 详解
  18. oracle 杀掉当前用户的进程
  19. python作业(第十一周)基于RabbitMQ rpc实现的主机管理
  20. .NET发送请求(get/post/http/https),携带json数据,接收json数据

热门文章

  1. GIT 如何在不提交Commit的情况下切换分支
  2. 转:在centos7上安装memcache
  3. 使用phpqrcode生成二维码
  4. [Spring Boot] Singleton and Prototype
  5. OpenGL ES 3.0片段着色器(四)
  6. js实现双击滚屏效果
  7. 去掉JAVA部分依赖的事例
  8. 使用JAVA的URL类处理url事例
  9. idea 配置maven
  10. 使用Bootstrap+metisMenu完成简单的后台管理界面