Thread: BMW IBus-Heads
View Single Post
Old 04-21-2006, 06:12 PM   #41
DarthTater
Low Bitrate
 
DarthTater's Avatar
 
Join Date: Feb 2006
Location: Join me and together we shall rule the galaxy as father and spud.
Posts: 78
Mine's a standard. That might be a good way to implement a reverse camera. I'll try to do some ibus event logging tonight. There's a couple other messages I need to sort out to get my screen switching perfect, anyway.

I think the independent message thing would be cool - then you could set two different scroll lengths! The scroll timers would probably need to be a little offset so that the bus doesn't get too crowded, though.

*** edit: see version 1.[1].89 a couple posts down - this one had a problem!!! sorry.
Here's my addition to your 1[1].87 code.

I've enabled a crude version of hardware contention management in the ClearToSend sub. If you've set ContentionManagement to modes 3, 4, or 5 in the .ini, then the ClearToSend sub will check to see if there is traffic on the bus before returning a true value. Test your interface to see which line(s) are available to monitor. DSR, CTS, or CD = high, then the bus is clear. If low, then there is traffic. Not quite a full hardware handshake, but better than just the software method.
__________________
See my install here:
540i / 320i Mods

Get a free and lightweight blog here

iPhone Hacks

Thought Soup

Last edited by DarthTater; 04-22-2006 at 08:57 PM.
DarthTater is offline   Reply With Quote