Post Created date
What to do with these......
One way of making a nice variable power supply out of things like that is just hook 'em up to a rectifier then power them through a Variac*.  S.   * adjustable...
Saturday, 18 January 2020 - 06:07
C Code Column Byte from Row Bytes (Array)
Bit Store would be better than my rolling ops because the OP only wants six bits.  My version doesn't scale down to omit bits very well at all.  S.
Friday, 17 January 2020 - 17:36
C Code Column Byte from Row Bytes (Array)
Incidentally (not that anyone cares ) I wrote that ARRAY_ROT routine originally to do something very similar - eight serial devices on one 8-bit port (PortB on a tiny2313) - but I...
Friday, 17 January 2020 - 11:36
C Code Column Byte from Row Bytes (Array)
Looking further at your extended design, I think you need to have another re-think of the hardware.  What you really need aren't so much shift registers, as six chips that'll...
Friday, 17 January 2020 - 11:00
C Code Column Byte from Row Bytes (Array)
neil.badenhorst@gmail.com wrote: Thanks.  Do you know how long this code takes to run ?   One could count the cycles, I suppose.    In the loop there's...
Friday, 17 January 2020 - 10:23
C Code Column Byte from Row Bytes (Array)
Looks like what you really want to do is rotate the array 90degrees.  If your array contained:   ABCD EFGH aBCD EFGH AbCD EFGH abCD EFGH ABcD EFGH aBcD EFGH AbcD EFGH...
Friday, 17 January 2020 - 07:17
Evaluating Elementary Functions in Assembly
awneil wrote: JDArduino wrote: learn new things about how algorithms work   But, surely, writing in assembler just obscures that?   Too true.  To really...
Tuesday, 14 January 2020 - 00:31
Evaluating Elementary Functions in Assembly
As a more useful piece of information to the OP, if you're making lookup tables and storing them (in, say, an external serial EEprom), it doesn't really matter how efficient the...
Monday, 13 January 2020 - 11:58
Evaluating Elementary Functions in Assembly
The post has been properly edited.  S.   Edited to note - I did not have to remove the italics, because Mr. Lawson put them in his quoting me.  Plbbht. 
Monday, 13 January 2020 - 10:46
Evaluating Elementary Functions in Assembly
awneil wrote: Scroungre wrote: it's faster in assembler   That old chestnut again!   It's possible that a skilled & experienced assembler programmer might be able...
Monday, 13 January 2020 - 10:34
Evaluating Elementary Functions in Assembly
clawson wrote: For example, here is the core of sin() for the fp lib in avr-gcc:   http://svn.savannah.gnu.org/viewvc/avr-libc/trunk/avr-libc/libm/fplib/fp_sinus.S?revision=...
Monday, 13 January 2020 - 10:10
Evaluating Elementary Functions in Assembly
Well, for one, I'm not using a float library.  All that overhead can go away. For two, I can use dirty shortcuts - e.g. sending the high byte to the DAC while the low byte(s...
Monday, 13 January 2020 - 10:04

Pages