Super noobie question here but how would you recommend going about turning the SPIN code for the "Freq Counter 3" into an object I can instantiate several of and pull the main output values to the serial terminal? I'm not super comfy with assembly yet so I'm tiring to figure where I can fit in a return command to be able to pass the port, cog, and resulting data from this program. Link here: forums.parallax.com/discussion/123170/propbasic-reciprocal-frequency-counter-0-5hz-to-40mhz-40mhz-now
This code works wonderfully with my TSL235R but I need 6 of them running in tandem and outputting to an SD card. I got all of the parsing and SD card parts working fine, just need to figure how to make this work like the jm_freqin demo code where I can index several of these objects and initialize them with appropriate pin values. Thanks so much in advance!