Sun SPOT Quick Start Tutorial:Changing the Air Text Demo(https://www.sunspotworld.com/docs/Green/Tutorial/ModifyAirText.html)
来源:互联网 发布:中国命案破案率数据 编辑:程序博客网 时间:2024/04/29 18:08
Changing the Air Text Demo
The Air Text demo is easy to change.
First, copy the existing project. Right-click on "AirText" and select "Copy Project" from the menu.
A dialog box will display. Enter a new name for your version of the project:
Make your new project the current project by right-clicking on the project name and selecting "Set Main Project". In the Project window, click on the plus to the left of the project name to expand the project node. Now, expand the "src" node, then the "org.sunspotworld.demo" package. Select "AirTextDemo.java" from the files displayed.
The source code for AirTextDemo.java
will display in the window to the right. Scroll the window on the right down to lines 50 or so. There you will see a series of calls to disp.SwingThis
. Change the string "Hi!" to "Yes!".
Now go through the steps previously outlined to deploy and run the new code. When you deploy, the system automatically saves and compiles your changes.
Unplug the Sun SPOT from the USB cable. Now move it back and forth in the air and see if your changes have made it onto the Sun SPOT and are running.
Congratulations! You have mastered the "Hello, world" application of Sun SPOTs!
Now we would like to show you how the Sun SPOT basestation can be used to connect to the free-range Sun SPOTs.
- Sun SPOT Quick Start Tutorial:Changing the Air Text Demo(https://www.sunspotworld.com/docs/Green/Tutorial/ModifyAirText.html)
- Sun SPOT Quick Start Tutorial:Loading and Running The Air Text Demo (https://www.sunspotworld.com/docs/Green/Tutorial/AirText.h
- Sun SPOT Quick Start Tutorial (https://www.sunspotworld.com/docs/Green/Tutorial/Tutorial.html)
- Sun SPOT Quick Start Tutorial:The Basestation in Action(https://www.sunspotworld.com/docs/Green/Tutorial/Basestation.html)
- Sun SPOT Quick Start Tutorial: Ectoplasmic Bouncing Ball Demo (https://www.sunspotworld.com/docs/Green/Tutorial/EctoplasmicBall
- Frequently Asked Questions of SUN SPOT (http://www.sunspotworld.com/docs/general-faq.php)
- Troubleshooting FAQ (https://www.sunspotworld.com/docs/troubleshooting-faq.php)
- Introduction of SUN SPOT (transshipment from http://www.sunspotworld.com/about/index.php)
- Introduction of SUN SPOT II (transshipment from http://www.sunspotworld.com/about/index.php)
- Slurm Quick Start Tutorial
- http://www.tusc.com.au/tutorial/html/
- Tibco RendezVous quick-start tutorial
- WPF/MVVM Quick Start Tutorial
- WPF - MVVM Quick Start Tutorial
- java Thread(http://java.sun.com/docs/books/tutorial/essential/threads)
- http://www.runoob.com/java/java-tutorial.html
- The Qt Quick Carousel Tutorial
- http://docs.oracle.com/javase/tutorial/index.html examples of java
- Sivlerlight的开发工具 - VS2005还是Blend2?
- 2007中国软件英雄会-七年的等待
- 软件工程师(ASP.NET)面试题
- windows 脚本中心
- 用S60操作系统SDK开发NOKIA手机应用程序(4)- 界面层框架及一些特性
- Sun SPOT Quick Start Tutorial:Changing the Air Text Demo(https://www.sunspotworld.com/docs/Green/Tutorial/ModifyAirText.html)
- 用S60操作系统SDK开发NOKIA手机应用程序-学习笔记(1)
- 用S60操作系统SDK开发NOKIA手机应用程序-学习笔记(2)
- 这人情的债啊
- 2007中国软件英雄会-七年的等待
- 用S60操作系统SDK开发NOKIA手机应用程序-学习笔记(1)
- sourceforge排行榜之web日历---WebCalendar
- jakarta commons-net ftp的例子
- GPS系统研发人员面试题(VC通讯)