In SX Microcontrollers, SX/B Compiler and SX-Key Tool, ellizard wrote: HI all. I'm experimenting with the HM55B Compass Module, on the HM55ModDocs.pdf in the SX section it is indicated the possibility to obtain the real angle from North in Degree. The suggested operation is: [b]arctan(-y/x)[/b] But there is no such command or operator in the SX/B. I have done a search in the Forum but with no results......... How can I obtain the arctan calculation with SX? Anyone has a suggestion on how to accomplish this? Thanks in Advance Stefano P.S. Excuse my fat ignorance about math's ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=159976 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)