So where does bit 14 fit into 1000000? or are we looking at the last 7 bits of 14? and please SOMEONE who can offer some "on the topic" advice chime in?
So where does bit 14 fit into 1000000? or are we looking at the last 7 bits of 14? and please SOMEONE who can offer some "on the topic" advice chime in?
You're right. I don't have a clue. Or do I?
Was I 'On Topic' or not?
You be the judge...
From the book-
See those references to Bit 13, Bit 14, Bit 15?Mode is used to specify the baud rate and operating parameters of the
serial transfer. The low order 13 bits select the baud rate. Bit 13 selects
parity or no parity. Bit 14 selects inverted or true level. Bit 15 is not
used.
The baud rate bits specify the bit time in microseconds - 20. To find the
value for a given baud rate, use the equation:
(1000000 / baud) - 20
Do you still think that the MODE parameter used with SERIN2/SEROUT2 is limited to 8 bits?
So, if you want this 520.83 baud (1,000,000 / baud = 1920.x) - 20 = 1900 = %0000 0111 0110 1100, to work with 'true levels', you have the number already. If you want it to work with 'inverted levels', you set bit 14, just like the book says. %0000 0111 0110 1100 becomes % 0100 0111 0110 1100.
Sorry. Am I still 'Off-Topic'?
It does not. 1000000 is only 7 bits long
I thought the Brain guy was on topic. You asked a question and you were told where to find the answer.please SOMEONE who can offer some "on the topic" advice chime in?
Maybe this will help
http://www.picbasic.co.uk/forum/show...4&postcount=10
At this point I would say to hook it up and play with it.
Dave
Always wear safety glasses while programming.
Because I am totally clueless on this, I had to ask. Is this the audio stuff they when broadcast when testing the alert system on TV?
Tim Barr
There is digital stuff along with the transmission.
http://www.weather.gov/nwr/same.htm
Tells a little about it.
Dave
Always wear safety glasses while programming.
Bookmarks