2013-11-29

More SPI tests



































void testMax7219DisplayEightDigitV093()
{
  Max7219DisplayEightDigitV0903(SPI_CHANNEL_0, SLAVE_SELECT_0, WuyinsSpi0SselPortPinArrayPointerArray, \
                                     14, 15, 15, 15, 15, 15, 0, 0, NO_DEBUG);

  Max7219DisplayEightDigitV0903(SPI_CHANNEL_1, SLAVE_SELECT_0, WuyinsSpi1SselPortPinArrayPointerArray, \
                                     14, 15, 15, 15, 15, 15, 1, 0, NO_DEBUG);

  Max7219DisplayEightDigitV0903(SPI_CHANNEL_0, SLAVE_SELECT_1, WuyinsSpi1SselPortPinArrayPointerArray, \
                                     14, 15, 15, 15, 15, 15, 0, 1, NO_DEBUG);

  Max7219DisplayEightDigitV0903(SPI_CHANNEL_1, SLAVE_SELECT_2, WuyinsSpi1SselPortPinArrayPointerArray, \
                                     14, 15, 15, 15, 15, 15, 1, 2, NO_DEBUG);

  Max7219DisplayEightDigitV0903(SPI_CHANNEL_0, SLAVE_SELECT_3, WuyinsSpi1SselPortPinArrayPointerArray, \
                                     14, 15, 15, 15, 15, 15, 0, 3, NO_DEBUG);

  Max7219DisplayEightDigitV0903(SPI_CHANNEL_1, SLAVE_SELECT_3, WuyinsSpi1SselPortPinArrayPointerArray, \
                                     14, 15, 15, 15, 15, 15, 1, 3, NO_DEBUG);

  Max7219DisplayEightDigitV0903(SPI_CHANNEL_0, SLAVE_SELECT_4, WuyinsSpi1SselPortPinArrayPointerArray, \
                                     14, 15, 15, 15, 15, 15, 0, 4, NO_DEBUG);

  Max7219DisplayEightDigitV0903(SPI_CHANNEL_1, SLAVE_SELECT_4, WuyinsSpi1SselPortPinArrayPointerArray, \
                                     14, 15, 15, 15, 15, 15, 1, 4, NO_DEBUG);
}

.END


No comments:

Post a Comment