User Tools

Site Tools


wamcontrol_and_wammain

Differences

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

Link to this comparison view

wamcontrol_and_wammain [2019/04/10 13:00]
hutch created
wamcontrol_and_wammain [2019/04/10 13:01] (current)
hutch
Line 12: Line 12:
  
 The function ''​wamControl_init()''​ initializes the state machine as if it was starting for the first time. Use this to initialize the controller state machine before starting the game and when restarting the game when the game is interrupted by pressing one of the push-buttons. There are also a number of other functions associated with the controller state machine as can be seen in ''​wan_control.h''​ file (see below). The function ''​wamControl_init()''​ initializes the state machine as if it was starting for the first time. Use this to initialize the controller state machine before starting the game and when restarting the game when the game is interrupted by pressing one of the push-buttons. There are also a number of other functions associated with the controller state machine as can be seen in ''​wan_control.h''​ file (see below).
 +
 +==== wamMain ====
 +
 +''​wamMain.c''​ is provided in its entirety to you. With one exception, do not modify it, you must use it as is during pass off. It should also provide some insight into how the various functions will be used. The one exception is that you may change the ''#​define''​ values as you see fit, as long as you still meet all of the requirements of the game as described in the Requirements Section.
 +
  
wamcontrol_and_wammain.txt ยท Last modified: 2019/04/10 13:01 by hutch