oClockedOperate Object

Back to top of pageDescription:
 An oClockedOperate Object is a processing object that controls the Operate property of an object based on an input from a clock source.  Several of the ooPIC objects, such as oBus, have property options that include the letter "C".  These objects include an oClockedOperate object so that the function of the object happens only when a clock input indicates to do so.
Back to top of pageOperation:
 preliminary information
Back to top of pageProperties:
 preliminary information
 

The following table lists the properties of the oClockedOperate Object:

Property

Description

Operate
A value that selects if the clock input is evaluated or not.
Object Class: oOperate Value Range: 0 - 1
Data Type: Numeric Default Value: 0
preliminary information
Input
A pointer to an oBoolean object whose value is used as a clocking signal to determine when to process this object's data.
Object Class: oLogicPtrI Value Range: 
Data Type: Pointer Default Value: Null
preliminary information
Invert
A value that selects whether or not to invert the ClockIn object's value.
Object Class: oSelect0to1L Value Range: 0 - 1
Data Type: Numeric Default Value: 0
preliminary information
Address
Returns a pointer to the address of the oCounter Object instance.
Object Class: oAddress Value Range: 0 - 127
Data Type:Pointer (Read Only) Default Value: Address of Object

Back to top of page Example:

 In the following example, a Virtual Circuit is made that uses the oClockedOperate Object to copy the value of an oA2DX Object to the value of an oServoX Object allowing a potentiometer to position a RC Servo.
Visual Basic Syntax C and Java Syntax
' preliminary information 
// preliminary information 
Basic Syntax 
' preliminary information 
 
Back to top of pageRelated Items:
 The following table lists other objects with related functions.
 ObjectDescriptionA1A2B1B2C1
Preliminary Information
Back to top of pageVersion History and Bug List:
 Firmware Ver B1: Introduced.

Bugs: No known bugs.


ooPIC Compiler Ver 6.0 (c) Copyright 1997 - 2007 Savage Innovations, LLC.