Schemat to najprostsze podłączenie na płytce stykowej.
VCC/AVCC filtrowane przez kondesator 100nF
Reset pociagniety przez rezystor 10k
Na Pinie nr 20 przez rezystor 1k połączona dioda
W schemacie błędu nie ma ale mogę zrobić zdjęcie ewentualnie.
Kod programu jest przykładem z Arduino "blink"
Program się kompiluje, wgrywa ale atmega nie wystawia na pinie nr 20 stanu wysokiego, niskiego napięcie stałe około 1,7V
VCC/AVCC filtrowane przez kondesator 100nF
Reset pociagniety przez rezystor 10k
Na Pinie nr 20 przez rezystor 1k połączona dioda
W schemacie błędu nie ma ale mogę zrobić zdjęcie ewentualnie.
Kod programu jest przykładem z Arduino "blink"
Kod:
// the setup function runs once when you press reset or power the board
void setup() {
// initialize digital pin LED_BUILTIN as an output.
pinMode(20, OUTPUT);
}
// the loop function runs over and over again forever
void loop() {
digitalWrite(20, HIGH); // turn the LED on (HIGH is the voltage level)
delay(5000); // wait for a second
digitalWrite(20, LOW); // turn the LED off by making the voltage LOW
delay(5000); // wait for a second
}
Program się kompiluje, wgrywa ale atmega nie wystawia na pinie nr 20 stanu wysokiego, niskiego napięcie stałe około 1,7V