Overview
- Object ID : 2082 (2013-04-05)
- Author : I.Kövesdi | added by Archiver
- Content : Code
- Microcontroller : Propeller 1
- Language : SPIN
- Category : Math
- Licence : Other
Content
The PST application shows the first Fixed-point arithmetic library object on OBEX. The "SPIN_TrigPack" object is a complete Fixed-point package with the basic trigonometric functions for robot and navigation projects. You can do ATAN2 without enlisting extra COGs to run a full Floating-point library for that function. This small object has string conversion utilities to make Fixed-point math easy in your SPIN language based applications.
The object contains the first True Random Generator with the Propeller microcontroller written in SPIN code only. This TRNG will repeat its sequence only after the end of Times. Nobody knows why does it work. Maybe, you will be the first to find out.