-
Datei
alf.c
PBM1usedInTISR = PBM1usedInMAIN; PBM1usedInMAIN = tPtr8; } void updatePWM() { unsigned char i, j, k, tmp0, tmp1; unsigned int tInt1, tInt2, min; tmp0 = 0; tmp1 = 0; //0. Bitmasken des Channel2Port-Mappings in RAM laden memcpy(pmwC2PBitmask0_RAM, pmwC2PBitmask0_FLASH, PWMChannels); memcpy(pmwC2PBitmask1
in „12bit, 9-Kanal Soft-PWM für LEDs auf Mega16“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.cc
( 39.36), y.push_back( 19.56); #endif cout << endl << "created " << x.size() << " points"; // fill in p2p dist array for(int i=0;i<x.size();i++) { vector<double> tmpV; for(int j=0;j<x.size();j++) { double dx=x[i]-x[j]; double dy=y[i]-y[j]; double tmpD=sqrt(dx*dx+dy*dy); tmpV.push_back(tmpD); } p2pDist.push_back(tmpV); } cout << endl << "p2p distance calculated" << flush; cout << endl << "starting calculation" << flush; calc(); cout << endl; return
-
Datei
dual_fading.c
|= 3; // precaler 64 -> ~122 Hz PWM frequency for(tmp=0; tmp<=63; tmp++){ OCR1A = pgm_read_word(pwmtable_10+tmp); my_delay(delay); } for(tmp=63; tmp>=0; tmp--){ OCR1A = pgm_read_word(pwmtable_10+tmp); my_delay(delay); } } void pwm_10_64_B(uint16_t delay
in „PWM Led fading problem mit Soft-PWM Artikel“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
pwmdim.c
tmp=k10; tmp>=0; tmp--){ OCR1A = pgm_read_word(pwmtable_10+tmp); k11 = tmp; my_delay(delay); } } } while (DDC1==1) //Kanal 2 dimmen { if((k20-k21)>0){ k20 = k21; for(tmp=k20; tmp<=63; tmp++){ OCR1B = pgm_read_word
in „Atmega 8 - 3 Kanal Dimmer, Ausgangsabfrage und Timerinitialisierung“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
avr0311.S
r24 ; var_old, _67 lds r24,var_new ; _52, var_new lds r25,var_old ; _55, var_old andi r24,lo8(2) ; tmp181, andi r25,lo8(-3) ; tmp182, or r24,r25 ; _59, tmp182 sts var_old,r24 ; var_old, _59 lds r24,var_new ; _44, var_new lds r25,var_old ; _47, var_old andi r24,lo8(4) ; tmp183, andi r25,lo8(-5) ; tmp184, or r24,r25 ; _51, tmp184 sts var_old,r24 ; var_old, _51 lds r24,var_new ; _36, var_new lds r25,var_old ; _39, var_old andi r24,lo8(8) ; tmp185, andi r25,lo8(-9) ; tmp186, or r24,r25 ; _43, tmp186 sts var_old,r24 ; var_old
in „Frage Bitoperation“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
adressen_beschreiben.c
void Read_RAM_to_UART(unsigned int address) { uint16_t i; unsigned char tmp; uart_puts("read_ram\n\r"); LMC76S026A_SetAddressPointer(address); for(i = 0; i < 0x100; i++) { LMC76S026A_WriteCommand(T6963_DATA_READ_AND_INCREMENT); tmp = LMC76S026A_ReadData(); itoa( tmp, Buffer
in „GLCD mit T6963-Controller und 8kRAM ansteuern klappt nicht“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
qtdmm.patch
diff -crB QtDMM/src/dmm.cpp /tmp/QtDMM/src/dmm.cpp *** QtDMM/src/dmm.cpp 2009-11-17 18:10:45.000000000 +0100 --- /tmp/QtDMM/src/dmm.cpp 2009-07-18 19:10:42.000000000 +0200 *************** *** 357,365 **** case ReadEvent::RS22812Continuous
in „Peaktech 3315 , Protokoll serielle Schnittstelle“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
Fading_LED.txt
PWM frequency for(tmp=30; tmp<=63; tmp++){ //original for(tmp=0; tmp<=63; tmp++){ OCR1A = pgm_read_word(pwmtable_10+tmp); my_delay(delay2); } my_delay(delay1); for(tmp=63; tmp>=30; tmp--){ //original for(tmp=63; tmp>=0; tmp--){ OCR1A = pgm_read_word(pwmtable_10+tmp); my_delay(delay3); } my_delay(delay4); } int main(void) { int16_t on_time=1700; //1050 110 110 0 für Mileniumstower (1050 180 180 0 bei verängerter anfangslichtstärke
in „PWM bei Mega8 und 2313“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.lst
r28 312 018e 9F92 push r9 313 0190 8F92 push r8 314 0192 0E94 0000 call printf 315 0196 0F90 pop __tmp_reg__ 316 0198 0F90 pop __tmp_reg__ 317 019a 0F90 pop __tmp_reg__ 318 019c 0F90 pop __tmp_reg__ 319 .L10: 320 019e 2196 adiw r28,1 321 .LM34: 322 01a0 C830 cpi r28,8 323 01a2 D105 cpc r29,__zero_reg
in „RAM-Bankswitching - wie am geschicktesten mit GCC auf AVR?“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
test7.c
temperatur drift on sensor // to gather values make temperature callibration run-> 0..40°C = 0..1024 tmp=(uint16_t)inclinometer; L=tmp; // 16bit into 2x 8bit tmp>>=8; H=tmp; uart_send(L); //Wert ->PC_5 uart_send(H); //Wert ->PC_6 tmp=(uint16_t)pressure; L=tmp; // 16bit into 2x 8bit tmp>>=8; H=tmp; uart_send
in „Frage zu Interrupt“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
LED_CUBE.txt
0x18 }, // 33 : ! // | | // | ** | // | ** | // | ** | // | ** | // | ** | // | | // | ** | { 0x00, 0x36, 0x36, 0x14, 0x00, 0x00, 0x00, 0x00 }, // 34 : " // | | // | ** ** | // | ** ** | // | * * | // | | // | | // | | // | | { 0x00, 0x36, 0x36, 0x7F, 0x36, 0x7F, 0x36, 0x36 }, // 35 : # // | | // | ** *
in „LED-Cube Effekte weiter per Knopfdruck“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
Cube_Gro_.ino
0x18 }, // 33 : ! // | | // | ** | // | ** | // | ** | // | ** | // | ** | // | | // | ** | { 0x00, 0x36, 0x36, 0x14, 0x00, 0x00, 0x00, 0x00 }, // 34 : " // | | // | ** ** | // | ** ** | // | * * | // | | // | | // | | // | | { 0x00, 0x36, 0x36, 0x7F, 0x36, 0x7F, 0x36, 0x36 }, // 35 : # // | | // | ** *
in „LED-Cube Effekte weiter per Knopfdruck“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
ext_memory.cpp
20pt.charInfo = fc_aa_msSansSerif_20pt; LoadFontAA(&meminfo, &f_aa_msSansSerif_20pt); f_aa_msSansSerif_36pt.charInfo = fc_aa_msSansSerif_36pt; LoadFontAA(&meminfo, &f_aa_msSansSerif_36pt); // Load bitmaps LoadBitmap(&meminfo, &erb_ico); LoadBitmap(&meminfo, &led_green); LoadBitmap(&meminfo, &led_red); #endif
in „Winbond Flash & STM32F4“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
clock.c
== tmp_rise_hh && mm== tmp_rise_mm && ss==0)pc_on(); tmp_rise_mm +=30; if(tmp_rise_mm >= 60) { tmp_rise_mm -= 60; tmp_rise_hh++; } } } if(jumper == 2) //60min { tmp_rise_hh = rise_set[row][0] + timezone; tmp_rise_mm = rise_set[row][1] + timezone; if(dcf_rx_buffer & (1L<<18))tmp_rise_hh++; while((tmp_rise_hh < rise_set[row][2]) || (tmp_rise_hh = rise_set[row][2] && tmp_rise_mm < rise_set[row][3])) { { if(hh== tmp_rise_hh && mm== tmp_rise_mm && ss==0)pc_on(); tmp_rise_hh++;
in „GCC: Erhalte viele "multiple definition of."“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
test7.c
callibration run-> 0..40°C = 0..1024 /* if((inclinometer<0) || (inclinometer>30000)); { inclinometer=0; } */ tmp=(uint16_t)inclinometer; L=tmp; // 16bit into 2x 8bit tmp>>=8; H=tmp; uart_send(L); //Wert ->PC_5 uart_send(H); //Wert ->PC_6 tmp=(uint16_t)pressure; L=tmp; // 16bit into 2x 8bit tmp>>=8; H=tmp; uart_send
in „Frage zu Interrupt“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
TMP117.pdf
Application 1.9 V to 3.6 V N I T A 5 k 5 k 5 k M R O 1 5 F SCL SCL V+ 0.1 F I 2-Wire Interface SMBus, 6 SDA TMP117 GND 2 I²C Compatible Controller E 3 4 GND C INT ALERT ADD0 N A V GND Copyright © 2017, Texas Instruments Incorporated NOTE: The SDA and ALERT pins require pullup resistors. A Figure 36. Typical Connections
in „Präzise Temperaturmessung mit 12Bit-ADC und NTC“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
test.lst
122 363 0004 65 .byte 101 364 0005 00 .byte 0 405 .Letext0: DEFINED SYMBOLS *ABS*:00000000 test.c /tmp/ccPeD6Ys.s:2 *ABS*:0000003f __SREG__ /tmp/ccPeD6Ys.s:3 *ABS*:0000003e __SP_H__ /tmp/ccPeD6Ys.s:4 *ABS*:0000003d __SP_L__ /tmp/ccPeD6Ys.s:5 *ABS*:00000034 __CCP__ /tmp/ccPeD6Ys.s:6 *ABS*:00000000 __tmp_reg__ /tmp/ccPeD6Ys.s:7 *ABS*:00000001 __zero_reg__ /tmp/ccPeD6Ys.s:20 .text:00000000 USART_Transmit /tmp/ccPeD6Ys.s:57 .text:00000010 uart3_puts /tmp/ccPeD6Ys.s:124 .text:0000002e main /tmp/ccPeD6Ys.s:358 .data
in „UART sendet nicht das was er soll (kein offset problem)“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
ntp-4.2.8p10_hopf_clockmouse_V0.9_2017-11-30.diff
Label="UserMacros"> - <OutBaseDir>$(SolutionDir)\$(Platform)-out\$(Configuration)</OutBaseDir> - <TmpBaseDir>$(SolutionDir)\$(Platform)-tmp\$(Configuration)</TmpBaseDir> - </PropertyGroup> - <PropertyGroup> - <_ProjectFileVersion>12.0.30501.0</_ProjectFileVersion> - <OutDir>$(OutBaseDir)\</OutDir> -
in „Hopf Clock Mouse --> Abfrageprotokoll“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
RGB.c
(s1, s2, s3, s4, s5, s6, s7, s8); } Ausgabe(zeile,rot_tmp,gruen_tmp,blau_tmp); } char bungabunga (bit a1, bit b1, bit c1, bit d1, bit e1, bit f1, bit g1, bit h1) { char tmp; if (a1 == true) tmp = tmp + 0b10000000; if (b1 == true) tmp = tmp + 0b1000000; if (c1 == true) tmp = tmp + 0b100000; if (d1 == true) tmp = tmp + 0b10000; if (e1 == true) tmp = tmp + 0b1000; if (f1 == true) tmp = tmp + 0b100; if (g1 == true) tmp = tmp + 0b10; if (h1 == true) tmp = tmp + 0b1; return
in „RGB - LED Matrix mit Schieberegistern“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
AVRxt.asm
tmp0,0b000000_10 ; OVF sts TCB0_INTCTRL,tmp0 ldi tmp0,1 ; enable sts TCB0_CTRLA,tmp0 sei main_loop: sbi toggle,f_live rjmp main_loop .exit ======================================================= AVR16EB28
in „AVR64EA28: PIT-Interrupt“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.c
DATA_0(); } W_CLK_1(); W_CLK_0(); } } void AD9850_write(uint8_t w0, uint32_t frequency) { uint32_t tmp; tmp = frequency * 35; //35 tmp -= frequency / 10 * 6; //34.4 tmp -= frequency / 100 * 4; //34.36 tmp -= frequency / 10000 * 2; //34.359'8 tmp -= frequency / 100000 * 6; //34.359'74 tmp -= frequency / 1000000 * 2; //34.359'738 AD9850_writeByte(tmp >> 8); AD9850_writeByte(tmp >> 16); AD9850_writeByte(tmp >> 24); AD9850_writeByte(w0); FQ_UD_1(); FQ_UD_0(); } int main() { AD9850_init(); AD9850_Reset(); AD9850_write(0x00, 20305700); for (;;) ; }
in „AD9850-Modul mit AtMega steuern“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
rfm70.c
payload len writeRegVal(RFM70_CMD_WRITE_REG | (RFM70_REG_RX_PW_P0 + nr), plLen); // set EN_AA bit tmp = readRegVal(RFM70_REG_EN_AA); if (en_aa) tmp |= 1 << nr; else tmp &= ~(1 << nr); writeRegVal(RFM70_CMD_WRITE_REG | RFM70_REG_EN_AA, tmp); // clear DPL bit tmp = readRegVal(RFM70_REG_DYNPD); tmp &=
in „Referenzparameter richtig übergeben“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
dtmf-int-8m.c
113,111, 109,106, 104,102, 99,96, 94,91, 88,85, 82,79, 76,73, 70,67, 64,60, 57,54, 51,48, 45,42, 39,36, 33,31, 28,25, 23,21, 18,16, 14,12, 10,9, 7,6, 4,3, 2,1, 1,0, 0,0, 0,0, 0,0, 1,1, 2,3, 4,6, 7,9, 10,12, 14,16, 18,21, 23,25, 28,31, 33,36, 39,42, 45,48, 51,54, 57,60}; //*************************** x_SW
in „Impulswahl zu Tonwahl-Konverter“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
blink00.asm
Kalibrationsbyte gültig (<>$ff)? out osccal,r0 ;ja, kalibrieren ;jetzt kommt PortB und seine Datenrichtung clr tmp ;Register auf 0 out portb,tmp ;an PortB (also alle Pins aus) ldi tmp,(1<<al)|(1<<ar);Register mit Bitmuster laden, bei dem beide Ausgangsbits gesetzt sind alle anderen gelöscht out ddrb,tmp ;und an
in „ATTiny10/11/12“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
Test_PWM.c
0; } return rw; } void pwm_up (const uint16_t pwm_table[], int16_t size, uint16_t delay) { int16_t tmp = 0; //PORTD = (0<<PD6); //_delay_ms(250); //for (tmp = 0; tmp < size; tmp++) //if (PINC & (1<<PC5)) //{ if (tmp < size) { PORTD = (0<<PD6); OCR1A = pgm_read_word (& pwm_table[tmp]); my_delay (delay
in „HW PWM zum LED dimmen“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
blink01.asm
Kalibrationsbyte gültig (<>$ff)? out osccal,r0 ;ja, kalibrieren ;jetzt kommt PortB und seine Datenrichtung clr tmp ;Register auf 0 out portb,tmp ;an PortB (also alle Pins aus) ldi tmp,(1<<al)|(1<<ar);Register mit Bitmuster laden, bei dem beide Ausgangsbits gesetzt sind alle anderen gelöscht out ddrb,tmp ;und an
in „ATTiny10/11/12“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
nano_os_ISR_NAKED.s
r31 pop r30 pop r27 pop r26 pop r25 pop r24 pop r23 pop r22 pop r21 pop r20 pop r19 pop r18 pop __tmp_reg__ out __SREG__,__tmp_reg__ pop __tmp_reg__ pop __zero_reg__ reti /* epilogue end (size=17) */ /* function __vector_3 size 36 (2) */ .size __vector_3, .-__vector_3 .global tick_time .type tick_time
-
Datei
IMV-DTMF-2313.c
format) unsigned int i_CurSinValB = 0; // position freq. B in LUT (extended format) unsigned int i_TmpSinValA; // position freq. A in LUT (actual position) unsigned int i_TmpSinValB; // position freq. B in LUT (actual position) volatile int takt = 0; //************************** SIN TABLE ***********
in „Impulswahl zu Tonwahl-Konverter“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
LCD1600_1.bas
---------------------------------------------------- Dim V As Byte Dim W As Byte Dim X As Byte Dim Tmp1 As Single Dim Tmp2 As Single Dim S1 As Byte Dim S2 As Byte Dim S3 As Integer ' wegen neg. Vorzeichen! Gosub Lcd_clear Gosub Lcd_form_clear Locate_zeile = 36 Locate_spalte = 0 'Muster = "01234567890123456789012
in „Pollin 16080 Touch mit ATMEGA32 und BASCOM“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
blink02.asm
Kalibrationsbyte gültig (<>$ff)? out osccal,r0 ;ja, kalibrieren ;jetzt kommt PortB und seine Datenrichtung clr tmp ;Register auf 0 out portb,tmp ;an PortB (also alle Pins aus) ldi tmp,(1<<al)|(1<<ar);Register mit Bitmuster laden, bei dem beide Ausgangsbits gesetzt sind alle anderen gelöscht out ddrb,tmp ;und an
in „ATTiny10/11/12“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
Neues_Textdokument.txt
0x18 }, // 33 : ! // | | // | ** | // | ** | // | ** | // | ** | // | ** | // | | // | ** | { 0x00, 0x36, 0x36, 0x14, 0x00, 0x00, 0x00, 0x00 }, // 34 : " // | | // | ** ** | // | ** ** | // | * * | // | | // | | // | | // | | { 0x00, 0x36, 0x36, 0x7F, 0x36, 0x7F, 0x36, 0x36 }, // 35 : # // | | // | ** *
in „LED-Cube Effekte weiter per Knopfdruck“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
LED_Cube.ino
0x18 }, // 33 : ! // | | // | ** | // | ** | // | ** | // | ** | // | ** | // | | // | ** | { 0x00, 0x36, 0x36, 0x14, 0x00, 0x00, 0x00, 0x00 }, // 34 : " // | | // | ** ** | // | ** ** | // | * * | // | | // | | // | | // | | { 0x00, 0x36, 0x36, 0x7F, 0x36, 0x7F, 0x36, 0x36 }, // 35 : # // | | // | ** *
in „LED-Cube Effekte weiter per Knopfdruck“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
RC5DEC1.A51
= 1 ){ // start pulse detect ; SOURCE LINE # 35 JNB rc5_bit,?C0005 ; rc5_busy = 1; ; SOURCE LINE # 36 SETB rc5_busy ; rc5_tmp = 1; // == 0x2000 after 13 shift ; SOURCE LINE # 37 MOV rc5_tmp,#00H MOV rc5_tmp+01H,#01H ; } ; SOURCE LINE # 38 ; }else{ ; SOURCE LINE # 39 SJMP ?C0005 ?C0003: ; if( rc5_time
in „RC5-Code-Empfangsprogramm für 8051er in Assembler“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
lamps_01.asm
T1CON,0 CLRF duty0h_tmp0 CLRF duty1h_tmp0 clrf duty2h_tmp0 clrf loop clrf Zeichen bcf PIR1,0 initial bsf PORTB,0 call timer bcf PORTB,0 bsf PORTB,3 call timer bcf PORTB,3 bsf PORTB,4 call timer bcf PORTB,4 call timer call timer movlw d'1' movwf duty0h_tmp0 movlw d'1' movwf duty1h_tmp0 movlw d'1' movwf duty2h_tmp0 goto input timer movlw d'50' movwf timer1 timer0 movlw d'250' movwf timer2 timer_1 nop decfsz timer2,1 goto timer_1 timer_2 decfsz timer1,1
in „Pic Lernen aber wie??“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
lcd_test.asm
on Falling Edge ldi tmp, 0x00 out TCCR1A, tmp out TCCR1B, tmp out TCNT1H, tmp out TCNT1L, tmp out OCR1AH, tmp out OCR1AL, tmp out OCR1BH, tmp out OCR1BL, tmp ;*** External Interrupt(s) initialization ;*** INT0: off ;*** INT0
in „FT245 únd AVR“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
detailed_synthesis_report.txt
->O 1 0.065 0.000 Madd_Ph_tmp_addsub0001_cy<2> (Madd_Ph_tmp_addsub0001_cy<2>) MUXCY:CI->O 1 0.065 0.000 Madd_Ph_tmp_addsub0001_cy<3> (Madd_Ph_tmp_addsub0001_cy<3>) MUXCY:CI->O 1 0.065 0.000 Madd_Ph_tmp_addsub0001_cy<4> (Madd_Ph_tmp_addsub0001_cy<4>) MUXCY:CI->O 1 0.065 0.000 Madd_Ph_tmp_addsub0001_cy<5> (Madd_Ph_tmp_addsub0001_cy<5>) MUXCY:CI->O 1 0.065 0.000 Madd_Ph_tmp_addsub0001_cy<6> (Madd_Ph_tmp_addsub0001_cy<6>) MUXCY:CI->O 1 0.065 0.000 Madd_Ph_tmp_addsub0001_cy<7> (Madd_Ph_tmp_addsub0001
-
Datei
2kom1.ASM
MOVF SYS_TMP9,F BTFSS STATUS,ZERO DECF SYS_TMP9,F CLRF SYS_TMP6 LCD_LB1_CONVERTDEZ2 INCF SYS_TMP6,F MOVFW SYS_TMP1 SUBWF SYS_TMP4,F MOVFW SYS_TMP2 BTFSS STATUS,CARRY INCFSZ SYS_TMP2,W SUBWF SYS_TMP5,F BTFSC STATUS,CARRY GOTO LCD_LB1_CONVERTDEZ2 MOVFW SYS_TMP2 ADDWF SYS_TMP5,F MOVFW SYS_TMP1 ADDWF SYS_TMP4,F BTFSC STATUS,CARRY INCF SYS_TMP5,F DECF SYS_TMP6,W BTFSS STATUS,ZERO BSF SYS_TMP10,0 RETURN ;*************************************************** LCD_LB1
in „Zahlen über rs232 an Hyperterminal“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
prop-clock_260809_new_driver_5.bas
Then ' ************************ ' Sekundenanzeige******************** If _sec = 0 Then Sek_spalte_tmp = 1 ' Bei Sekunde 0 wird im Falle der Kuchendarstellung ein vollständiger Kreis gebildet Else Sek_spalte_tmp = 60 - _sec Sek_spalte_tmp = Sek_spalte_tmp * 3 ' Laufrichtung umdrehen und auf 0 justieren
in „Mega644 mit 32768 er Quarz an tosc1 u. tosc2“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
dmx-pwm24.c
, tmp1; // copy pwm settings // fill in masks // generate pulse mask for PWM start tmp=0; for(i=1; i<=PWM_CHANNELS; i++) { pwm_setting_tmp[i]= data[i-1]; tmp1=pgm_read_dword(&pwm_mask_init[i-1]); if (pwm_setting_tmp[i]) tmp |= tmp1; main_ptr->mask[i] = ~tmp1; } main_ptr->mask[0]=tmp; // sort PWM settings, insert sort for(i=1; i<PWM_CHANNELS; i++) { min=PWM_STEPS; k=i; for(j=i; j<=PWM_CHANNELS; j++) { if (pwm_setting_tmp
in „C - Ersatz von switch case.“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
dh.c
using power chaining over modulus N uint64_t XpowYmodN(uint64_t x, uint64_t y, uint64_t N) { uint64_t tmp = 0; if (y==1) return (x % N); if ((y&1)==0) { tmp = XpowYmodN(x,y/2,N); return ((tmp * tmp) % N); } else { tmp = XpowYmodN(x,(y-1)/2,N); tmp = ((tmp * tmp) % N); tmp = ((tmp * x) % N); return (tmp)
in „SSP Smiley® Secure Protocol“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
dann.lst
dann.c": code 23 = 0x0017 ( 18), prologues 4, epilogues 1 */ DEFINED SYMBOLS *ABS*:00000000 dann.c /tmp/ccAmmk4u.s:3 *ABS*:0000003f __SREG__ /tmp/ccAmmk4u.s:4 *ABS*:0000003e __SP_H__ /tmp/ccAmmk4u.s:5 *ABS*:0000003d __SP_L__ /tmp/ccAmmk4u.s:6 *ABS*:00000000 __tmp_reg__ /tmp/ccAmmk4u.s:7 *ABS*:00000001 __zero_reg__ /tmp/ccAmmk4u.s:51 .text:00000000 display_write /tmp/ccAmmk4u.s:106 .text:00000020 main UNDEFINED SYMBOLS __do_copy_data __do_clear_bss __stack
in „Welchen WINAVR nehmen ?“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
avr-nm.txt
0000000000000000 W __heap_end 0000000000000000 a __tmp_reg__ 0000000000000000 a __tmp_reg__ 0000000000000000 a __tmp_reg__ 0000000000000000 a __tmp_reg__ 0000000000000000 a __tmp_reg__ 0000000000000000 a __tmp_reg__ 0000000000000000 a __tmp_reg__ 0000000000000000 a __tmp_reg__ 0000000000000000 a __tmp_reg__ 0000000000000000 a __tmp_reg__ 0000000000000000 W __vector_default 0000000000000000 T __vectors 0000000000000001 a __zero_reg__ 0000000000000001 a __zero_reg__ 0000000000000001
in „avr-gcc, globale Variablen im illegalen RAM-Bereich?“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
DMX_512_Sender.bas
Portb.0 = Dmxon 'Stopbits senden Enable Interrupts Waitus 8 Next I Loop 'Serieller Datenempfang Onrxd: Tmp = Udr If Tmp = 0 Then Zerocount = Zerocount + 1 End If If Zerocount => 1 Then Bytecount = Bytecount + 1 If Zerocount = 3 Then If Bytecount = 3 Then Print "RESET" Do Channel = Udr Loop Until Channel
in „DMX senden & Bascom“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
M8Timer1_geht_nicht.c
;a++) { itoa( Buffer[a], LCD_buffer, 10 ); tmp3 = ""; if (strlen(LCD_buffer) < 2) { tmp3 = "0";} //if (tmp2 = 0) {;} // Stern if (tmp2 == 1) { printf (tmp3);printf (LCD_buffer);printf (".");} // Tag if (tmp2 == 2) { printf (tmp3);printf (LCD_buffer);} // Monat if (tmp2 == 3) { printf (tmp3);printf (LCD_buffer);printf (":");} // Stunde if (tmp2 == 4) { printf (tmp3);printf (LCD_buffer);} // Minute //if (tmp2 = 5) { ;} if ((tmp2 > 5) && (tmp2 < 11)) { printf (tmp3)
in „uC stürzt beu Zugriff auf MMC ab“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
BGScript_developer_guide_v3.3.pdf
usage. Maximum size of a buffer is 256 bytes. event hardware_io_port_status(delta, port, irq, state) tmp(0:1) = 2 tmp(1:1) = 60 * 32768 / delta call attributes_write(xgatt_hr, 2, tmp(0:2)) end dim u(10) Usage BUFFER(<expression>:<size>) <expression> is used to index to first byte in buffer and <size> is
in „BLE112 wer kennt sich mit dem UART aus ?“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
ili9341.c
dcHigh = false; ili9341_writeCommand(0x01); for (i = 0; i < (sizeof(ili9341InitCodes) / 2); i++) { tmp = ili9341InitCodes[i]; if (tmp & 0x100) { ili9341_writeCommand(tmp & 0xFF); } else { ili9341_writeDataByte(tmp); } } //Exit sleep mode ili9341_writeCommand(0x11); bcm2835_delay(120); //Turn Display
in „ILI9341 SPI Pixel auslesen geht teilweise. ID4 auslesen nicht“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
RFM70_init.c
0xA67F0624, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00127300, 0x36B48000, }; const UINT8 Bank1_Reg14[]= { 0x41,0x20,0x08,0x04,0x81,0x20,0xCF,0xF7,0xFE,0xFF,0xFF }; //Bank0 register initialization value const UINT8 Bank0_Reg[][2]={ {0,0x0F},//reflect RX_DR\TX_DS\MAX_RT
in „Hat jemand Erfahrung mit dem 2,4GHz-Transceiver RFM70?“ · HF, Funk und Felder ·
-
Datei
DDS.vhd
range 0 to 4095 := 0; signal QUADRANT : std_logic := '0'; signal QUADRANT_TMP : std_logic := '0'; signal SIGN : std_logic := '0'; signal SIGN_TMP : std_logic := '0'; signal ACCUM_TMP: unsigned (11 downto 0) := (others=>'0'); signal DOUT_TMP : std_logic_vector(31 downto 0):= (
in „DDFS von Lothar Miller ich steh aufm Schlauch“ · FPGA, VHDL & Co. ·
-
Datei
system_stm32f10x.c
SystemCoreClock = SYSCLK_FREQ_24MHz; /*!< System Clock Frequency (Core Clock) */ #elif defined SYSCLK_FREQ_36MHz uint32_t SystemCoreClock = SYSCLK_FREQ_36MHz; /*!< System Clock Frequency (Core Clock) */ #elif defined SYSCLK_FREQ_48MHz uint32_t SystemCoreClock = SYSCLK_FREQ_48MHz; /*!< System Clock Frequency
in „COIDE 2.7.0 und STMF103C8T6 (china board), startprobleme“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
LPH8731-3C.c
the pgm_read_byte wrapper */ void LCD_ShowImage(char x, char y, char w, char h, char *img ) { char tmp; #ifndef _LCD_8BIT unsigned char a; #endif while( h ) { LCD_SetActiveArea( x, y, x+(w-1), y ); y++; h--; for( tmp=w; tmp > 0 ; tmp-- ) { #ifdef _LCD_8BIT LCD_DTA( pgm_read_byte( img++ ) ); #else a =
in „LCD LPH8731-3C aus Siemens-Handys, Treiber“ · Mikrocontroller und Digitale Elektronik ·