baudrate.java

来自「tinyos-2.0源代码!转载而已!要的尽管拿!」· Java 代码 · 共 24 行

JAVA
24
字号
/** * This file contains the default baud rate for current TinyOS * platforms. Don't add anything but platform entries, as this file is also * #included in C code to get the table, with appropriate #define's to * avoid problems...*/package net.tinyos.packet;class BaudRate {    static void init() throws Exception {	/* The Platform.x argument is there for when this code is #include'd	   into C */	Platform.add(Platform.x, "mica",       19200);	Platform.add(Platform.x, "mica2",      57600);	Platform.add(Platform.x, "mica2dot",   19200);	Platform.add(Platform.x, "telos",      115200);	Platform.add(Platform.x, "telosb",     115200);	Platform.add(Platform.x, "tmote",      115200);	Platform.add(Platform.x, "micaz",      57600);	Platform.add(Platform.x, "eyes",       115200);	Platform.add(Platform.x, "intelmote2", 115200);    }}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?