elevator v1.0.0 Output View Source

A module that passes button presses and floor changes as messages, abstracting away the polling of memory-mapped IO to fit into the message-passing paradigm.

Link to this section Summary

Functions

Returns a specification to start this module under a supervisor.

Initilializes the Supervisor by starting up tasks for monitoring all the buttons and the floor sensor.

Starts a Supervisor for the polling tasks. To be used in a supervision tree.

Link to this section Functions

Returns a specification to start this module under a supervisor.

See Supervisor.

Initilializes the Supervisor by starting up tasks for monitoring all the buttons and the floor sensor.

Starts a Supervisor for the polling tasks. To be used in a supervision tree.