Recent Discussions

RSS

Posted by cgchas on Wed. Oct 29, 2014 - 11:25 PM
Here are a couple of uglies that will get you four bytes starting at a given byte. #define pastex(a, b) a ## b #define paste2(a, b) pastex(a, b) #define...
Posted by ford2go on Sat. Nov 1, 2014 - 04:58 AM
Hi, One of the many odd things that I wonder about is a 'localnet of things' as opposed to the now famous 'internet of things'.   There are devices such...
Posted by VrIgHtEr on Mon. Jun 3, 2013 - 02:57 PM
// TCNTn: 011 - 014 // 11 = 00001011 // 12 = 00001100 // 13 = 00001101 // 14 = 00001110 // r16 needs to be reserved or preserved JITTER_NULLER: IN r16...
Posted by dominicmluciano on Sat. Nov 1, 2014 - 04:07 AM
I have a basic circuit with a push button switch and a 600 ohm resistor. The voltage is 2.2v. I was wondering if I could mimic this with my ATMega48A.  ...
Posted by vertamps on Sat. Nov 1, 2014 - 03:54 AM
/* As a new learner to micro-controllers i have been been writing out the processes of using the the timers to an end result in a branch graph style to help...
Posted by Deltor on Sat. Nov 1, 2014 - 01:37 AM
OK I'll move it to the Compiler's forum then. Or is that also not suitable for you since you chose not to post it there to start with?

Buzzing Topics (Last 6 Months)

RSS

Posted by brunomusw on Thu. Jun 12, 2014 - 05:59 PM
Thus we iranian are not lone. British and or even brazilians-self. :wink:
Posted by Michael@Atmel on Tue. Aug 26, 2014 - 12:04 AM
clawson wrote: Maybe its just me, but clicking on any links that I've found using google to "old" forum content just end up going to the home page of the new...
Posted by JohanEkdahl on Mon. May 19, 2014 - 07:32 PM
Quote:And hopefully someone will fix it now instead of waiting until we drown. This assumes that the vulnerability is currently exploited. I do not see...
Posted by ka7ehk on Fri. Jul 11, 2014 - 08:29 PM
I didn't read all 11 pages of this thread, only the first couple. Here's a portable branch-free approach: int n = <10-bit input>; n = (n ^ 0x200) -...
Posted by asking on Fri. Aug 15, 2014 - 08:35 PM
About a dozen messages ago, Lee askd you if the a/d reading was Nice and Smooth 0x000 to 0x7ff with a pot or something besides the current sensor. If it is,...
Posted by checkingavrout on Wed. May 7, 2014 - 11:33 AM
if( ( new > old + 99 ) || ( new < old - 99 ) ) would be easier to read with #define THRESHOLD 99 if (abs (new - old)) > THRESHOLD) Notice that...