Bit and spi

mikroC, mikroBasic and mikroPascal PRO for Microchip’s 8-bit PIC MCUs.
Post Reply
Author
Message
garbe
Posts: 62
Joined: 23 Sep 2007 18:26
Location: France

Bit and spi

#1 Post by garbe » 20 May 2022 15:53

With mikrobasic
We can send byte in spi (spi1_write())
but how to send bit ?
thanks

sgssn
Posts: 35
Joined: 13 Sep 2021 16:24

Re: Bit and spi

#2 Post by sgssn » 21 May 2022 08:26

Hello
you can not send a single bit via SPI. SPI always sends 8 data bit.

regards
Gerhard

garbe
Posts: 62
Joined: 23 Sep 2007 18:26
Location: France

Re: Bit and spi

#3 Post by garbe » 21 May 2022 08:39

thanks

Post Reply

Return to “PIC PRO Compilers”