jeudi 3 septembre 2015

Coding: Delay after folding mirrors

I have coded my car to open and close windows, mirrors and sunroof using CA and key fob. In general it works, but not quite like I want it.

Here is what I would like to achieve:

1. Whenever I lock the car using single press of the lock button on key fob, I'd like to fold the mirrors immediately.
2. If I keep holding the lock button, it should close windows and sunroof.
3. Optionally: similar behavior with CA. Touching the door handle for 1 second should lock the car and fold mirrors, holding it for longer than 1 second should close windows and sunroof.

Code:

KOMFORTSCHLIESSUNG_FB      aktiv
KOMFORTSCHLIESSUNG_PA      aktiv
ASP_BEIKLAPPEN_BEI_KOMFORTSCHLIESSEN    aktiv

KOMFORT_SCHLIESSEN          0

// delays between closing windows and roof
KOMFORT_SCHL_VORNE werte    15 (1500ms)
KOMFORT_SCHL_SHD werte      15 (1500ms)

Usually I want to keep my sunroof tilted. And 66% of the time my current settings work. I.e. car locks, mirrors fold, and sunroof remains tilted. But often it will also close the sunroof. Is there a separate value to set a delay between folding the mirrors and do the rest of the "convenient closing" stuff?


Coding: Delay after folding mirrors

Aucun commentaire:

Enregistrer un commentaire