PAC Source Code Listings
|  
 accelerometermodule contains the code that creates an event upon a rising edge from the output of the accelerometer comparator  
 es_port is the part of the framework that we needed to edit in order to run it on the PIC16F1788  
 processdatamodule processes the data received from the lobbyist and helps construct new packets to send based on the data received |  
 analogservice reads and stores the values of all three potentiometers in our PAC  
 main is part of the framework and contains the initialization for many of the ports on the PIC16F1788  
 receivingservice receives and stores the data received from communication with LOBBYISTs |  
 button is an event checker that debounces the button and creates a new event when either of the two buttons in our PAC are pressed  
 pacservice contains the main state machine for our PAC and decides when to send packets to the LOBBYISTs | ||||||||||||||||||||||||||||||||||||||||||||||||
PAC Header Files
|  
  
  
 |  
  
  
 |  
  
 | ||||||||||||||||||||||||||||||||||||||||||||||||
PAC State Charts
PACService State Chart
Receiving State Chart
 
