Computer science or computer engineering?

If you want a median, CE is your game. However, as with any median, there are tradeoffs. My doing CE, you will be at a disadvantage to some straight CS people in the software world, and at a disadvantage to some hardware people in the EE world. If you want to be good at both, it’s going to take a lot of effort, flat out. Software and hardware, while working in the same specific area, are very different. If you do wish to put in the time to truly do both fully, then you do gain a true advantage.

Have you considered something like a CS major with an EE minor, or something along those lines? Is an EE or CE minor offered at your school?