Пример #1
0
    /// <summary>
    /// refresh the display
    /// </summary>
    public void Refresh()
    {
        m_led.CleanScreen();

        for (int i = 0; i < Defines.TEXT_AREA_WIDTH; i++)
        {
            for (int j = 0; j < Defines.TEXT_AREA_HEIGHT; j++)
            {
                m_led.DrawLetter(i * ASCII.WIDTH, j * ASCII.HEIGHT, m_buffer[i, j], m_inverseBuffer[i, j]);
            }
        }
    }
Пример #2
0
 /// <summary>
 /// 清屏
 /// </summary>
 public void Clear()
 {
     m_led.CleanScreen();
 }