Zilog ZUSBOPTS Manual de usuario Pagina 30

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 59
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 29
UM025603-0814 Demonstrate the ZED World of Sensors Shield
Zilog Educational Shields
User Manual
23
In contrast to the ZED Test Shield, the ZED World of Sensors Shield includes six sensor-
related commands. To view a list of parameters for each command, enter a command fol-
lowed by the
? symbol. Table 4 describes all of the ZED WoS Shield’s shell commands
shown in Figure 19.
Figure 19. The WoS Shield Command List
Table 4. ZED World of Sensors Shield Commands
Command Description
? Lists all of the available commands.
Help Lists all of the available Help commands.
Display Displays a command's function; parameters and syntax information; displays a string
on the LCD; temporarily turns off any monitoring; displays the first parameter on line 1
and the second parameter on line 2. Syntax: displays “Hello World”.
Echo Turn echo keystrokes to the console on or off. Syntax: echo on/off.
Getpins Sets the pin(s) to input. Retrieves the pin(’s) values for specified port(s). Syntax: get-
pins PX [HexNumber] , in which Hex Number is the value specifying the pins to get;
defaults to all pins.
Setpins Sets pin(s) to output and sets the pin(’s) values for a specified port. Syntax: setpins PX
[HexNumber] ON|OFF, in which Hex Number is the value specifying the pins to set.
getadc Sets the port to alternative function then reads the ADC value from requested ADC
0–11. Syntax: getadc xx, in which xx is the ADC number 0–11.
Vista de pagina 29
1 2 ... 25 26 27 28 29 30 31 32 33 34 35 ... 58 59

Comentarios a estos manuales

Sin comentarios