I am programming a wireless fan controlled thermostat. Up until now I have only been writing code in assembly. I have written software code in C before but haven't yet tried writting embedded systems with C. I am wondering if C is used more commonly than Assembly in the field. Also, are there any common beginner mistakes associated with using C to write embedded systems? Does anyone know of some good links describing best practices and standards for writing embedded systems in C?