new to arduino and need some help.

thanks, i thought that id have to do something like that but i wondered if there was an easier way.

Brian