Hi JB, Did you find an answer to the counting of pulses problem ? I can be mistaken but it looks to me that GCB can only count duration of a pulse, it looks to me you are also looking for a count of pulses in a time frame ? Willem
Hi Jerry, thanks but ASM is almost like English to me, like Greek man, but I am sure Anobium can make something of it. Thanks for the help Willem
Thank you very much Anobium, I really appreciate all the effort to help me . I shall wait for the development, unfortunately with my limited knowledge of programing, I shall not be of any help Willem
Wow, I can not believe that it must be so difficult, I only need to count a few positive going pulses on a pin coming from a button being pressed a few times?? Willem
Hi Anobium, Thanks for the fast answer, but Pulsein is not the right thing , it gives you time duration of pulse in, I would like to count the number of in coming pulses on a pin , like number of pulses per a time frame, exactly like Picbasic does it.: COUNT Portb.2, 100, W1 'Count pulses on pin B.2 in 100 milliseconds Thanks Willem
Can someone please translate this PICbasic code into GCB code; COUNT Portb.2, 100, W1 'Count pulses on pin B.2 in 100 milliseconds Thank you very much.
Thanks Evan will check it out, and let you know if there is more troubles
Hello Anobium, Thanks for the quick response, I'm using the program as is from Hugh & Evan, so id and name is as in the program. No, PC sees nothing, what is also worring is the compiler complains about the osc frequency, does not like 6 or 48 Mhz . According to the 18F4550 data sheet the ic's int Osc can run at both those Frequencies, if I read it right, English is not my best language. and also the keeping alive led just stays dead, looks like ic is not running.