Initilizing Pulse Input

Kronos

New Member
Hi All,

Could somebody please tell me how to go about this?

I've declared Dim Hertz As PulseInput as a Process Global.

Then, in Sub Activity_Create(FirstTime As Boolean) I have:

Hertz.Initialize

Hertz = YOYO.OpenPulseInput(20, Hertz.IP_FLOATING, Hertz.RATE_250KHZ, Hertz.FREQ, Hertz.WaitPulseGetDuration)

But I keep getting an error when trying to run the app saying:

Object should be first be Initialize (PulseInput)

Do I need to initialize it differently, or with some variables? Any help would be greatly appreciated.

Cheers,

- Kronos
 

Cableguy

Expert
Licensed User
Longtime User
Start by searching IOIO related threads
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…