News for hackers. Stuff that matters.
Re:Arduino OpenCat by HeyLaughingBoy on Tuesday February 27, 2018 @12:46PM (#16475881)
I've been programming microcontrollers my entire programming career and now do a fair amount of work with Arduino.

The only advantage I've found to not using the Arduino libraries is when I need raw speed. e.g., a few months ago I had a project where I needed to read an analog input, calculate/lookup sine & cosine, do some math, and generate an output all within 300 uS.

At first glance, it seems trivial, but there was no way the Arduino libraries were fast enough. They are optimized for ease of use, not speed.

However, remember that in most modern programming, the programmer time is the most expensive variable. Using the Arduino libraries keeps that cost in check.

Re:Arduino OpenCat by photojosh on Tuesday February 27, 2018 @06:20PM (#16479088)
We often prototype and evaluate new hardware peripherals via Arduino. Once that's done, it's easy enough to port over to a bare AVR.