在msp430中,4-mux LCD是如何使用的?
我看了程序依然看不懂是什么意思?
比如说,在一个程序中,
case 'A': LCD[position-1] = a + b + c + e; LCD[position] = b + c + g; break;
case 'B': LCD[position-1] = c + h + e; LCD[position] = b + c + g; break;
case 'C': LCD[position-1] = a + h; LCD[position] = b + c; break;
case 'D': LCD[position-1] = b + c + h + e; LCD[position] = c + g; break;
case 'E': LCD[position-1] = a + h + e; LCD[position] = b + c + g; break;
case 'F': LCD[position-1] = a; LCD[position] = b + c + g; break;
case 'G': LCD[position-1] = a + c + h + e; LCD[position] = b + c; break;
case 'H': LCD[position-1] = b + c + e; LCD[position] = b + c + g; break;
我看不明白当case是A的时候, LCD[position-1] = a + b + c + e; LCD[position] = b + c + g; 就产生了A了呢?
求大能耐心介绍一下。给点提示也行呀 |