LPC1114 Barebone test


























LPC1114 Barebone test

.END

int main()
{
blinkLedP09SixTimes();  // P09 MOSI
echoBootKeyThreeTimes(); // Echo P0.1 boot (ISP) key by P0.9 (MOSI) LED
echoMisoKeyByMosiLedTwoTimes();
}

void echoMisoKeyByMosiLedTwoTimes()
{
portPinArray mosiPortPinArray = {0, 9};
portPinArray misoPortPinArray = {0, 8};

initializeOutputPin01(mosiPortPinArray);
initializeInputPin01(misoPortPinArray);

int count;

for (count = 0; count < 2; count++)
{
echoKeyByLed02(misoPortPinArray, mosiPortPinArray);
}
}

.END

No comments:

Post a Comment