int main()
{
// *** Test Olimex LPC1114 #2 2013nov19hkt1701 ***************************
// testMax7219DigitV0701(SPI_CHANNEL_1); // good, but need power up reset
// testMax7219DigitV0701(SPI_CHANNEL_0); // good, but need power up reset
testMax7219v0702(SPI_CHANNEL_0, SLAVE_SELECT_0); // good
testMax7219v0702(SPI_CHANNEL_0, SLAVE_SELECT_1); // bad
testMax7219v0702(SPI_CHANNEL_0, SLAVE_SELECT_2); // bad
testMax7219v0702(SPI_CHANNEL_0, SLAVE_SELECT_3); // bad
testMax7219v0702(SPI_CHANNEL_0, SLAVE_SELECT_4); // good
testMax7219v0702(SPI_CHANNEL_0, SLAVE_SELECT_5); // bad
}
.END
No comments:
Post a Comment