Skip to content
Henry Crute edited this page Jan 21, 2015 · 5 revisions

ESP8266 Documentation

##The newer ESP-03
Image

##The older ESP-V091
Image

###Using the function queue

  1. The queue is an array of type os_event_t
  2. The queue length is the size of the array
  3. The priority is the unique priority ID when entering the queue
  4. The function name is the name of the function that executes
  • system_os_task(function_name, priority, queue, queue_length);

After calling the task function, it executes the function once and is remembered by the queue;

Subsequent calling of this function called function_name is done by

  • system_os_post(priority, 0, event_argument);

The event argument is something you will use as you pass it in to your function_name. If you don't need an event argument, then you pass in 0

Clone this wiki locally