Algo

Páginas: 39 (9696 palabras) Publicado: 1 de julio de 2012
Flyport Programmer's Guide
Framework version 2.1
release 1.2

Flyport Programmer's Guide

[this page has intentionally been left blank]

2

Flyport Programmer's Guide

Flyport Overview ............................................................................................................................... 5
Flyport Hardware.......................................................................................................................... 5
Flyport Bootloader ......................................................................................................................... 6
The Serial Bootloader ................................................................................................................ 6
Controlling the FlyportHardware ................................................................................................... 7
Digital Inputs and Outputs............................................................................................................ 7
Digital I/Os Functions ................................................................................................................ 9Remappable Pins .......................................................................................................................... 12
Remappable Pins Functions .................................................................................................... 14
Analog Inputs............................................................................................................................... 15
Analog Inputs Functions ......................................................................................................... 16
PWMs ............................................................................................................................................ 17
Using PWM with Flyport........................................................................................................ 18
Serial Communication (UART) .................................................................................................. 20
UART Functions ....................................................................................................................... 21
I2C Communication Protocol..................................................................................................... 23
I2C Functions ........................................................................................................................... 23
I2C Functions Usage Library Example ................................................................................. 23
Using the TCP/IP Stack................................................................................................................... 26
Managing the Wi-Fi ..................................................................................................................... 26
The Connection Profiles .......................................................................................................... 26
Connection Functions.............................................................................................................. 28
Customizing Network Parameters at Runtime ..................................................................... 31
Wi-Fi Functions and Variables ............................................................................................... 32
TCP Protocol................................................................................................................................ 34
TCP Functions .......................................................................................................................... 34
TCP Usage ................................................................................................................................. 37
UDP Protocol...
Leer documento completo

Regístrate para leer el documento completo.

Conviértase en miembro formal de Buenas Tareas

INSCRÍBETE - ES GRATIS