starting pmod accelerometer demo
my I2C register read is not working

I am committing before I try altering things.
making some progress on the I2C line

I made an error when I tried to combine "start transfer with restart"
with "start transfer without restart".  The latter waited for the I2C
line to become idle, anticipating that the transfer had already been
stopped by whatever code had previously used it.  The former code does
not anticipate this, but in my code I had "start transfer with restart"
waiting on the bus that would never become idle because nothing had sent
a stop signal.

Now I am deciphering why the bus is not stopping after an attempted
reading of the accelerometer.
still being very frustrated by this I2C line

I still can't get it under control.  My old I2C accelerometer + temp +
gyro + CLS demo code works fine in C and C++, but my adaptation to
classes does not work.

I will now tear everything down and start from my old code.  I will
gradually construct a class-based I2C handler out of it.
a crude dump of my old I2C handler code

I dumped the old code into my framework's I2C handler, and it works as
it did before (that is, "peachy").

Now I will start building it back up into a class framework.
I2C handler survived conversion to class

I dumped all the functions into an I2C handler singleton with everything
but the constructor made public.

It seems to be doing ok.  Now I'll start dividing the methods into
public and private, and I'll combine the "start transfer with restart"
with "start transfer without restart".
the refactored I2C handler seems stable

I continued to adapt my old C code to being C++ class code, and it seems
stable now.

I don't what was going on before because my logic hasn't changed.  I
must have had a couple of function calls out of order.
introduced timeouts to prevent eternal hangups

I introduced a new function to the delay timer that, in conjunction with
"get elapsed milliseconds since program start" (also in the delay
timer), allows me to check for timeouts instead of hanging indefinitely
as I wait for a bus to start or to be idle.