HarryChavarro / arduino-pwm-frequency-library

Automatically exported from code.google.com/p/arduino-pwm-frequency-library
1 stars 0 forks source link

NO PWM.cpp shown when adding to library #3

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
PWM folder (contains)
     keywords.txt
     PWM.h
     utility

PWM_lib_example(contains)
         PWM_lib_example.ino

PWM_lib_resolution_example(contains)
        PWM_lib_resolution_example.ino

Header in above sketch show #include <PWM.h>  PWM is blue!!! No PWM.cpp Shown

Attempting to compile shows:

PWM_lib_resolution_example.ino: In function 'void setup()':
PWM_lib_resolution_example:39: error: 'InitTimersSafe' was not declared in this 
scope
PWM_lib_resolution_example.ino: In function 'void 
demonstrateFrequencysEffectOnResolution()':
PWM_lib_resolution_example:52: error: 'SetPinFrequency' was not declared in 
this scope
PWM_lib_resolution_example:54: error: 'Timer1_GetFrequency' was not declared in 
this scope

using V5 on a Mac OS Mavericks  Arduino 1.0.5

I am a newbie, PWM shows in Contributed and when I click on it nothing happens, 
I assume that the <PWM.h> should not be blue but browny/red as per normal.

IS this a missing CPP? I have tried V4 and just keep bashing my head, its 
bleeding

Many thanks for your kind attention

I have even tried this on a Windows * machine, same issues

Original issue reported on code.google.com by vigilant...@btinternet.com on 27 Oct 2014 at 5:03

GoogleCodeExporter commented 8 years ago
Just copy the files and folder in PWM folder and paste them out of this folder.

Original comment by ishz...@gmail.com on 25 Nov 2014 at 6:36