help!!!for school project. for push button board with on/off functions. display: tri-led on when press and remained on when release tri-led off when pressed again and remained off when release

2.coding for accelerometer adxl 335 display:when drop from a vertical height ,the accelerometer will sense it and sends it to the buzzer . output 1:the tri -led will change from blinking red to a blinking red and blue. output 2:the tri-led will change from a green to blue blinking.

So, what have you done so far?

well cross posting is not appreciated ;) so as zoomkat asked what have you done so far ? did you aquaint yourself with the arduino syntax ? if not visit and look at some examples -Hope this helps :)