This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Usage: avrdude [options] | |
Options: | |
-p <partno> Required. Specify AVR device. | |
-b <baudrate> Override RS-232 baud rate. | |
-B <bitclock> Specify JTAG/STK500v2 bit clock period (us). | |
-C <config-file> Specify location of configuration file. | |
-c <programmer> Specify programmer type. | |
-D Disable auto erase for flash memory | |
-i <delay> ISP Clock Delay [in microseconds] | |
-P <port> Specify connection port. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ------- Preamble ------- // | |
#include <avr/io.h> | |
#include <util/delay.h> /* Time delay function */ | |
#define DELAYTIME 250 /* milliseconds */ | |
#define LED_PORT PORTB | |
#define LED_DDR DDRB | |
int main(void) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ------- Preamble ------- // | |
#include <avr/io.h> | |
#include <util/delay.h> /* Time delay function */ | |
#define DELAYTIME 250 /* milliseconds */ | |
#define LED_PORT PORTB | |
#define LED_DDR DDRB | |
int main(void) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
void main(int argc, char[] argv) { | |
printf("hello, world!\n"); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
NewerOlder