| ??? 01/18/05 09:07 Read: times |
#85171 - access all 3 , one at a time Responding to: ???'s previous message |
Leon,
Remember what Erik said, "You will never come across as dumb by using too many words describing a problem." You still seem to be trying to cram your posts into the fewest number of words possible! While we don't want to have to wade through a novel, a little more "meat" would be helpful! Leon Botha said:
3. need to use "ibutton_io" to access all 3 , one at a time Why? As I said earlier, couldn't you access all three simultaneously? When I implemented a system with two 1-Wire ports, it seemed to me that it was just as easy to have a driver for each port, rather than mess about trying to "paramaterise" it. Thus, for each port, I had a set of three bit-level functions: This comes to <150 bytes per port. Note that you don't need separate "Write-1" and "Read" bit-level functions: a Write-1 is the same as a "Read," but you just ignore the read value! I also had a read-byte and write-byte per port - but you might want to "parameterise" these. |
| Topic | Author | Date |
| sbit | 01/01/70 00:00 | |
| I do not understand | 01/01/70 00:00 | |
| You mean Dallas 1-Wire? | 01/01/70 00:00 | |
| Re | 01/01/70 00:00 | |
| What's the problem? | 01/01/70 00:00 | |
| I think that... | 01/01/70 00:00 | |
| indirect bit addressing | 01/01/70 00:00 | |
| The same iButton on all 3? | 01/01/70 00:00 | |
| sbit | 01/01/70 00:00 | |
| access all 3 , one at a time | 01/01/70 00:00 | |
| I had the same problem | 01/01/70 00:00 | |
| Lets try again | 01/01/70 00:00 | |
| Need ? | 01/01/70 00:00 | |
| Why? | 01/01/70 00:00 | |
| There is always the switch statement | 01/01/70 00:00 | |
| something like this... | 01/01/70 00:00 | |
| Simultaneous example | 01/01/70 00:00 | |
| Use MASK rather than bit address | 01/01/70 00:00 | |
| Oooops, sorry... | 01/01/70 00:00 | |
| Multiple 1Wire | 01/01/70 00:00 | |
| How to post code, and possible hang-up | 01/01/70 00:00 | |
| simultaneous? | 01/01/70 00:00 | |
| would even be better | 01/01/70 00:00 | |
If it worked! | 01/01/70 00:00 |



