Arduino Micro "CAN CODE MAKE YOUR MICRO HOT"

I don't need to see your code . I need to see a schematic of how you connected the motor driver to the arduino and how you connected the power source to the arduino and the motor shield. Leave nothing out. Delete your code. We don't need that. It has absolutely NO bearing on your post title. Is that clear ? Take a photo of your circuit from directly above so we can see the wiring and post the photo of the circuit and the schematic.