![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
forkd
Fork of LGstaandart by
Diff: SPI.c
- Revision:
- 92:c892f0311aa7
- Parent:
- 89:a0d344db227e
- Child:
- 95:dd51e577e114
diff -r a2bb81eaa183 -r c892f0311aa7 SPI.c --- a/SPI.c Thu Mar 24 14:46:58 2016 +0000 +++ b/SPI.c Fri Mar 25 11:11:46 2016 +0000 @@ -48,7 +48,7 @@ LPC_SSP0->DR = (Spi.DAC_B); //e. передача 12 бит } - LPC_DAC->CR = (((SinPLC[CountV64]*35)+21300)); + LPC_DAC->CR = (((SinPLC[CountV64]*35)+24300)); while (LPC_SSP0->SR & RX_SSP_notEMPT) //если буфер SPI не пуст. DummySPI = LPC_SSP0->DR; //очистить буфер.