In SX Microcontrollers, SX/B Compiler and SX-Key Tool, jbrierley wrote: It's got an on-board regulator to supply the 3.3V from a 5V supply. I'm connecting it according to the docs on the Parallax page ([url=http://www.parallax.com/Portals/0/Downloads/docs/prod/acc/HitachiH48C3AxisAccelerometer.pdf]http://www.parallax.com/Portals/0/Downloads/docs/prod/acc/HitachiH48C3AxisAccelerometer.pdf[/url]). They connect +5V to Vdd (pin 6). That's where most of the code came from. It's BS2 code, so I had to modify it, naturally. It's just very strange - it works perfectly... but only under certain conditions: SX Key and no external oscillator plugged in. As soon as you remove the SX key and plug in an external oscillator (or use the built-in one), it gets the wrong numbers. I'm using an SX Tech Board for prototyping it, just so you have all the information. Thanks, Jon ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=231466#m231488 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2007 (http://www.dotNetBB.com)