© Norman Dunbar 2020
N. DunbarArduino Software Internalshttps://doi.org/10.1007/978-1-4842-5790-6_5

5. Converting to the AVR Language

Norman Dunbar1 
(1)
Rawdon, West Yorkshire, UK
 

This chapter briefly explains how you can begin to wean yourself off of the helpful features of the Arduino Language and write code that is in the AVR’s own variant of C/C++ which can greatly reduce the size of your compiled code and could make the difference in fitting your project into an ATtiny85, for example, rather than needing a full-blown ATmega328P.

Writing AVR C/C++ also turns off all the hand holding that the Arduino gives you. You are talking directly to the device, rather than having your needs and wishes interpreted by an intermediary and passed along to the ...

Get Arduino Software Internals: A Complete Guide to How Your Arduino Language and Hardware Work Together now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.