122-28029 Parallax Inc, 122-28029 Datasheet - Page 314

GUIDE STUDENT SMART SENSORS

122-28029

Manufacturer Part Number
122-28029
Description
GUIDE STUDENT SMART SENSORS
Manufacturer
Parallax Inc
Datasheet

Specifications of 122-28029

Accessory Type
Manual
Product
Microcontroller Accessories
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
For Use With/related Products
Smart Sensors
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Contains lead / RoHS non-compliant
Page 302 · Smart Sensors and Applications
sign = side.BIT15
side = ABS(side)
angle = 63 - (side / 2)
DO
LOOP
angle = angle */ 361
IF sign = Negative THEN angle = 180 - angle' Adjust if sign is negative.
RETURN
IF (COS angle <= side) THEN EXIT
angle = angle + 1
' Save sign of side
' Evaluate positive side
' Initial angle approximation
' Successive approximation loop
' Done when COS angle <= side
' Keep increasing angle
' Convert brads to degrees

Related parts for 122-28029