Depends. I've done embedded in high margin products like precision measuring equipment and semiconductors and low margin products like automotive or advertising electronics. Pay and software is mor or less the same, what varies is the amount of bureocracy, documentation and requirements engineering.
Getting good pay means you have to find a Fang with high margins on their HW like Apple or Nvidia or go HFT.