I'll try to keep it brief, but here's the gist of it:
Second semester freshman year I got into contact with some professors about working in their engineering labs to get some research experience. Everybody turned me down because I didn't know enough, except one professor who brought me in and said I could join their lab. I was really surprised at that point and really grateful. I still work in that lab (currently a Junior) and it's in the field of biomedical engineering. When I joined it I was just looking for any engineering lab, but having worked in there, I really began to enjoy biomed engineering and I decided that's what I wanted to do.
My current major is somewhat of an interdisciplinary engineering degree (Engineering Science and Mechanics), so I'm not actual in a biomed program, which means I have a lot of freedom. The thing I need advice on is that over the past 6 or 7 months I've gotten really into computer science and I added that as a minor this summer because I want to pursue a career in it. I've done tons of work on my own (way more than my current class) trying to catch up and exceed CS majors who have programmed for the last two years. I'm not quite there yet, but I'm working on it.
Now because of this, I'm looking at CS internships for this summer. I kind of want to get involved with a CS professor and his research or leave more time to program on my own. But at the same time I feel like I owe a lot to the professor and the lab (and definitely the two PhDs who have taken me under their wing since I started) because they gave me a chance and have let me do a lot. Think I should just stay working in there for the experience and references and do what I can in my own time to improve as a coder?
For those thinking tl;dr: Got a position in an engineering lab freshman year, wanting to pursue a CS career, should I stay working in the lab because they gave me a chance and it will still look good on my resume, or should I look for opportunities that are more closely related to my current interests?
Any advice would be much appreciated!