Backing up an unused program in case of future need

Dependencies:   mbed

explanation.txt

Committer:
andrewboyson
Date:
2018-12-06
Revision:
8:45a0205a298f
Parent:
6:be97d38e0b01

File content as of revision 8:45a0205a298f:

  1      9600
  1 O   14400
  2     19200
  2 O   28800
  4     38400
  4 O   57600
  8     74880
  8 O  115200
 16    153600
 16 O  230400
 32    307200
 32 O  460800
 64    614400
 64 O  921600


main module
===========
Calls each module's init routines then loops through each module's main routines.

uart module
===========
Queues characters received through an interrupt for retrieval at leisure.
Sends characters queued for transmission every scan

esp module
==========
Raw character talking to the ESP 8266.
Sends strings and data to the ESP.
Receives characters from the ESP and treats the following cases:
'\n'            -> sends a completed line
'+IPD,id,len:'  -> reads in length bytes to the relevant id's input buffer
'>'             -> sends the data to the id specified
otherwise       -> adds to the current line

at module
=========
Sends commands
Depends on the esp module.

wifi module
===========
Starts the esp module; doing the auto baud rate detection and logging in if needed.
Depends on the at module.

ntp module
==========
Sends periodic time requests.
Handles received time responses and sets the system time.
Depends on the at module.

1-wire
======
Measured:

480uS reset
 30uS presence pulse starts
120uS presence pulse length

 10uS write 1
 70uS write 0
240uS between writes

 10uS read high
 30uS read low

server module
=============
Responds to http requests
Depends on the at module.

support modules
===============
io   - inputs and outputs
log  - provides logging
time - maintains the system time