python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
How to make function for save and replay tones on Arduino buzzer?
i have a question about my project in Arduino,
i have this array of frequencies for notes:
int note[] = {261, 293, 329, 349, 392, 440, 494, 523};
and this function for play notes if one of pushbutton...

Domagoj 954
Votes: 0
Answers: 1
Array is empty in debugger watch
When I look in the debugger watch, with breakpoint at _render, command containins only 0x00.
This is for a AVR processor.
int main(){
char hello[] = "Hello";
gfx_put_string(5, hello)...
Dwadelfri
Votes: 0
Answers: 1
Why is memcpy_P behaving this way in this arduino sketch?
I'm using memcpy_P to copy a row from a PROGMEM 2d array of structs into a buffer. The number of columns is specified by COLS_PER_FRAME.
memcpy_P(buf, FRAMES[i], COLS_PER_FRAME) works as expected.
If ...
the five states
Votes: 0
Answers: 1
AVR-GCC Overwrites Interrupt Vector Table with Main
I have a simple C program written for an ATmega168:
#include "avr/io.h"
#include "avr/interrupt.h"
volatile uint8_t intrs;
int main(void){
TCCR1B |= _BV(CS12) | _BV(CS10); \\ ...
Tony Gweesip
Votes: 0
Answers: 1