Post Created date
if statement using float
Could you show us the complete code fragment? The following works on my (PC) compiler. int main(int argc, char* argv[]) { float RP = 0.0 ; printf("RP:%f\n", RP) ; if (RP...
Friday, 3 October 2008 - 14:11
Interrupt problem
Don't know the exact details for this chip, but I suspect that somewhere there will be a latched bit in the microcontroller that "remembers" that an "INT0" is required. This will...
Friday, 3 October 2008 - 10:04
Displaying a float number using stdio
You are telling it to print out an integer in decimal with "%d". Try something like the following code fragment. printf ("floats: %4.2f %+.0e %E \n", 3.1416, 3.1416, 3.1416);...
Friday, 3 October 2008 - 09:49
Using ATmega to "decode" an USB keyboard
My obeservation is that many USB keyboards are actually happy to function as PS/2 keyboards too. (Hence the little green adapter plug that they ship with.) As CirMicro says, it's...
Thursday, 2 October 2008 - 15:19
A lot of frame errors
Random guess here. I assume that the RS 485 receivers need to be enabled to allow them to transmit and disabled afterwards? It is not that you are disabling the transmitter...
Thursday, 2 October 2008 - 15:08
Winding an RFID Antenna
As an addendum to the above thread... Having found a TI supplier who is both helpful and knowledgeable (RFID Components Ltd. in the UK), they proposed buying a $1 47 uH coil from...
Thursday, 2 October 2008 - 14:55
ATMega2561 problem with AVR ISP mkII
Never used the 2561, but I have been getting off first base with an AtMega 32 project recently and was having problems reading the device signature at first. The problem turned...
Thursday, 18 September 2008 - 11:51
Winding an RFID Antenna
Thanks, Folks. It sounds like a project that is going to get handed over to the hardware guy when he gets home from the States. :) @Jim: You think I am still in engineering...
Thursday, 18 September 2008 - 09:14
Winding an RFID Antenna
Thanks, Ossi. We have multimeters and oscilloscopes. Could you suggest HOW we could actually measure the inductance? Sorry, but this is not even my area of knowledge, never mind...
Wednesday, 17 September 2008 - 15:49
Simple Embedded 802.11?
Thanks folks, much appreciated. :D
Monday, 28 April 2008 - 10:54
Then (IMHO) C++ is a great way to go. We have a large collection of modules that we run on products based on H8 MCUs, AtMega162, AtMega64 and PCs. Everything just works across...
Friday, 8 June 2007 - 11:35
How would you construct a 24-bit variable?
Disclaimers: 1/ I have not tried running this through WinAVR. It runs under Visual C++ .Net 2005. 2/ I am not proposing this as being my recommendation for a way to go forward. 3...
Thursday, 7 June 2007 - 17:57