Re: [Flashforth-devel] Servo PIC 18F4620
Brought to you by:
oh2aun
From: Mikael N. <mik...@pp...> - 2013-07-15 06:04:09
|
Hi, There is no need to recalculate anything. Fcy has the value Fosc/4. BR Mike On 07/14/2013 02:58 AM, hi...@ao... wrote: > I am working with the servo example at > http://flashforth.sourceforge.net/servo.txt > and using a PIC 18F4620 running at ~18 Mhz, 9600 BAUD. > Does the example assume a given clock rate? If so how can I calculate > these for my crystal? > Is the part of the code I should be adjusting? > Fcy #1000 / con clk/us > 0 #1500 clk/us * - con midhi > 0 #500 clk/us * - con midlo > 0 #12000 clk/us * - con endlo > 0 #2000 clk/us * - con stime > > Many thanks for any direction.. > > > ------------------------------------------------------------------------------ > See everything from the browser to the database with AppDynamics > Get end-to-end visibility with application monitoring from AppDynamics > Isolate bottlenecks and diagnose root cause in seconds. > Start your free trial of AppDynamics Pro today! > http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk > > > _______________________________________________ > Flashforth-devel mailing list > Fla...@li... > https://lists.sourceforge.net/lists/listinfo/flashforth-devel |