in reality accuracy is not always critically important, 1% or larger errors still work well in 90% of cases for tty serial transmission.
8bit generator results can be equally accurate anyway.
if...
there are two baudrate clock source dividers brgh=0 ; fosc/64 and brgh=1 ; fosc/16 and
and you have the choice of 8 or 16 bit baud rate generators, so 4 options...
Published on - 31st May 2010 18:38
Number of Views: 11986
It's almost Olympics time... so here's a topical program using PBP exclusively (no embedded Assembler) to give you a Stop-Watch with 1/100th Second Timing (yes that's 0.01 of a Second) and gives you REAL-TIME display on your LCD. Now you can do your own timing and challenge the official time...
The program demonstrates using TMR1 in BACKGROUND (multi-tasking), uses PICBasic Interrupts, and accounts for the fact that PICBasic doesn't respond to those Interrupts immediately. There's also a set-Up CALIBRATION menu item, so you can adjust and calibrate your timer to an accuracy of 360mS per Hour.
How does it do all that? Better download the PDF and find out...
Melanie
PS. Questions and Comments post on this forum/thread. No off-list mail please.
Re: I2CWRITE/I2CREAD access hardware in the different way? (PCA9685 issues)
what pic chip ?
richard Today, 23:53how is pc9685 wired up [sketch]
i2c pins should not be set as outputs