Differenze

Queste sono le differenze tra la revisione selezionata e la versione attuale della pagina.

Link a questa pagina di confronto

Entrambe le parti precedenti la revisione Revisione precedente
Prossima revisione
Revisione precedente
talks:avr-microcontrollers [03/06/2016 20:03]
alez
talks:avr-microcontrollers [04/06/2016 12:34] (versione attuale)
alez [Makefile]
Linea 17: Linea 17:
   * gcc-avr   * gcc-avr
   * avr-binutils   * avr-binutils
-  * [[www.nongnu.org/​avrdude/​|avrdude]]+  * [[http://www.nongnu.org/​avrdude/​|avrdude]]
  
 ==== Fundamentals ==== ==== Fundamentals ====
Linea 88: Linea 88:
 The following example is a simplified [[http://​www.instructables.com/​id/​The-Fibonacci-Clock/​|Fibonacci clock]], that shows the SECONDS (yes, only the seconds) over 5 leds. The following example is a simplified [[http://​www.instructables.com/​id/​The-Fibonacci-Clock/​|Fibonacci clock]], that shows the SECONDS (yes, only the seconds) over 5 leds.
  
-==== Level 3 Headline ​====+==== simplified fibonacci clock - C Example Code ====
 <code C> <code C>
 #include <​avr/​io.h>​ #include <​avr/​io.h>​
Linea 153: Linea 153:
  
 Source: [[http://​wwww.psychogenic.com/​]] Source: [[http://​wwww.psychogenic.com/​]]
 +
 +My addition: '​fuse'​ target.
  
 <​code>​ <​code>​
Linea 216: Linea 218:
 ####################################################​ ####################################################​
  
 +## fuse target addition by Alessandro Mauro (c) 2016
 +##  (www.maetech.it)
 +## please ADJUST this section to your needs!!!
 +## use 'make fuse' to write the fuse byte
 +
 +fuse:
 +        $(AVRDUDE) -c $(AVRDUDE_PROGRAMMERID) ​  \
 +         -p $(PROGRAMMER_MCU) -P $(AVRDUDE_PORT) \
 +         -U lfuse:​w:​0xef:​m
  
 #####         ​Target Specific Details ​         ##### #####         ​Target Specific Details ​         #####
Navigazione

Table of contents

Contact

For any info you can write to:
Per qualunque info potete scrivere a:
info[at]maetech[dot]it

Ads

Stampa/Esporta
QR Code
QR Code talks:avr-microcontrollers (generated for current page)