public void writeTime(int hour, int min, int sec)
{
set_number(hour * 100 + min);
byte dots = 0;
if ((sec % 2) == 1) dots = 1 << 2;
// send clear, then 4 bytes, then dots, then dots on/off
I2CDevice.I2CTransaction[] write = new I2CDevice.I2CTransaction[] {
I2CDevice.CreateWriteTransaction(new byte[] { 0x82, m_data[0], m_data[1], m_data[2], m_data[3], 0x85, dots })
};
m_display.Execute(write, 1000);
}