don't find simple code for Bourns EMS22D

I think that you are over your head here. It seems like you know absolutely nothing about electronics or programming.

Start out by blinking an LED, reading some buttons etc. - and when you have a basic understanding of how Arduino works, you can go back to your assignment.

// Per.