Go Down

Topic: PWM frequency library (Read 305952 times) previous topic - next topic

AmmarAl-Gizi

This Library didn't work. The following message was appeared:
 
The library "Arduino PWM Frequency Library v_05" cannot be used.
Library names must contain only basic letters and numbers.
(ASCII only and no spaces, and it cannot start with a number)

Please, I need it!

AmmarAl-Gizi

Hi, could anyone help me?
I have noticed that there's no PWM.cpp file. The library wasn't installed.

Gryskop

You extracted the filename of the zip file directly into your library directory as "Arduino PWM Frequency Library v_05"
You should simply make a directory under libraries and call it PWM for example.
C:\Program Files\arduino-1.8.1\libraries\PWM

Then copy all the stuff in under the PWM directory into this new library PWM directory, and copy PWM_lib_example and PWM_lib_resolution_example into there as well.

It should look like this when your done ...

 Directory of C:\Program Files\arduino-1.8.1\libraries\PWM

11-May-2018  16:49    <DIR>          .
11-May-2018  16:49    <DIR>          ..
16-Aug-2012  16:55             2,208 keywords.txt
24-Sep-2012  15:24             4,873 PWM.h
11-May-2018  14:38    <DIR>          PWM_lib_example
11-May-2018  14:38    <DIR>          PWM_lib_resolution_example
11-May-2018  16:49                 0 showDir.txt
11-May-2018  14:38    <DIR>          utility
               3 File(s)          7,081 bytes
               5 Dir(s)  113,831,374,848 bytes free

frobi

Hello
I like to using this pwm.h librari variable phase shifting arduino between two pwm chanel.
I like the shifing variable 0-180 degrees.

Somebody doing same?

thanks!

Sudipta_mandal94

Cannot compile the code for Atmega8. While I tried compiling for Atmega168, the code uses 2720 bytes of space and compiles successfully and works fine. Anyone please help me.

PlankSpank

post your code if you want help

Go Up