We're no longer updating This wiki!!

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
en:spi_dot_matrix [2016/12/09 11:29]
charles.park [SPI Dot-Matrix]
en:spi_dot_matrix [2017/01/18 17:13]
charles.park [Example of Scrolling Text]
Line 123: Line 123:
     struct spi_ioc_transfer tr;     struct spi_ioc_transfer tr;
  
 +    memset((void *)&tr, 0x00, sizeof(tr));​
 +    ​
     tr.tx_buf = (unsigned long)tx;     tr.tx_buf = (unsigned long)tx;
     tr.rx_buf = (unsigned long)rx;     tr.rx_buf = (unsigned long)rx;
Line 351: Line 353:
 { {
     struct spi_ioc_transfer tr;     struct spi_ioc_transfer tr;
 +
 +    memset((void *)&tr, 0x00, sizeof(tr));​
  
     tr.tx_buf ​          = (unsigned long)buf;     tr.tx_buf ​          = (unsigned long)buf;
en/spi_dot_matrix.txt ยท Last modified: 2017/06/16 14:05 by odroid
CC Attribution-Share Alike 3.0 Unported
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0