FastPwmPin
FastPwmPin copied to clipboard
Arduino library to generate a fast PWM signal on an output pin at maximum frequency. Example included.
Hi! First of all, congratulations for this amazing library;) I've tested the following code with an arduino uno and it does not work. May be I missed something... ``` #include...
Hi @maxint-rd, Nice lib. Well done. I do have a suggestion. I think it would be useful to provide a function to disable the pwm once started since setting duty...
Compiling .pio\build\LGT8F328P\FrameworkArduino\wiring_digital.c.o Compiling .pio\build\LGT8F328P\FrameworkArduino\wiring_pulse.S.o Compiling .pio\build\LGT8F328P\FrameworkArduino\wiring_pulse.c.o Compiling .pio\build\LGT8F328P\FrameworkArduino\wiring_shift.c.o Archiving .pio\build\LGT8F328P\libFrameworkArduino.a Indexing .pio\build\LGT8F328P\libFrameworkArduino.a Linking .pio\build\LGT8F328P\firmware.elf D:\Temp\cckrWLid.ltrans0.ltrans.o: In function `main': :(.text.startup+0x10e): undefined reference to `FastPwmPin::enablePwmPin(int, unsigned long, unsigned char)' collect2.exe: error: ld...
Hi, I'm using your code on a 328 with no problem, but would really like to port to an ATTINY1614 using https://github.com/SpenceKonde/megaTinyCore These chips are really good and work very...