Post Created date
Fast dividing by 5 and by 10 for uint32_t input data for ATMEGA16A
Umm...  If the data's already in BCD, why not just drop the low digit?  /10 right there.  Shift the resulting uint32_t left once for /5.  S.
Thursday, 26 March 2020 - 14:47
Weird reset behavior
I'd say that if you have software you know you have a software problem!  S. 
Tuesday, 24 March 2020 - 09:29
how to control dc motor
I use binary statics as 0bxxxxxxxx when I'm setting bit flags.  I am a crusty olde farte.  S.
Tuesday, 24 March 2020 - 06:13
ISRs
Never mind.  Bad math.  S.
Monday, 23 March 2020 - 08:30
ASCII Compression silliness - Tiny/mega/AVR
andrewm1973 wrote: I have had projects I inherited that had over 1/2 of the micro filled with human readable text for menus and messages on 16x2 LCD screens.   I've built...
Saturday, 21 March 2020 - 22:05
ASCII Compression silliness - Tiny/mega/AVR
Build it.  See if it works.  I did.  So can you.  S.
Saturday, 21 March 2020 - 12:00
ASCII Compression silliness - Tiny/mega/AVR
It's worth asking:  Do you want flat-out speed, or smaller code size?  Each should lead to a different solution.    Edited to add:  Or human-readable code...
Saturday, 21 March 2020 - 11:51
ASCII Compression silliness - Tiny/mega/AVR
I always knew there was someone out there smarter than I.
Saturday, 21 March 2020 - 11:22
ASCII Compression silliness - Tiny/mega/AVR
awneil wrote: It looked quite pretty in 'C' - with all the shifts & masks nicely arranged ...   Show me.  S.
Saturday, 21 March 2020 - 10:44
ASCII Compression silliness - Tiny/mega/AVR
It surprises me not that this particular wheel has been invented before.  But since when did you see an SMS implementation in AVR assembler code?    'sides, I...
Saturday, 21 March 2020 - 10:19
ASCII Compression silliness - Tiny/mega/AVR
Use Every Bit.  This might be a bit of a walnut and brass-plated anachronism, then - but that's how they played the game in the Spanish Sahara!     S.
Saturday, 21 March 2020 - 08:47
ASCII Compression silliness - Tiny/mega/AVR
westfw wrote: so they regularly stored text as 5 seven-bit byes in a word (which wrecked havoc when trying to write or use a C compiler.)   But five seven-bit characters is...
Saturday, 21 March 2020 - 07:44

Pages