SinelaboreRT Header Logo

SinelaboreRT

As simple as possible, but not any simpler!

User Tools

Site Tools


wiki:examples:light_controller

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
wiki:examples:light_controller [2012/10/20 18:13] – [State Machine Design] pmuellerwiki:examples:light_controller [2019/12/09 20:00] (current) pmueller
Line 27: Line 27:
  
  
-  * ''+''''Code Text'' There is a person+  * ''+'' There is a person
   * ''-'' There is no person   * ''-'' There is no person
   * ''t'' Ambient brightness low (twilight, night)   * ''t'' Ambient brightness low (twilight, night)
Line 38: Line 38:
 The files ''gui.c/h'' realizes the keyboard handling. In the file  light_trace.c a simple trace function was realized to trace the event flow. Main.c calls the state machine and checks the keyboard for new events. All other files are automatically generated from the state machine as shown above. The files ''gui.c/h'' realizes the keyboard handling. In the file  light_trace.c a simple trace function was realized to trace the event flow. Main.c calls the state machine and checks the keyboard for new events. All other files are automatically generated from the state machine as shown above.
  
-To test the machine type in e.g.:          +  ... (repeat 20 times) +  -+To test the machine type in e.g.:   ''o        +  ... (repeat 20 times) +  -''
  
  
Line 56: Line 56:
  
 Have fun! Have fun!
 +
 +
 +~~DISCUSSION|Leave your comments~~
 +
 +
 +{{tag>[Application_Example]}}
 +
  
wiki/examples/light_controller.1350749609.txt.gz · Last modified: 2012/10/20 18:13 by pmueller

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki