Post Created date
ATTiny85 Interrupt Driven multiple analog input selection
Is it possible to use a pin as input and fire a pin change interrupt as well as use it for A/D conversions simultaneously ? Can it be done like this- ISR (PCINT0_vect) { //...
Tuesday, 23 February 2016 - 08:43
CTC mode issues
Follow Dean's tutorials. He explains it thoroughly.
Monday, 22 February 2016 - 16:46
CTC mode issues
In that case, it should be if ( HeartBeat>400) as Kartman said in post #6.
Monday, 22 February 2016 - 07:56
CTC mode issues
if(HeartBeat) will always be evaluated to true. Either use if (HeartBeat==1) or declare another variable which is set to 1 once heartbeat crosses twenty. Then in the loop, check...
Monday, 22 February 2016 - 06:35
Static Guide
Thanks for the suggestions and clearing my static doubt about static :-)
Sunday, 14 February 2016 - 16:06
Static Guide
clawson wrote: getting a good book about C programming Any recommendations. I mean not online stuff, any book that i can buy and read. I have no idea about good C books.
Sunday, 14 February 2016 - 04:43
Static Guide
So any function can be declared static which isn't shared by files. What i get is, there is no harm in making some functions static which are called more than once like usart_put...
Saturday, 13 February 2016 - 16:36
Static Guide
Cliff you thoroughly mentioned the uses of declaring variables and functions static. Are there any benefits of doing this ? I mean if i write a .c file which i know i wont be...
Saturday, 13 February 2016 - 14:27
Static Guide
steve17 wrote In C++ I rarely have functions called usart_init() etc..  We call them constructors. True. They initialise objects for you and also does the job of destroying...
Saturday, 13 February 2016 - 14:11
Static Guide
Static on a function can give the compiler some hints to optimise the code. It also tells you that it is local to that file. Basically, use when needed. Is it the reason why...
Saturday, 13 February 2016 - 13:28
Static Guide
It means the compiler allocated memory for it rather than creating it at run time on the stack. Is this the reason why there should not be many static functions or variables in...
Saturday, 13 February 2016 - 12:06
How to configure outputs with time?? ATmega8L-8PU
Im very sorry. I thought you were talking about the orginal idea of this post and not your post. But you were talking about the original idea of your post. Im sorry i...
Monday, 8 February 2016 - 11:45