惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Security Latest
Security Latest
D
DataBreaches.Net
The Register - Security
The Register - Security
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
F
Full Disclosure
Engineering at Meta
Engineering at Meta
The GitHub Blog
The GitHub Blog
H
Hackread – Cybersecurity News, Data Breaches, AI and More
P
Proofpoint News Feed
D
Docker
Y
Y Combinator Blog
T
The Blog of Author Tim Ferriss
云风的 BLOG
云风的 BLOG
G
Google Developers Blog
I
InfoQ
H
Help Net Security
MongoDB | Blog
MongoDB | Blog
Recent Announcements
Recent Announcements
L
Lohrmann on Cybersecurity
T
The Exploit Database - CXSecurity.com
Recorded Future
Recorded Future
G
GRAHAM CLULEY
Microsoft Security Blog
Microsoft Security Blog
WordPress大学
WordPress大学
L
LINUX DO - 热门话题
阮一峰的网络日志
阮一峰的网络日志
The Cloudflare Blog
Help Net Security
Help Net Security
雷峰网
雷峰网
W
WeLiveSecurity
GbyAI
GbyAI
N
News and Events Feed by Topic
L
LINUX DO - 最新话题
T
Tailwind CSS Blog
Security Archives - TechRepublic
Security Archives - TechRepublic
V
Vulnerabilities – Threatpost
V
V2EX
Application and Cybersecurity Blog
Application and Cybersecurity Blog
M
MIT News - Artificial intelligence
J
Java Code Geeks
Microsoft Azure Blog
Microsoft Azure Blog
Last Week in AI
Last Week in AI
Hugging Face - Blog
Hugging Face - Blog
Cisco Talos Blog
Cisco Talos Blog
Webroot Blog
Webroot Blog
AI
AI
S
Security @ Cisco Blogs
Jina AI
Jina AI
The Last Watchdog
The Last Watchdog
Google DeepMind News
Google DeepMind News

Arduino

ESP32 设备怎么连接 wap2 企业 WiFi(校园网) - V2EX 好冷清,我来问下初初级问题:入门套件买啥 - V2EX 你们都用什么 ide 去写 arduino? 问下玩 arduino 大佬关于板子的问题 - V2EX 一杯茶一包烟,一个串口调一天…… - V2EX 有没有办法“复制”UART 信号 有懂 arduino 的吗, 求助一个 arduino nano 控制舵机的问题 - V2EX 绝地求生的硬件宏 - 咋实现键盘鼠标监听的? - V2EX 有玩 Arduino 的吗,创建了一个 TG 讨论群 - V2EX 又是我, Arduino UNO R3 学习板到了,开始小白之路,又来请教低级问题了 - V2EX 小白问两个很低级的问题,大佬勿喷 - V2EX 串口 WiFi 透传 DT-06,完美兼容蓝牙 HC-06,可以方便制作 WiFi 小车 - V2EX 出售一个 arduino 小车底盘 - V2EX 有没有支持 Arduino 的便宜机械臂?精度不高即可,用来做原型 - V2EX 基于 ESPDuino 的智慧物联开发宝典 - V2EX Arduino-HTTP 透传使用说明 - V2EX V 友,有玩 Arduino 开发板的吗? - V2EX 吊~~~~~~~~~~~~~ - V2EX [浙江杭州] Android 、ios 高级研发工程师 看过来~~~~~ - V2EX 想免费做一个 PCB 礼物送朋友或者爱人吗?看过来,教你 30 分钟设计一个 PCB 文件。 - V2EX Arduino+ nRF24L01 通信不稳定怎么解决? - V2EX 用 Arduino 做了一个简陋的 Morse 电码机,仅供娱乐 - V2EX 用四个舵机做了一个蓝牙遥控的微型小车 - V2EX 性价比最高的 Arduino WiFi 扩展板 - V2EX Sublime Text 3 + Arduino IDE + Mac 不能 Select Arduino folder 问题解决 - V2EX arduino 总算支持中文输入法了... - V2EX 一个公网 TCP 调试接口给大家 - V2EX Arduino Day 2015 - V2EX eclipse 搭建 Arduino 开发环境 - V2EX Piccolo - the tiny CNC-bot - V2EX 一种简洁的 TCP 协议---用于 Arduino 上 sensors 上传数据至远程服务器端 - V2EX 问,如果我想在整个家中的分散角落装一些 Arduino 的东西,应该如何走线? - V2EX Arduino 的发展方向 - V2EX Arduino和无线通信系列5:通过互联网远程控制Arduino主板的LED灯的开与关 ---------如何利用互联网控制Arduino主板上的LED灯的开和关 - V2EX Arduino和无线通信4:在云端(服务器)处理与展现Arduino采集的数据 ---无线传感网系统(http://demo1.cduino.com/) - V2EX Arduino和无线通信系列3:利用Arduino和wifi将温度传送至云端 ------------如何利用Arduino和wifi将温度传感器的数据上传到服务器端 - V2EX 基于Arduino扩展板的wifi网络串口调试工具:android版,苹果ios, iPhone 版,电脑PC版 - V2EX Arduino和无线通信系列2:基于Arduino扩展板的wifi 模块网络串口调试 -------------如何利用网络串口工具调试wifi模块? - V2EX Arduino和无线通信系列1:Wi-Fi基础 -------------认识Wi-Fi - V2EX Arduino初学系列8:用Arduino和温度传感器测量您周边的温度 ------------如何利用Arduino和温度传感器测量周边的温度 - V2EX Arduino初学系列7:用Arduino制作光控LED灯的亮与灭 -------------如何利用Arduino制作光控LED? - V2EX Arduino初学系列6:Arduino和数码管 -------如何用Arduino来控制数码管显示数字0,1,2,3,4,5,6,7,8,9 - V2EX Arduino初学系列5:Arduino和蜂鸣器 -------用Arduino和蜂鸣器如何模拟警报声 - V2EX Arduino 初学系列4:Arduino与PWM控制LED灯的亮暗连续变化 ----------如何用Arduino控制LED灯的亮暗连续变化 - V2EX Arduino初学系统3:Arduino,按键,LED ---------如何采用Arduino控制器和按键同时控制LED的闪烁 - V2EX Arduino控制多个灯闪烁 -------------Arduino教你写字母V - V2EX Arduino系列教程初学1:如何利用Arduino控制板子上的LED灯不停地闪烁? - V2EX 新的Arduino Linux WIFI板子叫做“云” - V2EX
新手,碰到了一个问题求指点 - V2EX
IanPeverell · 2014-06-04 · via Arduino

新人,最近刚学的Arduino,之前看过谭浩强的C语言(手动斜眼)

今天想联系一下,然后就编了一个程序,结果.......

程序是
const int LED 9
int i = 0;

void setup()
{
pinMode(LED, OUTPUT);
}

void loop()
{
for(i=0; i<255; i++)
{
analogWrite(LED, i);
delay(10);
}

for(i = 255; i > 0; i--)
{
analogWrite(LED, i);
delay(10);
}
}

报错是

sketch_jun04a:1: error: expected initializer before numeric constant
sketch_jun04a.ino: In function 'void setup()':
sketch_jun04a:6: error: 'LED' was not declared in this scope
sketch_jun04a.ino: In function 'void loop()':
sketch_jun04a:11: error: 'i' was not declared in this scope
sketch_jun04a:13: error: 'LED' was not declared in this scope
sketch_jun04a:19: error: 'LED' was not declared in this scope