Quote Originally Posted by lanyong View Post
how to do it?

pls post the code.

bam is possible, we can change the H or L in two clocks in pic18. so 10M/(2^13)/2=1220.703125/2=610.3515625
i have 8 group i/o and get the 2450.98Hz 8 bit bam equl to 1 i/o:2450.98*8/(2^13/2^8)=610Hz.

the min time is 0.2us to change the i/o's voltage