Illumination: explain cc_test function
This commit is contained in:
parent
0f36232e45
commit
8d31397110
1 changed files with 8 additions and 0 deletions
|
|
@ -179,6 +179,14 @@ float multi_read(uint8_t pin, uint16_t reads)
|
|||
return total/reads;
|
||||
}
|
||||
|
||||
/*This is a test function used for debugging the CC driver.
|
||||
* A wire has to be soldered to one side of the feedback resistor R16
|
||||
* and connected to A0 on the header. This will then go through CC settings
|
||||
* and measure voltage on the feedback resistor (i.e. current).
|
||||
*
|
||||
* This is really only useful for anyone modifying the hardware
|
||||
* or CC driver communication.
|
||||
*/
|
||||
void cc_test()
|
||||
{
|
||||
analogReadResolution(12);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue