Small embedded systems are all about compromises between performance, code size, SRAM usage, etc., and both the fun and the headache is finding the right tradeoffs and creative solutions for your problems. While code optimization should always be the last thing you do — my mantra is working/clean/small/fast in that order — when you do need to do some bit magic (and most of the magic in embedded in indeed twiddling bits), you might find ‘Bit Twiddling Hacks‘ a good read to pick up some tips and tricks!
Have an amazing project to share? Join the SHOW-AND-TELL every Wednesday night at 7:30pm ET on Google+ Hangouts.
Join us every Wednesday night at 8pm ET for Ask an Engineer!
Learn resistor values with Mho’s Resistance or get the best electronics calculator for engineers “Circuit Playground” – Adafruit’s Apps!
No comments yet.
Sorry, the comment form is closed at this time.