Mega 0-Series and TWI (ATMEGA4808) GermanFranz wrote:
Have look my example in projects (assembler only)
https://community.atmel.com/proj...
Maybe it helps
Hi yes I saw that - seems specific to that sensor...

Monday, 11 November 2019 - 10:02

Mega 0-Series and TWI (ATMEGA4808) ki0bk wrote:
https://www.avrfreaks.net/commen...
this thread has what your looking for....
Jim
Indeed. Thanks!

ATmega3208 TCA0 - stupid me clawson wrote:when you see a time interrupt being used to only toggle a pin you cannot help but wonder
Hi clawson, yeah - that ISR won't be toggling any pins, that was just...

Monday, 28 October 2019 - 21:12

ATmega3208 TCA0 - stupid me @kabasan Thanks!
Told you I was being stupid!
Thanks for being nice about it too!

Monday, 28 October 2019 - 11:30

Pond ripple effect El Tangas wrote:
Based on your problem, I did this in Excel, hope it helps. It's just the product of an exponential decay and a (shifted and rescaled) cosine...

Monday, 1 July 2019 - 11:00

Pond ripple effect Thanks avr-mike
Claswson's formula calculates a z-height in 3D space.
This "height" (Which I'll probably scale 0 to 1) will be the amount of offset to apply to each...

Monday, 1 July 2019 - 10:45

Pond ripple effect Also, keeping in mid that each 'ring' is always the same colour all the way round,
I don't need X and Y in the equation, just one of them. That should simplify things.
Basically...

Monday, 1 July 2019 - 09:31

Pond ripple effect Thanks @clawson
This looks promising: so thanks for the link.
z=(cos( 0.5sqrt(x^2+y^2)-6n)/(0.5(x^2+y^2)+1+2n), n={0...10}
I might experiment with that, and...

Expression evaluates as true? I like the interesting problems like this one. It made me think a bit harder and also it proved how useful the assembly listing can be too.
As that Australian (not Austrian) guy...

GermanFranz wrote: Have look my example in projects (assembler only) https://community.atmel.com/proj... Maybe it helps Hi yes I saw that - seems specific to that sensor...

ki0bk wrote: https://www.avrfreaks.net/commen... this thread has what your looking for.... Jim Indeed. Thanks!

Fab thanks - I'll check it out.

clawson wrote:when you see a time interrupt being used to only toggle a pin you cannot help but wonder Hi clawson, yeah - that ISR won't be toggling any pins, that was just...

@kabasan Thanks! Told you I was being stupid! Thanks for being nice about it too!

El Tangas wrote: Based on your problem, I did this in Excel, hope it helps. It's just the product of an exponential decay and a (shifted and rescaled) cosine...

Thanks avr-mike Claswson's formula calculates a z-height in 3D space. This "height" (Which I'll probably scale 0 to 1) will be the amount of offset to apply to each...

Also, keeping in mid that each 'ring' is always the same colour all the way round, I don't need X and Y in the equation, just one of them. That should simplify things. Basically...

Thanks @clawson This looks promising: so thanks for the link. z=(cos( 0.5sqrt(x^2+y^2)-6n)/(0.5(x^2+y^2)+1+2n), n={0...10} I might experiment with that, and...

New datasheet downloaded. Old datasheet sent for recycling! Thanks @kabasan!

I must have an old datasheet! ... skulks off slowly, hangs head in shame....

I like the interesting problems like this one. It made me think a bit harder and also it proved how useful the assembly listing can be too. As that Australian (not Austrian) guy...

## Pages