Author |
Message |
Topic: Uart Bus |
frothbeast
Replies: 12
Views: 10819
|
Forum: General CCS C Discussion Posted: Mon Jul 12, 2010 9:45 pm Subject: Uart Bus |
I found a post by Bill Boucher
http://www.ccsinfo.com/forum/viewtopic.php?p=39163&highlight=#39163
The part where he mentions the tx pin of the master can go to the rx pins of the slaves and ... |
Topic: Uart Bus |
frothbeast
Replies: 12
Views: 10819
|
Forum: General CCS C Discussion Posted: Mon Jul 12, 2010 1:07 pm Subject: Uart Bus |
The actual 'open collector' bit, is easy (provided you have a reasonably recent compiler). Look at the 'float_high' option in the RS232 setup. This basically tells the code to actually 'switch off' th ... |
Topic: Ram array, rolling pointer, offsets, pointer wrap-around |
frothbeast
Replies: 2
Views: 3309
|
Forum: General CCS C Discussion Posted: Thu Jul 08, 2010 7:54 pm Subject: Thanks |
That is exactly what I was looking for. Thanks.
I can use 256 for this task, but as ram gets scarce, I will want to know how to implement that mask. And you have illustrated it perfectly.
Frot ... |
Topic: Ram array, rolling pointer, offsets, pointer wrap-around |
frothbeast
Replies: 2
Views: 3309
|
Forum: General CCS C Discussion Posted: Thu Jul 08, 2010 9:44 am Subject: Ram array, rolling pointer, offsets, pointer wrap-around |
I would like to create a variable, int8 ram[128].
Then I will make a loop to roll through these values and 'wrap around' or repeat indefinitely.
In each loop I plan to write a value to ram[point ... |
|