-
Artikel
AVR-Studio Bugs
a bug...) IDE-Fenster. B) Main IDE Window: ------------------------------------------------- B.1) -If files are opened or closed, this is only saved to project file if project options have been opened and comfirmed with OK-Button (then IDE will ask if changes to project should be saved). (This is not ot really a bug, but at least if you have closed 50 or more Tabs/Windows an then close the IDE you would not expect to have all windows open again if IDE is started the next time...) B.2) -If project files are renamed, the IDE sometimes
-
Artikel
IRMP - english
microcontroller can rarely enter an energy-saving sleep mode, or must constantly wake up from it. If power consumption is important, e.g. on battery power, this approach is not optimal. If IRMP_USE_IDLE_CALL is enabled, IRMP detects if no IR transmission is ongoing and then calls the function irmp_idle
bits + 2 extension bits + 2 data construction bits (normal: 00, inverted: 11) Start bit none 0 bit 310µs pulse, 745µs pause (in practice, theoretically: 275µs pulse, 775µs pause) 1 bit 310µs pulse, 1780µs pause (in practice, theoretically: 275µs pulse, 1900µs pause) Stop bit 310µs pulse (310µs pulse,
-
Artikel
USI
have to change the buffer_size in the usiTwiSlave.h file Buffer-Address is counted up automatically if (Buffer-Address > buffersize) --> start by Buffer-Address= 0 ---- USI Interface Register. hier als I2C/TWI: // 2-wire mode; Hold SCL on start and overflow; ext. clock USICR |= (1 Mit dieser Konfiguration
Forum. Attiny USI Slave Implementierung Erklärung zu ISP, I2C, TWI, SPI, ... ---- Weblinks. Atmel_AVR310 - Using the USI module as a I2C master Atmel_AVR312 - Using the USI module as a I2C slave Bibliothek für I2C/TWI Slave mit USI in "C" von Atmel_AVR319 - Using the USI module for SPI communication --
-
Artikel
P89626
-x dd if=/dev/${mtd} of=${outfile} ) if [ $? == 0 ]; then ( set -x md5sum ${outfile} > ${outfile}.md5 cat ${outfile}.md5 ) fi fi done nanddump. Hier ein Script, welches nanddump von Jeff Doozan benutzt (siehe
_" mtd_info=`cat /proc/mtd | grep ${mtd}` if [ -z "${mtd_info}" ]; then echo "Skip ${mtd} because it's not in /proc/mtd" else echo "Backup ${mtd_info}" prefix=${dest}/${mtd} backup=${prefix}.backup oob=${backup}.oob if [ -f ${backup} ]; then echo
-
Artikel
IRMP
dann über irmp_get_data() einfach drei Werte (Protokoll, Adresse und Kommando-Code), die man über ein if oder switch checken kann, z. B. hier eine Routine, welche die Tasten 1-9 auf einer Fernbedienung auswertet: Hier die möglichen Werte für irmp_data.protocol, siehe auch irmpprotocols.h: Die Werte für
Kommando 6 Datenbits + 2 Extension Bits + 2 Data Construction Bits (*) Start-Bit kein Start-Bit 0-Bit 310µs Puls, 745µs Pause (in der Praxis, lt. Doku: 275µs Puls, 775µs Pause) 1-Bit 310µs Puls, 1780µs Pause (in der Praxis, lt. Doku: 275µs Puls, 1900µs Pause) Stop-Bit 310µs Puls (310µs Puls, 745µs Pause