美文网首页
实例-hello world

实例-hello world

作者: 芝士和辣翅 | 来源:发表于2019-01-27 21:13 被阅读0次

材料:arduino主板、usb接口线

代码:

void setup() {

  // put your setup code here, to run once:

  Serial.begin(9600);//设置波特率为9600

}

void loop() {

  // put your main code here, to run repeatedly:

  Serial.println("Hello world");

}

结果:

tx灯常亮。

在串口监视器里可以看到一直在输出的Hello world。

相关文章

  • 实例-hello world

    材料:arduino主板、usb接口线 代码: void setup() { // put your setup...

  • OC总结

    //输出helle world NSLog(@"hello world"); //实例化类对象 1,Student...

  • Python3 实例(一)

    Python Hello World 实例 以下实例为学习Python的第一个实例,即如何输出"Hello Wor...

  • C++资源库(实例)

    C++ 实例 C++ 实例 - 输出 "Hello, World!" C++ 实例 - 标准输入输出 C++ 实例...

  • Django学习笔记3:前台页面

    从“Hello World”开始 似乎每个编程教程都会由一个类似"Hello World"的实例程序开始,大狗决定...

  • C语言实例教程

    Hello World 实例[http://codingdict.com/article/12577] 整数类型[...

  • PHP替换字符串-str_replace

    实例 把字符串 "Hello world!" 中的字符 "world" 替换为 "Shanghai": 定义和用法...

  • 常用markdown语法

    Hello World! Hello World! Hello World! Hello World! Hello...

  • hello

    hello, world hello, world hello, world hello, world

  • Markdown

    标题: hello world hello world hello world hello world hello...

网友评论

      本文标题:实例-hello world

      本文链接:https://www.haomeiwen.com/subject/yzvnjqtx.html