Post Created date
sprintf problems using %f
Thanks guys, thank u all. I was in the same situation, but I succesfully resolved it after reading this thread :) gtpats wrote:http://winavr.scienceprog.com/avr-gcc-tutorial/using...
Sunday, 13 May 2012 - 06:43
why?! AVR Symulator
When I first installed AS5 and ran it with much enthusiasm for the first time... OMG it was love at first sight! :) but when I came to know the simulator doesn't support M8/16/32...
Wednesday, 30 March 2011 - 11:44
Strange problem reading port pin in m8
Oops! Just to be safe, it should be the other way round: I2C_SDA_LO; I2C_SDA_DIR_OUT; instead of: I2C_SDA_DIR_OUT; I2C_SDA_LO; same with SCL. As suggested by Jepael in the last...
Sunday, 23 May 2010 - 12:45
Unable to pass 16 bit value from another C file
I suppose that was a glitch with AVR studio. The next day, I compiled the same program with no change than before, & it returned 16 bit value. function prototype: uint16_t...
Sunday, 23 May 2010 - 12:20
Strange problem reading port pin in m8
Okay, I did it the proper way: replaced all instances of I2C_SDA_HI; with I2C_SDA_DIR_IN; //make I/P I2C_SDA_LO; //disable internal pullups, ext pullup used and I2C_SDA_LO; with...
Sunday, 23 May 2010 - 08:44
Strange problem reading port pin in m8
Yes! you are absolutely right. In fact, the original code for the 8051 did exactly that- it only pulled LOW the pin that needed to be zero. rest of the work was done by pullups. I...
Saturday, 22 May 2010 - 07:52
[TUT] [C] Using AVR PWM Modes
Coz it is simulating OC1A correctly! and in hardware also I have connected 2 LEDs to both the OCs. OC1A lights (dims) its respective LED, while OC1B doesnt.
Wednesday, 27 May 2009 - 11:41
[TUT] [C] Using AVR PWM Modes
Hi all, seems everybody's using OC1A here... I have also tried to set pwm on OC1B of mega8 but it didn't work. The (working) code I made for OC1A was: void pwm_set_1A(unsigned...
Wednesday, 27 May 2009 - 11:37
Ctrl+O gets AVR studio 4 crashing !
clawson wrote:I've had a general problem with slow response from the Windows file selector in a number of programs caused by having some permanent drive mappings to non-existent (...
Tuesday, 7 April 2009 - 16:38