ive been doing a fair amount of research into writing basic code now, but at one point it gets a bit vague. im using the 18f2431, and in the data sheets it describes in assembley code (im presuming thats the language they use) and the function i require is cap1 0111 which makes PORTA.3 to measure the pwm of that specific signal. this is similar for cap2 and cap3 as well.
ive been looking through the basic language and i get a few commands, such as PULSIN, which says it measures the pulse width on a pin. would this command suffice for the 18f2431 cap1 cap2 and cap3 pins? or is there something different? since i chose the pin because of its advantages of measuring signals pwm and ffrequency etc... it would seem a bit daft having chosen it too find that any random pic would be able to just be coded with PULSIN and measure it straight off.
Bookmarks