Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
error compling x.4 rev 747
08-04-2013, 12:36 AM,
#11
RE: error compling x.4 rev 747
(07-04-2013, 08:48 PM)regis Wrote: I have just compiled ir-detector.pde without any error (x.4 rev747). The problem seems to come from x4-easy-rev685mod which use some old libraries. I think it's time Avrin makes a new package Wink or just copy files from rev747 over the old ones.

Actually, GetSystemClock() is only for PIC32MX but should be renamed as System.getCpuFrequency() which is already available for PIC18F if you need to know the current CPU speed.

SystemGetClock() also exits for 8-bit (TODO : Increase the consistency of all the function names !) but is an internal C function used in different libraries of which pwm.c (called from ir-detector.pde - Quod Erat Demonstrandum).

FYI, oscillator library (core/oscillator.c) is a work in progress (any help is welcome Wink). Of course, as usual, all new commands are not documented but they are listed in p8/pdl/system.pdl.

Régis
regis where do i find GetSystemClock()
so i can replace it
thanks
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)