Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.
Juri74 Senior Member Joined: 06/02/2012 Location: ItalyPosts: 162
Posted: 10:23pm 18 Jul 2013
Copy link to clipboard
Print this post
Hello all,
a quick question:
suppose the byte &b11110000
i will send it to a device using spi command void=spi(rx,tx,clk,byte)
wich bit is sent first? MSB (1) or LSB (0)?
thank you!
MicroBlocks Guru Joined: 12/05/2012 Location: ThailandPosts: 2209
Posted: 10:50pm 18 Jul 2013
Copy link to clipboard
Print this post
RTFM
Page 53:
Transmission Format
The most significant bit is sent and received first. The format of the transmission can be specified by the 'mode'
as follows:
Edited by TZAdvantage 2013-07-20Microblocks. Build with logic.
Juri74 Senior Member Joined: 06/02/2012 Location: ItalyPosts: 162
Posted: 11:09am 19 Jul 2013
Copy link to clipboard
Print this post
Oh dear, i read & read it so many times.. i think i need glasses...
Grogster Admin Group Joined: 31/12/2012 Location: New ZealandPosts: 9502
Posted: 01:06pm 19 Jul 2013
Copy link to clipboard
Print this post
We've all done that before!
Smoke makes things work. When the smoke gets out, it stops!