Hello,i'm new here and new to the world of programming,ithough i've already had some success with picbasic,microcode ,pic12f629 asnd 16f628...my question... i want to replace a counter that writes and read a 1m x 8bits ram,so it has to be a 20 bit counter..the clock that drives that counter is between 20khz and 60 khz...i've tried performing that by polling the clock input pin (ra0 in a 16f628,using the internal 4mhz oscillator),incrementing the counter when it changes from 0 to one and using a flag to avoid increasing it twice on the same clock cycle...well,it works ok at low frequencies,but not at 20khz...i also have to control the read and write signals,monitor a run/stop input for storing ram locations...well,maybe is too much for pic basic,or i'm just an ignorasnt newbie(this is probably the case...)
Thanks for your help and ideas...
Moldava
Bookmarks