-
Datei
Anfang.bas
$regfile = "attiny13.dat" $hwstack = 10 $swstack = 10 $framesize = 8 Dim R As Byte Dim G As Byte Dim B As Byte Dim Ad As Word Config Portb.0 = Output Config Portb.1 = Output Config Portb.2 = Output R = Portb.0 'Alias fuer die RGB Ports setzen G = Portb.1 B = Portb.2 Config Timer0 = Pwm , Prescale = 1 , Compare A Pwm = Clear Down Config Adc = Single , Prescaler = Auto Start Adc Enable Timer0 Do Ad = Getadc(3) Select Case Ad Case 50 To 100 R = 125 Case 100 To 150 R = 250 Case 200 To 250 R = 125 G = 125 Case 250 To 300 G = 250 Case 350 To 400 G = 125 B = 125 Case 400 To 450 B = 250 Case 450 To 500
in „Bitte kurz mein Code anschauen“ · Mikrocontroller und Digitale Elektronik ·
-
Bild
LED-Streifen mit Typenbezeichnung
V+ MK-2835-5083P-1508MD-JHD-40W-V01 2021-05-20 HQ-R5389 (30905747) V-
in „Netzteil von LED Deckenleuchte defekt“ · Analoge Elektronik und Schaltungstechnik · · Platinenfotos
-
Datei
anfang_fertig_withouttimerandsscroller.bas
$regfile = "m16def.dat" $crystal = 3686400 Config Porta = Output Config Portc = Output Config Portb = Output Config Portd = Output Dim Port_zeile As Byte Dim Frame_pos As Byte Dim Spalte1 As Byte Dim Spalte2 As Byte Dim Spalte3 As Byte Dim S2 As Word Dim S1 As Word Dim S3 As Word Dim Wiederholung As Word 'Timerkonfiguration------------------------------------------------------------- Config Timer0 = Timer , Prescale = 8 On Ovf0 Mach_was Enable Ovf0 Enable Interrupts 'Hauptschleife------------------------------------------------------------------ Do Loop 'Subroutine-----------------------------
in „Problem mit gosub in Bascom“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
anfang_fertig_withouttimerandsscroller.bas
$regfile = "m16def.dat" $crystal = 3686400 Config Porta = Output Config Portc = Output Config Portb = Output Config Portd = Output Dim Port_zeile As Byte Dim Frame_pos As Byte Dim Spalte1 As Byte Dim Spalte2 As Byte Dim Spalte3 As Byte Dim S2 As Word Dim S1 As Word Dim S3 As Word Dim Wiederholung As Word Dim Shifts As Word Dim X1 As Word Dim X2 As Word Dim X3 As Word 'Timerkonfiguration------------------------------------------------------------- Config Timer0 = Timer , Prescale = 8 On Ovf0 Mach_was Enable Ovf0 Enable Interrupts 'Hauptschleife---------------------------------------------------
in „Problem mit gosub in Bascom“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
Code_TueRschloss_Anfang.txt
#include <platform-config.h> #include <board/bsp.h> #include "app/factory.h" using namespace QP; void delay(int counter); void delay(int counter) { uint16_t del = 0; for(del = 0; del < counter ; del ++) { for(uint16_t del_counter = 0 ; del_counter < 1680 ; del_counter ++){/*NOP*/} } } int main() { //===================================================================================================== // Initialisation //===================================================================================================== BSP_init(); // Initialize board specific stuff QF::init(); // Initialize execution
in „C++ if-Bedienung“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
akku_004_Ri_180709_Last_0_9Ohm_Anfang.pdf
1500 1 W M 1400 1300 1200 1100 1000 900 800 700 600 500 400 300 200 100 0 0 30 60 90 120 s
in „DIY Batterietester?“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.c
] = 1000; kanal_pulsdauer[4] = 1000; kanal_pulsdauer[5] = 1000; kanal_pulsdauer[6] = 6000; timer_anfang_buffer[0] = 0; timer_anfang_buffer[1] = 0; timer_anfang_buffer[2] = 0; timer_anfang_buffer[3] = 0; timer_anfang_buffer[4] = 0; timer_anfang_buffer[5] = 0; timer_anfang[0] = 0; timer_anfang[1] = 0; timer_anfang[2] = 0; timer_anfang[3] = 0; timer_anfang[4] = 0; timer_anfang[5] = 0; timer_ende[0] = 0; timer_ende[1] = 0; timer_ende[2] = 0; timer_ende[3] = 0; timer_ende[4] = 0; timer_ende[5] = 0; sei(); while
in „RC Summensignal erzeugen aus 6 Kanälen (Modellbau)“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.c
= 1000; kanal_pulsdauer[5] = 1000; kanal_pulsdauer[6] = 1000; kanal_pulsdauer[7] = 10000; timer_anfang_buffer[0] = 0; timer_anfang_buffer[1] = 0; timer_anfang_buffer[2] = 0; timer_anfang_buffer[3] = 0; timer_anfang_buffer[4] = 0; timer_anfang_buffer[5] = 0; timer_anfang[0] = 0; timer_anfang[1] = 0; timer_anfang[2] = 0; timer_anfang[3] = 0; timer_anfang[4] = 0; timer_anfang[5] = 0; timer_ende[0] = 0; timer_ende[1] = 0; timer_ende[2] = 0; timer_ende[3] = 0; timer_ende[4] = 0; timer_ende[5] = 0; sei(); while
in „RC Summensignal erzeugen aus 6 Kanälen (Modellbau)“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.c
kanal_high[2]) { kanal_high[2] = 0; timer_ende[2] = timer_aktuell; timer_anfang_buffer[2] = timer_anfang[2]; } if (!(PINA & (1<<PINA3)) && kanal_high[3]) { kanal_high[3] = 0; timer_ende[3] = timer_aktuell; timer_anfang_buffer[3] = timer_anfang[3]; } if (!(PINA & (1<<PINA4)) && kanal_high[4]) { kanal_high[4] = 0; timer_ende[4] = timer_aktuell; timer_anfang_buffer[4] = timer_anfang[4]; } if (!(PINA & (1<<PINA5)) && kanal_high[5]) { kanal_high[5] = 0; timer_ende[5] = timer_aktuell; timer_anfang_buffer[5] = timer_anfang[5]; } } int wait (uint16_t dauer)
in „RC Summensignal erzeugen aus 6 Kanälen (Modellbau)“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
Schrittmotor.asm
nullen ldiw z, Dezwert rcall USART_Transmits ;USART_Transmits: Text aus SRAM ausgeben - Z zeigt auf Anfang -Ausgabe bis "0x00" ldiw Z, Textcr*2 ;Anfang Pufferspeicher rcall USART_Transmitf ;Text aus Programmspeicher --> senden Geschwi: ;Geschwindigkeit anzeigen ldiw Z, Textgi*2 ;Anfang Pufferspeicher -
in „Spielerei mit einem 2- und 5-Phasen-Schrittmotor“ · Projekte & Code ·
-
Datei
Schrittmotor.asm
nullen ldiw z, Dezwert rcall USART_Transmits ;USART_Transmits: Text aus SRAM ausgeben - Z zeigt auf Anfang -Ausgabe bis "0x00" ldiw Z, Textd*2 ;Anfang Pufferspeicher - Wiederholungen - rcall USART_Transmitf ;Text aus Programmspeicher --> senden ldiw Z, Textcr*2 ;Anfang Pufferspeicher rcall USART_Transmitf
in „Spielerei mit einem 2- und 5-Phasen-Schrittmotor“ · Projekte & Code ·
-
Datei
Laufschr.asm
; text02: ; Festtext02: ldi temp, 0x80 ; Positionierung Anfang rcall comd2lcd ; Zeile 1, Spalte 1 rcall delay_2 ldi ZL, LOW(text002*2) ; Adresse des Strings in den ldi ZH, HIGH(text002*2) ; Z-Pointer laden rcall print ; Funktion print aufrufen rcall delay_3 ret
in „LCD Lauftext Atmega8“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
Schrittmotor.asm
nullen ldiw z, Dezwert rcall USART_Transmits ;USART_Transmits: Text aus SRAM ausgeben - Z zeigt auf Anfang -Ausgabe bis "0x00" ldiw Z, Textcr*2 ;Anfang Pufferspeicher rcall USART_Transmitf ;Text aus Programmspeicher --> senden Geschwi: ;Geschwindigkeit anzeigen ldiw Z, Textgi*2 ;Anfang Pufferspeicher -
in „Spielerei mit einem 5-Phasen-Schrittmotor“ · Projekte & Code ·
-
Datei
main.c
erkannt => Pulsmessung beginnt if ((PINA & (1<<PINA0)) && (!kanal1_high)) {kanal1_high = 1; timer_anfang[0] = timer_aktuell;} if ((PINA & (1<<PINA1)) && (!kanal2_high)) {kanal2_high = 1; timer_anfang[1] = timer_aktuell;} if ((PINA & (1<<PINA2)) && (!kanal3_high)) {kanal3_high = 1; timer_anfang[2] = timer_aktuell;} if ((PINA & (1<<PINA3)) && (!kanal4_high)) {kanal4_high = 1; timer_anfang[3] = timer_aktuell;} if ((PINA & (1<<PINA4)) && (!kanal5_high)) {kanal5_high = 1; timer_anfang[4] = timer_aktuell;} if ((PINA & (1<<PINA5)) && (!kanal6_high)) {kanal6_high = 1; timer_anfang[5] = timer_aktuell
in „RC Summensignal erzeugen aus 6 Kanälen (Modellbau)“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
Kleines_LCD_Tutorial.htm
datenuebernahme rcall verzoegerung3 ; Pause zwischen den Zeichen ldi temp, 0xC0 ; Positionierung auf Anfang Zeile 2 rcall kommando ldi temp, 0x20 ; Senden eines Leerzeichens rcall datenuebernahme ldi temp, 0xC0 ; Positionierung auf Anfang Zeile 2 rcall kommando ldi temp, 0x31 ; Senden der Ziffer "1" auf
in „AVR-Tutorial: LCD - Erweiterung lcd-routines.asm - Bitte um Feedback“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
GriechischesLadegeraet______5010.pdf
Lüfter. Ich freue mich auf Meinungen und Ratschläge! Beiträge: 113 Wohnort: Kubrat gehe zurück zum Anfang DJ69VN Gepostet: Montag, 15. März 2010, 00:44 UhrBetreff des Beitrags: Re: Anfrage für griechisches KVRS 5010 Erfahrener Benutzer Registriert Für einen solchen Zweck verwende ich 4 solcher Griechen
in „Drehspul-Einbauinstrument“ · Analoge Elektronik und Schaltungstechnik ·
-
Datei
C-Code.txt
MAXDATEN]; unsigned char xdata tag1[MAXDATEN]; unsigned char xdata tag2[MAXDATEN]; unsigned char xdata anfang1[MAXDATEN]; unsigned char xdata anfang2[MAXDATEN]; unsigned char xdata ende1[MAXDATEN]; unsigned char xdata ende2[MAXDATEN]; unsigned int letztedaten=MAXDATEN; //Hilfsvariable für die Datensätze //
-
Datei
vLCD8x24.inc
Anfang Zeile 6 lcd_upd6: cpi zl,low(vlcd+spn*6) ;Ende Zeile 6? brne lcd_upd7 ;nein... ldi tmp,120 ;ja, Anfang Zeile 7 lcd_upd7: cpi zl,low(vlcd+spn*7) ;Ende Zeile 7? brne lcd_upd8 ;nein... ldi tmp,168 ;ja, Anfang Zeile 8 lcd_upd8: cpi zl,low(vlcd+spn*8) ;Ende Zeile 8? brne lcd_upd9 ;nein... ldi tmp,0 ;ja, Anfang Zeile 1 ldi zl,low(vlcd) ;Pointer auf Anfang lcd_upd9: cpi tmp,255 ;Zeilenwechsel (tmp != 255) erkannt
in „atmega 8 als schnitstelle“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
SlowCam_TWO.txt
Lcd "copyright" Locate 2 , 3 Lcd "Martin Goerke" Wait 4 Cls Ausloeser = 1 Waitms 500 Ausloeser = 0 Anfang: Do Locate 1 , 1 Lcd "Taster 1 Autom." Locate 2 , 1 Lcd "Taster 2 Manuell" If Taster1 = 0 Then Goto Anfang1 If Taster2 = 0 Then Goto Anfang2 Waitms 10 Loop Anfang1: Waitms 500 Cls Manuell = 0 Do Locate
in „Atmega8 Speicher zu klein“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
testroutine_measureboard.bas
------------------------------------------------- Dim Temp1 As Byte '-----------------------UART Anfang--------------------------------------------- $baud = 38400 'Definieren einer allgemeinen Schnittstelle 'RS485 $baud1 = 38400 'definieren von Com2(muss sein sonst lässt sich Com2-4 nicht definieren
in „Problem mit Waitkey und serialcharmatch“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
FrostSchutzElektrisch.txt
MUX_DIGITAL_EINGAENGE]; #define FrostSchutz 1 #if FrostSchutz #define FrostSchutzAnzahl 5 #define FrostAusgangAnfang 11 #define FrostEingangAnfang 0 #define FrostSchutzPrioritaetZeitSek 1200 unsigned char FrostSchutzPrioritaetNr; unsigned char FrostSchutzEingaengeBits; unsigned char FrostSchutzAusgaengeBits; unsigned
in „Frostschutz in mehren Räumen mit Elektroheizung.“ · Haus & Smart Home ·
-
PDF
zahlensysteme.pdf
! dezimales duales zählen zählen 00 0 01 1 Ziffernvorrat zu Ende 02 10 nächste Stelle +1, von 0 anfangen 03 11 Ziffernvorrat zu Ende 04 100 nächste Stelle +1, von 0 anfangen 05 101 Ziffernvorrat zu Ende 06 110 nächste Stelle +1, von 0 anfangen 07 111 Ziffernvorrat zu Ende 08 1000 nächste Stelle +1, von 0 anfangen 09 Ziffernvorrat zu Ende 1001 Ziffernvorrat zu Ende 10 nächste Stelle +1, von 0 anfangen1010 nächste Stelle +1, von 0 anfangen 11 1011 Ziffernvorrat zu Ende 12 1100 nächste Stelle +1, von 0 anfangen
in „Zahlensysteme - Script“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
lcd.c
an den Anfang // setzen i=0; chars=0; } if ((P5IN & 0x10) == 0) // Taster 2 abfragen { LCDClear(); // Display löschen und Cursor an den Anfang // setzen row=0; // Zählvar. für Reihen resetten i=0; for(ii=0;ii<80
in „MSP430 Problem mit LCD“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.txt.txt
&= ~(1<< PC4); //Ende Zeile 1 _delay_ms(250); _delay_ms(250); _delay_ms(200); _delay_ms(220); //Anfang Zeile 2 PORTC &= ~(1 << PC2); delay10s(); delay1s(); delay1s(); delay1s(); delay1s(); _delay_ms(70); PORTC |= (1 << PC2); //Ende Zeile 5 delay10s(); delay1s(); _delay_ms(10); //Anfang Zeile 10 } if
in „Problem mit AVR Bitte Hilfe Dringend“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
Auschnitt.txt
menue71*2) ldi zh,high(menue71*2) rcall msg_out ldi temp1,zeile2 ; setzte Cursor in zweite Zeile (Anfang) rcall sendebefehl ; Befehl senden rcall msg_out ldi temp1,zeile3 ; setzte Cursor in dritte Zeile (Anfang) rcall sendebefehl ; Befehl senden rcall msg_out ldi temp1,zeile4 ; setzte Cursor in vierte
in „"komische" Zeichen auf dem LCD“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
Drehgeber.c
////////////////////////////////////////// Start /////////////////////////////////////////////// Anfang lcd_init(); set_cursor (0,1); lcd_string (" Herzlich "); set_cursor (0,2); lcd_string (" Willkommen "); _delay_ms(600); /////////////////////////////////////////////// Start ///////////////////////
in „kleines Problem im Code“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
Ausschnitt.asm.txt
menue71*2) ldi zh,high(menue71*2) rcall msg_out ldi temp1,zeile2 ; setzte Cursor in zweite Zeile (Anfang) rcall sendebefehl ; Befehl senden ldi zl,low(menue72*2) ldi zh,high(menue72*2) rcall msg_out ldi temp1,zeile3 ; setzte Cursor in dritte Zeile (Anfang) rcall sendebefehl ; Befehl senden ldi zl,low(
in „"komische" Zeichen auf dem LCD“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.c
********************* s_p=funkt75_30(touch_x,touch_y, 30 ,5); // actueller x , actueller y Wert, Anfang x , Anfang y s_m=funkt75_30(touch_x,touch_y, 30 ,205); // actueller x , actueller y Wert, Anfang x , Anfang y v_m=funkt75_30(touch_x,touch_y, 190 ,5); // actueller x , actueller y Wert, Anfang x , Anfang y v_p=funkt75_30(touch_x,touch_y, 190 ,205); // actueller x , actueller y Wert, Anfang x , Anfang y // ************************************************************************************ // Ausgabe
in „STM32F4 DISCOVERY und SainSmart 3.2″ Display“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
lottozahlengenerator.txt
include reg_51.pdf initialisierung: clr P3.7 setb P3.6 mov R0,(6dezi xx hex) mov R1,00h anfang: jb (TasterPort),anfang2 sjmp anfang anfang2: acall countup acall switchseg acall checktenth sjmp anfang count: DJNZ R0,speicherausgabe ret switchseg: (check zahl größer 9) clr P3.6 setb P3.7 ret checktenth
in „8051 - "Lottozahlengenerator" in Assembler“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
ATMEGA8-RS232-ASCII-ZU-DEZIMALWERT.txt
Hunderter ausgeben mov temp4, temp2 ; Hunderter sichern für spätere Subtraktion für Einer ldi temp, 48 ; Anfang ASCII 0 für Ausgabe der Werte in Dezimalform add temp1,temp ; Addieren Anzahl der Hunderter mit Anfang ASCII 0 rcall usart_transmit ; Ausgeben ;Auswertung wieviel Zehner vorhanden sind. mov temp, rcv_byte
in „Atmega8 - RS232 - ASCII zu DEZIMALWERT“ · Projekte & Code ·
-
Datei
pic_asm.asm
REG1,1 ;da der Fall drei nur dann eintritt, wenn Jemand kommt und gleichzeitig Einer geht, wird zum Anfang gesprungen NOP GOTO anfang kommen: INCF ZAEHL,1 ;es kommt einer in den raum. also wird 0C incrementiert MOVF ZAEHL,0 MOVWF PORTB ;der wert von 0C wird an PORTB ausgegeben GOTO anfang gehen: DECF ZAEHL
in „Problem mit PIC16F84A“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
counting_up.asm
, 0x00; zahl2 wieder auf anfang add r21, r26; RCALL get_ziffer mov zahl3, zahl1 ; register kopieren sub r21, r26; RCALL get_ziffer cpi zahl3, 0x81 breq zahl4_up; ret zahl4_up: inc r27 ldi r21, 0x00; zahl1 wieder auf anfang ldi r25, 0x00; zahl2 wieder auf anfang ldi r26, 0x00; zahl3 wieder auf anfang add r21, r27; RCALL get_ziffer mov zahl4, zahl1 ; register kopieren sub r21, r27; RCALL get_ziffer cpi zahl4, 0x81 breq zero; ret zero: ldi r21, 0x00; alles wieder
in „DS18S20 und 4 x 7Segment - Anzeige“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
pic.asm
REG1,1 ;da der Fall drei nur dann eintritt, wenn Jemand kommt und gleichzeitig Einer geht, wird zum Anfang gesprungen NOP GOTO anfang kommen: INCF ZAEHL,1 ;es kommt einer in den raum. also wird 0C incrementiert MOVF ZAEHL,0 MOVWF PORTB ;der wert von 0C wird an PORTB ausgegeben GOTO anfang gehen: DECF ZAEHL
in „Problem mit PIC16F84A“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
Kondensatormotor-sin_20200323c.ino
10 / 10); // Berechnung der Hilfsspannung für Dekupiersäge } void liste20(){ mvv = mv; // Zähler Anfang mvist = micros(); // Multivibrator Anfang if(mvist - mvstart >= (50 * per)){mvstart = mvist; if(mv == LOW){mv = HIGH;} else {mv = LOW;}} // Multivibrator Ende if(mv != mvv){zahl ++;} if(zahl >= 21)
in „Arduino Kondensatormotor Drehzahlsteuerung“ · Analoge Elektronik und Schaltungstechnik ·
-
Datei
image2c.c
fopen(inputfile, "r+b"); // Datei zum Lesen oeffnen fseek(binfile,0,SEEK_SET); // Dateizeiger auf Anfang der Datei setzen cnt= 0; ganz= 0; anz= fread(buffer, 1, bufsize, binfile); fclose(binfile); if (convdata) // Bilddaten konvertieren { fprintf(cfile,"\n#define pcximagebytes %u\n\n",filesize-768); if
-
Datei
image2c.c
fopen(inputfile, "r+b"); // Datei zum Lesen oeffnen fseek(binfile,0,SEEK_SET); // Dateizeiger auf Anfang der Datei setzen cnt= 0; ganz= 0; anz= fread(buffer, 1, bufsize, binfile); fclose(binfile); if (convdata) // Bilddaten konvertieren { fprintf(cfile,"\n#define pcximagebytes %u\n\n",filesize-768); if
-
Datei
Variante1.asm
timer, 0x00 ; Timer löschen out PORTD, temp ; PORTD löschen out PORTC, temp ; PORTC löschen clr null anfang: cli ; Globalen Interrupt ausschalten ; in temp, PINb ; Port B einlesen sbic Pinb,0 ;Überspringe wenn PinB0=0 rjmp hochzaehlen ; andi temp, 1 ; mit 1 ver-unden ; cpi temp, 1 ; Taste1 gedrückt? ; brne
in „Assembler-Kode Optimierung“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
Geigerzaehler.c
set_cursor(2,2); lcd_string("mit VA-Z-310"); //lcd_eep_string(StartbildZ2); _delay_ms(600); lcd_clear(); Anfang: while(1) //Anfang Programmschleife { set_cursor(0,1); lcd_string("Zum Starten ein"); //lcd_eep_string(PrgauswahlZ1); set_cursor(0,2); lcd_string("Programm w\xE1hlen"); //lcd_eep_string(PrgauswahlZ2
in „16-Bit Zahl auf LCD“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
beispiel_serial.ino
if(!Serial.available()) return; // Variablen String inccomming = ""; String value = ""; uint8_t anfang_pay_load = 6; uint8_t letztes_zeichen = 0; int index = 0; int match = 0; // Ließt ein was über Serial Monitor kommt while(Serial.available()){ inccomming += (char)Serial.read(); delay(1); }; // Bestimmt
in „Es erscheint nichts auf dem Seriellen Monitor?“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
beispiel_serial.ino
if(!Serial.available()) return; // Variablen String inccomming = ""; String value = ""; uint8_t anfang_pay_load = 6; uint8_t letztes_zeichen = 0; int index = 0; int match = 0; // Ließt ein was über Serial Monitor kommt while(Serial.available()){ inccomming += (char)Serial.read(); delay(1); }; // Bestimmt
in „Es erscheint nichts auf dem Seriellen Monitor?“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
out.c
mindest noetiger Stellenzahl ziffern=z_max; // alle noetigen Stellen darstellen space=0; // spaces am Anfang unterdruecken } else if (nachkomma==0){ // Ganzzahlausgabe mit fester Stellenzahl lt. vorkomma space=1; // spaces am Anfang einbauen fuer feste Stellenzahl } else if (vorkomma==0){ // Komma-Ausgabe
in „Atmega32U4-Board: USB-Ausgabe in Betrieb nehmen“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
out.c
mindest noetiger Stellenzahl ziffern=z_max; // alle noetigen Stellen darstellen space=0; // spaces am Anfang unterdruecken } else if (nachkomma==0){ // Ganzzahlausgabe mit fester Stellenzahl lt. vorkomma space=1; // spaces am Anfang einbauen fuer feste Stellenzahl } else if (vorkomma==0){ // Komma-Ausgabe
in „Atmega32U4-Board: USB-Ausgabe in Betrieb nehmen“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
Kondensatormotor-sin_20200323b.ino
weg Ende if(netzweg == HIGH) // Bremse bei Netzspannung weg Anfang {digitalWrite(potipluspin,LOW); bremsist = millis(); if(bremsist -bremsstart > bremsdauer) {zwk = HIGH; digitalWrite(relaispin,LOW);}} else{bremsstart = millis(); digitalWrite(potipluspin,HIGH);} /
in „Arduino Kondensatormotor Drehzahlsteuerung“ · Analoge Elektronik und Schaltungstechnik ·
-
Datei
Digital_Variometer.asm
reset .org $0003 rjmp Beep_Break_Int reset: ldi temp,low(RAMEND) out SPL,temp ;den StackPointer auf Anfang setzen ldi temp,HIGH(RAMEND) out SPH,temp sbi DDRB,PINB0 ;PINB0 als Ausgang für OC0B rcall Init_ADC ; Init alle Module rcall Init_Beep_Timer0 rcall Init_Break_Timer1 ldi ZH,high(SRAM_START) ;Pointer
in „Ansatz für digitales Differenzierglied“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
W__rfelfertig.bas
Config Portb = Output 'Den gesamten PortB als Output definieren Dim Warten As Byte Warten = 1 Gosub Anfang 'Da das ganze Programm in einer Schleife läuft, muss es hier einmal gestartet werden Anfang: 'Eigentliche Würfelfunktion Do If Pina.0 = 1 Then 'Wenn A0 High ist, wird die Portb = &B10000000 'LED für
-
Datei
Drehgeber.c
////////////////////////////////// Menüsteuerung /////////////////////////////////////////////// Anfang if (PIND & (1<<2) && (menue < 1)) { _delay_ms(200); menue = menue + 1; } if (PIND & (1<<2) && (menue > 0)) { _delay_ms(200); menue = menue - 1; } /////////////////////////////////////////////// Menüsteuerung
in „kleines Problem im Code“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
Zaehler.txt
rcall anfang2 z2: rcall pause lpm tst R0 breq za mov temp1, R0 adiw ZL,1 rcall lcd_data rcall pause rjmp z2 za: ldi temp, 48 ldi comp, 0 inc countl inc counth clt ;T-Flag löschen ldi temp1, -1 + '0' ;temp1 für
-
Datei
Code_Schloss.asm
a.hoeller@chello.at) ; Datum: 13.04.2003 ; ; Beschreibung; ; ; Mit den Tasten 1-5 (PinC, 0-4) wird anfangs ein 4 Zeichen ; langer Code eingeben.Entspricht dieser einem vorgebenen ; (richtigen) Code, wird dies am Ende durch ein Aufleuchten ; der grünen LED (PinD,7) angezeigt. Wird ein falscher Code ; eingeben
in „Anfänger-Problem mit Assembler“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
wetterstation.c
=calibakt+1; rs=0; sendbyte(0x80|D_jumpto); //Springe zu Anfang untere Displayzeile lcdpos=D_jumpto; sendwert(((aktmenue%1000)/100),tempint); } } break; } case 4 : { //DOWN-Taste if (aktmenue<65531&&(aktmenue<5000||aktmenue>=6000)&&aktmenue!=20&&aktmenue!=10) {
in „Probleme bei der Portierung von ATMEGA163 auf ATMEGA16“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
wetterstation.c
=calibakt+1; rs=0; sendbyte(0x80|D_jumpto); //Springe zu Anfang untere Displayzeile lcdpos=D_jumpto; sendwert(((aktmenue%1000)/100),tempint); } } break; } case 4 : { //DOWN-Taste if (aktmenue<65531&&(aktmenue<5000||aktmenue>=6000)&&aktmenue!=20&&aktmenue!=10) {
in „Probleme bei der Portierung von ATMEGA163 auf ATMEGA16“ · Mikrocontroller und Digitale Elektronik ·