Post Created date
I am having a problem with phase corrrect PWM mode 5 Tiny45
If you want to toggle OCR0B you should be setting COM0B0 & COM0B1 instead of the 'A' bits.
Wednesday, 31 October 2007 - 08:31
Analog Comparator
Quote: Can you guys elaborate on how you setup the pin as a "comparator" input? There's no specific setup needed. As the datasheet says, you should just make sure that the...
Friday, 26 October 2007 - 06:17
Analog Comparator
if(ACSR & (1 << 6)) // if ACO is set then Here's your problem. ACO is bit number 5, not 6. Quote: I think you have to set the appropriate bits in the DIDR register...
Tuesday, 23 October 2007 - 13:05
Problem with float operations
I checked another machine with a reasonably new IAR version (4.something) installed. Almost all of the libs in both clib and dlib folders had either a _mul or a _nomul suffix.
Friday, 12 October 2007 - 13:59
Problem with float operations
Quote: inspecting the disassembled code from library cl3s-ec.r90 I may be completely off on this one, but IIRC IAR ships with two C libraries, a "legacy" CLIB and a newer one...
Friday, 12 October 2007 - 11:52
Tiny13 and PWM
if(PORTB &= 1) This is not right. You're actually writing to the PORTB register. You should be reading the PINB register. Something like this: if(PINB & 1)
Thursday, 11 October 2007 - 06:53
Problem with ISP in existing hardware
Quote: Reading fuses, locks, or signature, I always get a message that there's an ISP error. Just a thought: Does reading a locked chip result in an ISP error? I'd assume that...
Monday, 24 September 2007 - 12:40
[SOLVED] mega644 bug, avr-gcc bug or ...
To check whether it really is an interrupt firing you could write a catch-all isr and see if it is ever entered. But since there's no sei() anywhere in your program, I'd guess it...
Wednesday, 19 September 2007 - 11:21
ATMega8 pb6 and pb7 voltage level problem
Lee, are you sure? Quote: -- 0xff is read back into R24 Doesn't the code actually read DDRC back to R24? And since the top two bits of DDRC are zero despite the previous write to...
Wednesday, 12 September 2007 - 06:22
Modbus
Here's a link to a modbus implementation. http://freemodbus.berlios.de/
Thursday, 6 September 2007 - 07:39
3510i LCD
Quote: Pin8 (Vlcd) is either the backlit power or the drive voltage for pixels. Really don't understand the point of connecting a cap to it? There seems to be conflicting info on...
Thursday, 6 September 2007 - 06:48
Sound Messages with AVR MCUs
Quote: and another request, if any one has a tutorial on the ADPCM please share .. as i am a beginner to this matter actually !! There's the Atmel application note AVR336: ADPCM...
Friday, 31 August 2007 - 07:47

Pages