works so far

This commit is contained in:
hg
2016-09-08 22:51:15 +02:00
parent a6b4e4eea3
commit 302b9f5997
6 changed files with 20 additions and 11 deletions

View File

@ -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
};