Post Created date
Fun & Games with Fixed-point Arithmetic [solved]
barnacle wrote:and *two* sign bits...   Scaling can be additive as well as multiplicative.  Stop doing signed math...     S.
Tuesday, 22 December 2020 - 07:09
Fun & Games with Fixed-point Arithmetic [solved]
ka7ehk wrote: When you have gazillion-bit floating point, gigabyte system memories. and terabyte drives, who cares about minimizing the memory foot print?   People...
Tuesday, 22 December 2020 - 04:00
What kind of LEDs are these? ("Twinkly" lights)
OldMicroGuy wrote: I was thinking of getting several of those addressable LED light strips from Amazon, they're getting pretty cheap now.  That would allow me to create (...
Sunday, 20 December 2020 - 14:16
What kind of LEDs are these? ("Twinkly" lights)
clawson wrote: Once you layout the lights you then use the camera in your phone via the app. It instructs each LED to light in various colours and recognises its relative position...
Sunday, 20 December 2020 - 14:10
Fun & Games with Fixed-point Arithmetic [solved]
For fixed-point math that needs displaying in decimal, I use a decimal scaling factor (0x2710 works very nicely!) so that the insertion of the decimal point is merely a matter for...
Sunday, 20 December 2020 - 14:07
Best practice: buffer implementation
Next up, let's compare sizes and speeds to a native assembler ring buffer...   S.
Saturday, 19 December 2020 - 12:15
Eight contiguous memory addresses into one register
nm.  Asked and answered.  S.
Saturday, 19 December 2020 - 09:12
Broken my serial output code
Good to hear you finally got it.  Mark #11 as the solution?    Ruling out what it isn't is still excellent diagnostics.  Carry on!   S.
Wednesday, 16 December 2020 - 03:28
0.5 s delay on atmega328p in assembly
david.prentice wrote: And of course BubbleSort is the classic crap algorithm that illustrates how NOT to do a sort.   One advantage of 'bubble sort' is very very small code...
Wednesday, 16 December 2020 - 02:08
Broken my serial output code
deepstop wrote: I don't think the US of an RC oscillator is actually causing this problem - do you?   Yes, I do.  One of the red flags in your symptoms is that you...
Tuesday, 15 December 2020 - 03:30
Broken my serial output code
deepstop wrote: 3. Fuses are default, using RC clock at 1MHz   Don't do that.   The AVR's internal RC oscillator is not very accurate nor consistent.  Get an...
Tuesday, 15 December 2020 - 00:02
0.5 s delay on atmega328p in assembly
AVRs have a 'clkdiv' fuse that will divide your clock speed by eight.  That'll cut the speed down by eight times just by ticking a checkbox.   And I could see an array...
Monday, 14 December 2020 - 23:56

Pages