Post Created date
AVR half duplex receiver interrupt error (ATTiny841)
The first thing is that the c variable in main() should be volatile and commsController should be pointer to volatile.
Thursday, 12 October 2017 - 05:22
Number of pulses Zeroise when no pulse pick up
During development, I usually add code that shows in the clear way that there is MCU reset, for example two LED-s blinking three times or something like this. It really helps to...
Wednesday, 11 October 2017 - 12:56
Number of pulses Zeroise when no pulse pick up
Kartman wrote: You don't need the cli() and sei() as the AVR does this already for you. It's not only not needed, it is just wrong.
Wednesday, 11 October 2017 - 08:32
Number of pulses Zeroise when no pulse pick up
Is the tacho input pin connected with timer 1 capture pin? Your code enables timer 1 overflow interrupt, but you have no handler for this interrupt. So, if there is no input...
Wednesday, 11 October 2017 - 07:36
Generating lookup table at compile time using features from C++14
skeeve wrote: Have you tested this? With the call to sin(), I'm surprised it works. I'm also surprised, but it works. The sin() function is declared with attribute __ATTR_CONST__...
Tuesday, 10 October 2017 - 18:06
Did I fry my SCL pin on my xmega32E5?
What about code flashed on this microcontroller? Maybe it forces low state on the SCL pin. Clear the microcontroller FLASH and then check SCL pin state.
Tuesday, 10 October 2017 - 11:33
Do I need to consider something special for circuit i put on car?
Your device should work correctly in wide temperature range, from winter night temperature to temperature in a car staying entire day in summer sun. I took a look at datasheets of...
Monday, 9 October 2017 - 07:53
Large buffer makes AVR crash
Eliott wrote:My guess is stack overflow: so I use more Data Memory that I have ? Yes. If you have 270 bytes free, you can store 270 bytes on stack. If you store more data, the...
Sunday, 8 October 2017 - 13:29
Large buffer makes AVR crash
1. You haven't posted the complete code. 2. My guess is stack overflow.
Saturday, 7 October 2017 - 17:45
Number of pulses Zeroise when no pulse pick up
My guess is the reason is in the part of the code you haven't attached. My suggestion is: attach the complete code.
Friday, 6 October 2017 - 06:29
Reading the external crystal.
What do you mean by "read the external crystal"?
Friday, 29 September 2017 - 10:14
C question -- init string without trailing null possible?
westfw wrote: Are you sure? I tried to compile this and there were no errors. It works for both C and C++. Failed for me with avr-gcc 5.4, 4.3.x, and Apple llvm 6.00   BillW...
Friday, 29 September 2017 - 09:54

Pages