Fix naming conventions
for Arduino compatibility
Clean up firmware inline docs