Post Created date
Storing a Value to EEPROM When Power is Shut Off to a ATtiny841
Use oscilloscope to find out how quiclky supply voltage drops so you will know how much time you actually have to write EEPROM. I recommend to use CLKPR register to lower clock...
Wednesday, 18 October 2017 - 05:48
Problem with variables
sasan.riahi wrote:but it just sends 'D'  What is the delay between the 'D'-s? One second or two seconds or something different? I mean the actual delay, not 1 second you...
Tuesday, 17 October 2017 - 11:53
Problem with variables
JohanEkdahl wrote:Either you made a mistake or you're running a n old Atmel Studio. Or he is using C++.
Tuesday, 17 October 2017 - 11:44
Problem with variables
What is watchdog period?
Tuesday, 17 October 2017 - 11:39
AVR half duplex receiver interrupt error (ATTiny841)
And what was the issue? BTW, cli() just before sei() is totally unnecessary.
Saturday, 14 October 2017 - 18:02
ATmega1284 problem to debugg with jtag stop at 95% upload
I have no such problems with Atmel-ICE, but it happens to me often when I'm using Dragon and it happens with JTAG and TPI. I'm curious if the reason of my issue is the same as...
Saturday, 14 October 2017 - 17:56
Is there a way to read the WDT timer/counter value?
1. I have to call sleep_cpu() again at the end of my Timer2 interrupt handler, right? But do I also have to call sei() before calling sleep_cpu()? Probably yes. No. I do it in...
Thursday, 12 October 2017 - 15:56
Can not set breakpoint
Apparently there is no code generated for this line. Show us your code.
Thursday, 12 October 2017 - 11:12
Is there a way to read the WDT timer/counter value?
I think there is no way to read WDT counter value, but I think you can use Timer2 to measure long periods with high resolution. My solution is: - set Timer2 prescaler to the value...
Thursday, 12 October 2017 - 11:09
Erroneous output in multiplying number in ATmega32
there is one bug here: intermediate = adc_result*1999; //ERROR OCCURS HEREadc_result is 16-bit integer and the multiplication is done with 16-bit precision. For example, 878*1999...
Thursday, 12 October 2017 - 10:36
Number of pulses Zeroise when no pulse pick up
circumference = 31.429*diameter;There are following steps done by the code above: 1. diameter is implicitly converted to float 2. multiplication is done 3. the result is...
Thursday, 12 October 2017 - 08:05
I think you should convert value of the 'value' variable to a string and send this string via USART.
Thursday, 12 October 2017 - 06:08