Now I am retesting the 2 MCP3208 boards to make sure they are still working OK.
.END
// *** MagicBlue tests - 2013nov03hkt1054 ***
// testBlinkLpc1114LedP09(); // MOSI now for SPI0
testBlinkLpc1114LedP03();
testMcp3208(SPI_CHANNEL_0, ADC_CHANNEL_0);
testMcp3208(SPI_CHANNEL_0, ADC_CHANNEL_1);
testMcp3208(SPI_CHANNEL_0, ADC_CHANNEL_2);
testMcp3208(SPI_CHANNEL_0, ADC_CHANNEL_3);
testMcp3208(SPI_CHANNEL_0, ADC_CHANNEL_4);
testMcp3208(SPI_CHANNEL_0, ADC_CHANNEL_5);
testMcp3208(SPI_CHANNEL_0, ADC_CHANNEL_6);
testMcp3208(SPI_CHANNEL_0, ADC_CHANNEL_7);
ADC Channel = 0
ADC result milliVolt = 1654
ADC Channel = 1
ADC result milliVolt = 1655
ADC Channel = 2
ADC result milliVolt = 1652
ADC Channel = 3
ADC result milliVolt = 1654
ADC Channel = 4
ADC result milliVolt = 2487
ADC Channel = 5
ADC result milliVolt = 2479
ADC Channel = 6
ADC result milliVolt = 2489
ADC Channel = 7
ADC result milliVolt = 2480
.END2
No comments:
Post a Comment