avr
GCC inline assembly : let compiler decide what register to use for temp value
I need to load 18h and output it to port 60h, following works (inside asm(\"\")). ldi r1, 0x18 ; 0x18 -> r1[详细]
2023-03-24 21:38 分类:问答Problems with Arduino libraries in the Eclipse environment (__vector_XX)
I\'m trying to migrate an Arduino IDE based project to Eclipse. The project is prett开发者_如何学JAVAy big (10 .pde\'s, and about 20 libraries used). I followed the directions in Arduino playground -[详细]
2023-03-19 05:24 分类:问答Programming Languages Targeting Arduino/AVR
What programming languages or environments ta开发者_JS百科rget Arduino or AVR besides the default C++ environment?[详细]
2023-03-17 18:23 分类:问答AVR Studio 5: compile C++ code
When creating a project in AVR Studio 5, it creates a .c file with following content: #include <avr/io.h>[详细]
2023-03-15 06:02 分类:问答AVR/Arduino: reading timer toggled port pin
I\'ve configured the timer 2 in CTC mode and to toggle the port pin on compare match (TCCR2A=0x42, TCCR2B=0x02, OCR2A=0x20) and have set DDR3 to output. Hence, according to the ATmega328P documentatio[详细]
2023-03-13 23:24 分类:问答Help needed with the ADXL345 SPI bus to AtMega644
Hi I\'m trying to get the SPI bus on a AtMega644 to talk to the ADXL345 accelerometer. I\'m always getting a 0 back and I\'m not where I\'m going wrong. Any help is appreciated. I\'m using avr-gcc and[详细]
2023-03-13 06:57 分类:问答AVR - Interrupt Vector and Global Variable
I am using an ATmega32 to interrupt every 32ms to do some arbitrary stuff, which isn\'t really important for now.[详细]
2023-03-09 05:40 分类:问答explain this code [closed]
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical andcannot be reasonably answered in its current form. For help clari[详细]
2023-03-05 19:20 分类:问答Can I use Arduino 16-bit PWM on only one pin?
I have an Arduino Duemilanove on which I would like to use the internal 16-bit timer to do PWM on pin 9 and not pin 10 (I have a Wifi shield in my project which requires the use of pin 10).[详细]
2023-02-28 08:32 分类:问答How to write an assembly ISR in a C program (AVR)?
Following on from my other question, Help optimising this C (AVR) code? :), I just realised that I don\'t really know the mechanics of how to implement an ISR in assembly within my C program. I google[详细]
2023-02-25 00:31 分类:问答