Strictly necessary cookies are on by default and cannot be turned off. Functional, Performance and Tracking/targeting/sharing cookies can be turned on below based on your preferences (this banner will remain available for you to accept cookies). You may change your cookie settings by deleting cookies from your browser. Then this banner will appear again. You can learn more details about cookies HERE.
Strictly necessary (always on)
Functional, Performance and Tracking/targeting/sharing (default off)
I am not sure if this is the place to post this question so let me know if I need to post it somewhere else. I am interfacing an accelerometer with an 8k PSoC1 via i2c. I need to cacluate a specific angle from the accelerometer data without using the <math.h> library. I know the value of two sides and could use arctan to get that angle but when i include <math.h> I run out fo code space. Is this a possibility? If so how can I do this?