oAdjust Object

Back to top of page Description:
 The oAdjust Objects are variable objects that are used to make an adjustment.  There is no actual difference between these objects and regular variables except for the fact they denote that the value is being used for the adjustment.
 The following table lists the size and availability of the oAdjust Object.
 ObjectSizeDescriptionA1A2B1B2C1
oAdjust1 ByteAn object that holds an adjustment value.xxxxx
oAdjust631 ByteAn object that holds an adjustment value.xxxxx
oAdjust1271 ByteAn object that holds an adjustment value.xxxxx
Back to top of page Operation:
The oAdjust Objects store values that are then used to determine an adjustment.

When written to, the value is stored.  When read from the value is retrieved.

Back to top of page Properties:

The following table lists the properties of the oAdjust Object:

Property

Description

Value
The value of the adjustment.
Object Class: oVar8 Value Range: 0 to 255 or -128 to +127
Data Type: Numeric Default Value: 0
Object Class: oVar7 Value Range: 0 to 127
Data Type: Numeric Default Value: 0
Object Class: oVar6 Value Range: 0 to 63
Data Type: Numeric Default Value: 0
Negative
A value that indicates the Value property is less than zero.
Object Class: oLogic Value Range: 0 - 1
Data Type: Numeric Default Value: 0
Availability: oAdjust
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 Related Items:

The following table lists objects that use the oAdjust Object.
 ObjectDescriptionA1A2B1B2C1
oA2DXMeasures the level of the voltage on an input line and detects when it is below a threshold.xxx
oCDSReads a CdS Cell.xxx
oIRRangeReads a Sharp GP2D12 IR ranging module.xxx
oKnobXReads the position of a Knob.x
oNavConAn Object that provides differential steering calculations.xxx
oPWMSOutputs a RC-Servo timed Pulse-Width-Modulated output on any I/O line.xxxxx
oServoControls an RC Servo-motor.xxxxx
oServoSP(2)Controls an RC Servo modified for continuous rotation.xx
oServoXControls an RC Servo-motor with a signed value.xxx
oStepperSPControls a stepper motors speed.xx
Back to top of page Version History and Bug List:
 Firmware Ver B1: Introduced.

Bugs: No known bugs.


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