remove debug code
This commit is contained in:
1 parent
9b86315239
commit
8cb712c377
2 files changed
+3
-1
No files matched your search
@@ -71,6 +71,7 @@ HardwarePWM::HardwarePWM(NRF_PWM_Type* pwm)
|
||||
for(int i=0; i<MAX_CHANNELS; i++) _pwm->PSEL.OUT[i] = 0xFFFFFFFF;
|
||||
}
|
||||
|
||||
#if 0
|
||||
void HardwarePWM::printInfo(void)
|
||||
{
|
||||
PRINT_HEX( (uint32_t) _pwm);
|
||||
@@ -97,6 +98,7 @@ void HardwarePWM::printInfo(void)
|
||||
}
|
||||
Serial.println();
|
||||
}
|
||||
#endif
|
||||
|
||||
void HardwarePWM::setResolution(uint8_t bitnum)
|
||||
{
|
||||
|
||||
@@ -83,7 +83,7 @@ class HardwarePWM
|
||||
bool writePin (uint8_t pin, uint16_t value, bool inverted = false);
|
||||
bool writeChannel(uint8_t ch , uint16_t value, bool inverted = false);
|
||||
|
||||
void printInfo(void);
|
||||
// void printInfo(void);
|
||||
};
|
||||
|
||||
extern HardwarePWM PWM0;
|
||||
|
||||
Reference in new issue
Block a user