Commit Graph
20 Commits
Author SHA1 Message Date
hathach 04c45e13d9 close #105 pwm remove pin
refactor hwpwm sketch
2019-01-10 16:13:04 +07:00
hathach 6d10632e93 fix pin mapping in example for feather nrf52840 2018-12-21 10:49:07 +07:00
hathach d5dc04de03 correct pca10056 pins 2018-11-06 16:11:04 +07:00
hathach 488006a45b add HwPWM3 for nrf52840 2018-11-05 17:00:48 +07:00
hathach 023ba48c2a remove isPinValid() 2018-11-05 15:01:44 +07:00
hathach 4640481d02 update Copyright year to 2018 2018-07-27 16:20:36 +07:00
Brandyn Burbank e61fbe9a68 Allow HardwarePWM::addPin method to return true if _count == MAX_CHANNELS, but pin passed was already configured. Return false if trying to add a new pin more than MAX_CHANNELS. 2017-11-05 18:58:41 -07:00
hathach 739f98b683 add readPin() and readChannel() to hw pwm
ported Servo library (not tested)
2017-07-25 00:38:59 +07:00
hathach f5e23fdaba add setMaxValue() to HW PWM 2017-07-24 23:16:22 +07:00
hathach 720cb0c82e rename HardwarePWM PWMn to HwPWMn to avoid name conflict 2017-07-24 22:16:37 +07:00
hathach 0191a8f384 code clean up 2017-06-30 17:15:38 +07:00
hathach 33a6bb3642 rename PWM begun() to enabled() 2017-04-10 15:15:58 +07:00
hathach a335699296 only enter low power mode waitForEvent() in idle if there is no active PWM 2017-04-09 14:42:26 +07:00
hathach 1f2efb042a relate to #21 2017-03-28 22:15:52 +07:00
hathach 7168d198ef make HardwarePWM compatible with Neopixel DMA 2017-03-28 22:15:22 +07:00
hathach 8cb712c377 remove debug code 2017-03-25 01:49:13 +07:00
hathach 774311e4b8 implement analogWrite() and analogWriteResolution() with HardwarePWM 2017-03-25 01:16:53 +07:00
hathach b77e907702 clean up 2017-03-25 01:01:38 +07:00
hathach 0c5273b1c6 merge begin() and start() 2017-03-25 00:22:09 +07:00
hathach 953c55b218 adding HardwarePWM support 2017-03-24 15:57:47 +07:00