- Created pow_10 function, had to know it this because pow10 is the name of an inbuilt function in math.h
- This function made strictly to calculate integer powers of 10
- Doesn't take up as much space at the built in pow10 function ("I'm assuming")
- Also ensured that ftoa 'rounds' the 'afterpoint' digit instead of just cutting off the numbers after 'afterpoint'
- Major Update - Improved NHD_LCD screen API:
- files (source, header and config) no longer dependent on main.h
- created a handle for the display,
- all functions contain the handle in the parameter list
- user initializes the handle in the beginning of the main function
- Seems to be evidence of issue true linearity of ADC differing from actual linearity:
- Vo set to 2.0V
- Output Voltage - DC Power Supply Value : VVC Value
- 4.00V : 4.0V
- 5.00V : 5.1V
- 6.00V : 6.1V
- 7.00V : 7.1V
- 8.00V : 8.1V
- 9.00V : 9.1V
- 10.00V : 10.2V (infrequently goes down to 10.1V)
- 11.00V : 11.2V
- 12.00V : 12.2V
- 13.00V : 13.2V
- 14.00V : 14.2V
- 15.00V : 15.3V (infrequently goes down to 15.2V)
- 16.00V : 16.3V
- 17.00V : 17.0V (ADC clips at 17.0V)
- Output Voltage - DC Power Supply Value : VVC Value
- Vo set to 2.0V
Ghani Lawal
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.