[Flashforth-devel] Servo PIC 18F4620
Brought to you by:
oh2aun
From: <hi...@ao...> - 2013-07-13 23:58:39
|
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.. |