|
Post by DarioG on Nov 29, 2017 15:03:01 GMT
Source attached. Functions are: Frequency measurement up to 500MHz, in 2 ranges (:1 and :10) and with/without prescaler; Period measurement down to 0.1Hz and up to 1uS; IF (intermediate frequency) add/subtract feature, from 1 to 99999999Hz. Using a PIC16F1847. frequenz17.zip (31.75 KB)
|
|
|
Post by DarioG on Nov 29, 2017 15:03:41 GMT
schematics
|
|
|
Post by DarioG on Nov 29, 2017 15:04:17 GMT
hm, prescaler update Looks like Timer0 will reach 50MHz *only* if prescaler is set to at least 1:4. If disabled or set to 1:2, it does not go... Attachments:frequenz17.c (23.32 KB)
|
|