New single family dwelling. Inspector came for rough-in inspection last week and wrote me up for a violation; "panel too low". My panel measures 6'0" from the floor to the top of the enclosure and 5'4" from the floor to the main breaker. The inspector said it had to be at least 6'6" from the floor to the main. I asked him to show me where in the code that requirement was. He showed me a drawing from a handbook titled "Work space clearances". After explaining what work space clearances meant he tore up the violation notice and left. He said he'd made a dozen electricians move their panels in the last few months.