-
Notifications
You must be signed in to change notification settings - Fork 2
Eric's Weekly Progress Reports
Date Posted: 11/21/2016
Last Week: Wrote LED blinking routine for one of the LEDs Handled button presses during polling routine.
Next Week: Write LED blinking routine for the other 3 LEDs Sample frequency_voltage input (Will need a working sensor) Adjust output voltage (Will need a working sensor) Fix third PWM output
Problems/Issues: In order to do the sampling of the frequency_voltage, I need a working sensor board. The analog read should be trivial, but I need to get an idea of how the signal fluctuates in order to develop a plan to extract a meaningful value.
==========================================
Date Posted: 11/14/2016
Last Week: Completed PWM Code. Reduced some redundancies in code.
Next Week: Write the following code: Handle button presses during polling routine Write LED blinking routine Sample frequency_voltage input Adjust output voltage
Problems/Issues: I was going to allow frequency change by passing a value into the "PWN_On" routines, but it didn't work. I believe it has to do with how I was handling the register locations (probably missing an offset), but decided to omit that feature for the time being. Will re-think this feature only if it becomes necessary. As a work-around, will have to manually adjust the bit settings in the PWM.c file. Specifically, altering these bits: define PS_B2 0 define PS_B1 1 define PS_B0 0