works so far
This commit is contained in:
@ -5,6 +5,7 @@
|
||||
* Author: wn
|
||||
*/
|
||||
|
||||
#include <msp430g2553.h>
|
||||
#include "gpio.h"
|
||||
|
||||
tPinCfg pinCfg[PINS_END] = {
|
||||
@ -17,5 +18,6 @@ tPinCfg pinCfg[PINS_END] = {
|
||||
{PORT2, BIT2, PIN_OUT, LOW}, //G
|
||||
{PORT2, BIT0, PIN_OUT, HIGH}, //0
|
||||
{PORT1, BIT5, PIN_OUT, HIGH}, //1
|
||||
{PORT1, BIT1, PIN_IN, LOW}, // BUTTON_1
|
||||
{PORT1, BIT0, PIN_IN_PULLUP, LOW}, // BUTTON_1
|
||||
{PORT1, BIT1, PIN_OUT, LOW}, //TESTPIN1
|
||||
};
|
||||
|
Reference in New Issue
Block a user