Making handbrake

Hi , i have problem because i want to make handbrake with my leonardo and i didin't know command which when circuit is closed its emulates keyboard and press key "n" .

On most cars the handbrake usually has a cable connecting it directly to the brakes at the wheels. There normally isn’t any electronics involved.

My car has an “electronic” parking brake, but it’s operated by a small switch, not a keyboard.

This is a model car I hope ?

srnet:
This is a model car I hope ?

. No, it’s a two litre diesel.

TheMemberFormerlyKnownAsAWOL: My car has an "electronic" parking brake, but it's operated by a small switch, not a keyboard.

I think they cease calling it a handbrake at that point and just call it a parking brake.

My vehicle hand brakes are all "foot operated" parking brakes.

Paul

Delta_G:
I think they cease calling it a handbrake at that point and just call it a parking brake.

But the switch is by the gear stick and is operated by hand, so I guess it is a hand-brake.