Page 468 - ARM Based Microcontroller Projects Using MBED
P. 468
454 INDEX
Nucleo-F411RE development board (Continued) PDLs (see Program description languages
top side of board, 52–55, 54f (PDLs))
UART UMLs, 11–12
block diagram, 328, 328f Pulse width modulation (PWM)
circuit diagram, 328, 328f electronic organ
description, 328 block diagram, 252, 252f
PDL, 329 circuit diagram, 253
program listing, 329–331, 330–332f description, 250–251
Wi-Fi (see Wi-Fi) PDL program, 253, 253f
program listing, 254, 255–256f
O LED
ON/OFF temperature controller description, 254
block diagram, 207, 207f PDL program, 254–256, 257f
circuit diagram, 207–208, 207f program listing, 257, 258f
description, 206 Mbed PWM functions, 245, 246t
ONOFF program, 208, 209–210f melody maker
PDL program, 208, 208f block diagram, 247, 247f
program output, 208, 210f circuit diagram, 247–248, 248f
construction on breadboard, 248, 248f
P description, 247
PC serial interface PDL program, 249, 250f
display control characters, 163–164 program listing, 249, 251–252f
Mbed serial port functions, 163–164, 163t Nucleo-F411RE development board PWM channels,
Nucleo-F411RE development board, 160 245–246
Putty program waveform, 244–245, 245f
activation, 160 PWM. See Pulse width modulation (PWM)
configuration, 162, 162f
Serial option, 160 R
serial port number, 160–162, 161f Reaction Timer
Virtual COMPort, 160, 161f description, 178
USB interface, 160 PDL program, 178, 179f
PDC. See Program development cycle (PDC) program listing, 178–179, 180f
PDLs. See Program description languages (PDLs) Real-time operating system (RTOS)
Polling, 146–147, 147f car park controller project
Preemptive scheduling, 365–366, 366f block diagram, 379, 380f
Printed circuit board (PCB), 10–11, 11f circuit diagram, 379, 380f
Program description languages (PDLs) description, 379
advantage of, 11–12 PDL, 379, 381f
analog pressure sensor, 21b,21f program listing, 379–384, 382–384f
BEGIN-END statement, 12, 12f Mail, 386, 387f
DO-ENDDO statement, 14, 15f memory pools, 384–386, 385f
DO-FOREVER-ENDDO statement, 13, 14f multidigit 7-segment display, 372–374, 373–374f
HEX_NUM and DEC_NUM, 17–18b,19f queues, 384–386, 385f
IF-THEN-ELSE-ENDIF, 12, 13f task scheduling
IF-THEN-ELSE IF-ENDIF, 12, 14f example, 363
IF-THEN-ENDIF statement, 12, 13f multitasking approach, 363
LED, 18b,20f nonpreemptive scheduling, 364–365, 364f
REPEAT-UNTIL statement, 14–15, 16f preemptive scheduling, 365–366, 366f
sequencing and equivalent flow chart, 12, 13f thread LEDA and LEDB
subprogram DISPLAY, 16–17, 16–17f callback function, 370–371, 371–372f
SUM, 18b,20f circuit diagram, 367
Program development cycle (PDC) description, 366
development board, 9–10, 10f LEDAControl termination, 370

