-
Datei
uart.s
.file "uart.c" __SP_L__ = 0x3d __SREG__ = 0x3f __tmp_reg__ = 0 __zero_reg__ = 1 .text .global uartInit .type uartInit, @function uartInit: push r28 push r29 in r28,__SP_L__ clr r29 /* prologue: function */ /* frame size = 0 */ /* stack size = 2 */ .L_
in „C Programm in asm umwandeln“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
DCF-77MOD.bas
End If End Interrupt '/////////////////////////////////////////////////////// Sub ReceiveDCF() Local tmp As Byte Select Case State ' state machine Case IdleState ' 0 If Not CurDCF Then State=WaitStartBit Case WaitStartBit ' 1 If CurDCF Then State=InStartBit Case InStartBit ' 2 If Not CurDCF Then If HItime
in „Nochmal DCF-77 und AVR“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
monitor.c
include <signal.h> #include <stdlib.h> #include <time.h> #include <signal.h> #define DATA_FILENAME "/tmp/WPupdate.dat" /* commandfile for updating Ai1 settings */ #define MAX_WAIT 6 /* MAX_WAIT * 5 sec */ char seps[] = "=\t\n"; char *var, *instelling; int DEBUG=0; int fd1=-1; float waarde; float gem_waarde
in „Probleme mit serieller Schnittstelle“ · Softwareentwicklung ·
-
Datei
0.4.25_SD_Setup.diff
@@ void app::setup(uint32_t timeout) { mSerialDebug = (tmp == 0x01); mSys->Radio.mSerialDebug = mSerialDebug; + // SD logging + mEep->read(ADDR_LOG_INTERVAL, &mSDlogInterval); + mEep->read(ADDR_LOG_ENABLE, &tmp); + mSDValues = (tmp == 0x01); + if (mSDlogInterval
in „Wechselrichter Hoymiles HM-xxxx 2,4 GhZ Nordic Protokoll?“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
0.4.25_SD_Setup_V2.diff
@@ void app::setup(uint32_t timeout) { mSerialDebug = (tmp == 0x01); mSys->Radio.mSerialDebug = mSerialDebug; + // SD logging + mEep->read(ADDR_LOG_INTERVAL, &mSDlogInterval); + mEep->read(ADDR_LOG_ENABLE, &tmp); + mSDValues = (tmp == 0x01); + if (mSDlogInterval
in „Wechselrichter Hoymiles HM-xxxx 2,4 GhZ Nordic Protokoll?“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
fcntl.lst
9091 0000 lds r25,(cdev)+1 226 00d0 E80F add r30,r24 227 00d2 F91F adc r31,r25 228 00d4 0190 ld __tmp_reg__,Z+ 229 00d6 F081 ld r31,Z 230 00d8 E02D mov r30,__tmp_reg__ 231 00da 692D mov r22,r9 232 00dc 822F mov r24,r18 233 00de 0995 icall 234 .stabn 68,0,65,.LM17-open 235 .LM17: 236 00e0 802F mov r24
in „Compiler-Fehler?“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
Kochfeld.pdf
, current phase and alarm +15V +15V D4 R41 T2 STTH102 100K C31 TP19 8 R37 TDK_CT034 100nF 5+ 7 10K TMP2 1:200 R18 D6 STTH102 6– 4 4 1 100R R31 NTC2 R40 R44 U3B LM258 D7 PT1000 62K 1M STTH102 33R 3 2 D5 1W Temperature control STTH102 for plateth PT1000 sensors +5V +15V +15VC21 R32 R35 TP20 TP18 100nF
in „Induktionsofen- funktioniert nur mit magnetischen Metallen!“ · Offtopic ·
-
Datei
ClipDec.c
cou, tmp, LastPulseTime, ClipState, SmmrLongPulseCounter, CurrentByte, TabIndex, fByteFinished; static unsigned char LastPulseMem, ThresholdTime, AvPulseCounter; static unsigned int BaudCounter, AvPulseSumma
in „Kryptischer CLIP-Decoder“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
il3829.c
= (y >> 8) & 0xFF; il3829WriteData( &buff , 1 ); } void il3829SetLut(const uint8_t* lut) { uint8_t tmp = WRITE_LUT_REGISTER; il3829WriteCmd( &tmp , 1 ); /* the length of look-up table is 30 bytes */ for (int i = 0; i < 30; i++) { il3829WriteData( (uint8_t *) lut , 30 ); } } void il3829Init( void ) {
in „IL3829 - E-Paper Display Treiber“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
mv_gcctest9.lst
ticks1); 45:mv_gcctest9.c **** 46:mv_gcctest9.c **** for(i=0;i<1;i++) { 147 .LM9: 148 0030 0F90 pop __tmp_reg__ 149 0032 0F90 pop __tmp_reg__ 151 .LM10: 47:mv_gcctest9.c **** a = a1 * a2; 48:mv_gcctest9.c **** a16 = (unsigned int)(a*1000); 49:mv_gcctest9.c **** } 50:mv_gcctest9.c **** 51:mv_gcctest9.c *
in „Multiplikation ist zu schnell...“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
part-db.diff
1.1, 1.11, 1.13, 1.14, 1.15, 1.17, 1.18, 1.2, 1.21, 1.23, 1.24, 1.26, 1.27, 1.29, 1.3, 1.32, 1.33, 1.35, 1.37, 1.38, 1.4, 1.42, 1.43, 1.45, 1.47, 1.49, 1.5, 1.52, 1.54, 1.56, 1.58, 1.6, 1.62, 1.64, 1.65, 1.67, 1.69, 1.72, 1.74, 1.76, 1.78, 1.8, 1.82, 1.84, 1.87, 1.89, 1.91, 1.93, 1.96, 1.98, 2, 2.03, 2.05
in „PART-DB RW 1.2“ · Projekte & Code ·
-
Datei
A90S8535.vhd
$39 TIMSK Timer/Counter Interrupt Mask register --$38 TIFR Timer/Counter Interrupt Flag register --$35 MCUCR MCU General Control Register No power down --$33 TCCR0 Timer/Counter 0 Control Register --$32 TCNT0 Timer/Counter 0 (8-bit) --$2F TCCR1A Timer/Counter 1 Control Register A --$2E TCCR1B Timer/Counter
-
PDF
en.DM00047230.pdf
DocID022737 Rev 2 AN4044 Application example radius = 0; while ((i<ITERATION-1) && (radius < 4)) { tmp1 = num_real * num_real; tmp2 = num_img * num_img; num_img = 2*num_real*num_img + IMG_CONSTANT; num_real = tmp1 - tmp2 + REAL_CONSTANT; radius = tmp1 + tmp2; i++; } /* Store the value in the buffer *
in „Rechenzeitoptimierung STM32F4“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
error_log.txt
+0000] Full reload complete. D [27/Jan/2013:19:06:43 +0000] cupsdCleanFiles(path="/var/spool/cups/tmp", pattern="(null)") I [27/Jan/2013:19:06:43 +0000] Cleaning out old files in "/var/spool/cups/tmp"... D [27/Jan/2013:19:06:43 +0000] cupsdCleanFiles(path="/var/cache/cups", pattern="*.ipp") I [27/Jan
in „SW-Dok für GEBE Thermodruckmodul gesucht“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
MicroTelemetrie_V3.bas
Dig_p5 X = S1 X = Var1 * X 'shift x << 17 Y = 2 ^ 17 X = X * Y Var2 = Var2 + X 'var2 = var2 + (dig_P4<<35); S1 = Dig_p4 X = S1 'shift x << 35 Y = 2 ^ 35 X = X * Y Var2 = Var2 + X 'var1 = ((var1 * var1 * dig_P3)>>8) + ((var1 * dig_P2)<<12); X = Var1 * Var1 S1 = Dig_p3 Z = S1 X = X * Z 'shift x >> 8 Y = 2
in „BASCOM probleme mit HW UART und Bytematch“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
DDS.vhd
3539D6D1", 595 => x"354EF0B6", 596 => x"35640844", 597 => x"35791D7C", 598 => x"358E305C", 599 => x"35A340E3", 600 => x"35B84F10", 601 => x"35CD5AE2", 602 => x"35E26459", 603 => x"35F76B73", 604 => x"360C702F", 605 => x"3621728D", 606 => x"3636728B", 607 => x"364B702A", 608 => x"36606B67", 609 => x"36756442
in „DDS mit DE0-Nano Board nur niedrige Frequenzen?“ · FPGA, VHDL & Co. ·
-
Datei
t-wintec-wsg2000.c
or E/W specifier. * * Pseudo-code (for floating-point representations): * * double decimal, minutes_tmp, seconds; * long degrees, minutes; * * degrees = lround(floor(decimal)); * minutes_tmp = (decimal - floor(decimal)) * 60; * minutes = lround(floor(minutes_tmp)); * seconds = (minutes_tmp - floor(minutes_tmp
-
Datei
lcd_init.c
>= LCD_Opts.height) { y1 = LCD_Opts.height - 1; } /* Check correction */ if (x0 > x1) { tmp = x0; x0 = x1; x1 = tmp; } if (y0 > y1) { tmp = y0; y0 = y1; y1 = tmp; } dx = x1 - x0; dy = y1 - y0; /* Vertical or horizontal line */ if (dx == 0 || dy == 0) { LCD_INT_Fill(x0, y0, x1, y1, color);
in „Basteltip: STM32F103 DIP40 Board“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
lcd_init.c
>= LCD_Opts.height) { y1 = LCD_Opts.height - 1; } /* Check correction */ if (x0 > x1) { tmp = x0; x0 = x1; x1 = tmp; } if (y0 > y1) { tmp = y0; y0 = y1; y1 = tmp; } dx = x1 - x0; dy = y1 - y0; /* Vertical or horizontal line */ if (dx == 0 || dy == 0) { LCD_INT_Fill(x0, y0, x1, y1, color);
in „Lebensdauer von lokalen Variablen“ · Softwareentwicklung ·
-
Datei
ata.c
---------------------------------------- // Select address and CS signals // // addressing bits // 35 DA0 A0 0x01 Address Line 0 // 33 DA1 A1 0x02 Address Line 1 // 36 DA2 A2 0x04 Address Line 2 // // chip selects // 37 CS0 A3 0x08 Command Block Select // 38 CS1 A4 0x10 Control Block Select // // //-
in „HDD Festplatte ATA IDE an AVR µC Mikrocontroller ATmega1284p Assembler - viele Fragen“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
TastaturDigivoice.s
LM1: /* prologue: frame size=5 */ push r28 push r29 in r28,__SP_L__ in r29,__SP_H__ sbiw r28,5 in __tmp_reg__,__SREG__ cli out __SP_H__,r29 out __SREG__,__tmp_reg__ out __SP_L__,r28 /* prologue end (size=10) */ .LM2: std Y+2,__zero_reg__ std Y+3,__zero_reg__ std Y+4,__zero_reg__ std Y+5,__zero_reg__ .
in „Tastendrücke und Portbits“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
Konsolenausgabe.txt
/bfd/doc/bfdt.texi . /bin/bash ../../../../downloads/binutils/bfd/doc/../../move-if-change archive.tmp archive.texi /bin/bash ../../../../downloads/binutils/bfd/doc/../../move-if-change aoutx.tmp aoutx.texi /bin/bash ../../../../downloads/binutils/bfd/doc/../../move-if-change archures.tmp archures.texi
in „cannot read spec file 'device-specs/specs-atmega4808'“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
luefter_fsm.c
Lüfterleistung % , Schaltschwelle hoch, Schaltschwelle runter { 0, 20, 0 }, { 20, 25, 15}, { 40, 30, 20}, { 50, 35, 25}, {100, 0, 30}, }; int get_temperature(void) { // Temperatur lesen und rückliefern }; void set_fan(int power) { // Lüfter einstellen, PWM und so } int main(void) { int fan_index=0; int temperature; volatile int tmp; // für simulation while (1) { //temperature = get_temperature(); // für simulation auskommentiert tmp; // hier breakpoint setzen und temperatur verändern // Lüfter regeln if ((fan_index <(TABLE_SIZE
in „schmitt trigger verhalten c/c++“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
t-wintec-wsg2000.c
or E/W specifier. * * Pseudo-code (for floating-point representations): * * double decimal, minutes_tmp, seconds; * long degrees, minutes; * * degrees = lround(floor(decimal)); * minutes_tmp = (decimal - floor(decimal)) * 60; * minutes = lround(floor(minutes_tmp)); * seconds = (minutes_tmp - floor(minutes_tmp
-
Datei
MRFC522.c
Read data blockAddr = blockAddr - 3 ; status = MFRC522_Read(blockAddr, str); if (status == MI_OK) { tmp = (int)(str[15] + moneyAdd) ; //Serial.println(tmp,DEC); if( tmp < (char)254 ) { Serial.println(" The money of the card can not be more than 255 !"); } else { str[15] = str[15] + moneyAdd ; status =
in „Kommunikation mit dem RFID-Modul MFRC522“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
armbian_modules.txt
snd-soc-nau8540 snd-soc-spdif-tx snd-soc-es8328-i2c snd-soc-es8328 snd-soc-pcm1789-codec snd-soc-cs35l35 snd-soc-pcm1789-i2c snd-soc-pcm186x-spi snd-soc-nau8824 ac100-codec sun4i-codec sun8i-codec-analog sun8i-adda-pr-regmap sun8i-codec sun4i-spdif sun4i-i2s snd-usbmidi-lib snd-usb-6fire snd-ua101 snd-usb-variax
in „Samba auf Banana Pi Pro installieren“ · PC Hard- und Software ·
-
Datei
avra_test_list.txt
R9 .def tempreg10 = R10 .def tempreg11 = R11 .def tempreg12 = R12 ;Temporaere Arbeitsregister .def tmp1 = R16 .def tmp2 = R17 .def tmp3 = R18 .def tmp4 = R19 .def tmp5 = R20 .def tmp6 = R21 .def tmp7 = R22 .def tmp8 = R23 .def tmp9 = R24 .def tmp10 = R25 .dseg .ORG 0x60 .cseg .ORG 0 .include "interrupt_vektoren_atmega8535
in „AVR mit Linux Programmieren“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
UASG01.s
.file "UASG01.cpp" __SP_H__ = 0x3e __SP_L__ = 0x3d __SREG__ = 0x3f __tmp_reg__ = 0 __zero_reg__ = 1 .text .Ltext0: .cfi_sections .debug_frame .global toggle .section .data.toggle,"aw",@progbits .type toggle, @object .size toggle, 1 toggle: .byte 1 .section .text.main,"ax
in „AVR: Wie kann das sein? (Timer1)“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
video_angabe_v11.pdf
Inbetriebnahme 3. Hardware 3.1 Sync-Separator LM1881 3.2 Video-Ausgangs-Pin 3.3 Temperatur-Sensor TMP36 4. Software 4.1 Ein zeichenbasierter Videocontroller in Software 4.2 „Fast external interrupts“ 4.3 Analog Digital Converter 4.4 Funktionsbeschreibung / Aufgabenstellung 5. Empfohlener Übungsablauf
in „OSD mit LM1881 und Arduino Nano“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
Nixie_Blaubaer.ino
Minute-Einer { 41, 43, 44, 47, 38, 40, 42, 45, 46, 39 }, // Minute-Zehner { 61, 32, 33, 36, 59, 62, 34, 35, 37, 60 }, // Stunde-Einer { 52, 54, 56, 57, 49, 51, 53, 55, 58, 50 }}; // Stunde-Zehner void setup() { // Initialize serial: Serial.begin(9600); Timer1.initialize(100000); // 100.000 us, 10Hz Timer1
in „Nixieuhr mit IN-18 und Arduino Nano by Kapitän-Blaubär“ · Projekte & Code ·
-
Datei
jfe.ini
syntax39=#define,16777217 syntax38=#endif,16777217 syntax37=#undef,16777217 syntax36=#elif,16777217 syntax35=#if,16777217 syntax34=#else,16777217 syntax33=defined,16777217 syntax32=void,16777217 syntax31=char,16777217 syntax30=unsigned,16777217 syntax29=int,16777217 syntax28=short,16777217 syntax27=long,16777217
in „"Bester" Editor für VHDL unter Windows“ · FPGA, VHDL & Co. ·
-
Datei
rfid.ino
:reg--register address;mask--value * Return:null */ void SetBitMask(uchar reg, uchar mask) { uchar tmp; tmp = Read_MFRC522(reg); Write_MFRC522(reg, tmp | mask); // set bit mask } /* * Function:ClearBitMask * Description:clear RC522 register bit * Input parameter:reg--register address;mask--value * Return:null */ void ClearBitMask(uchar reg, uchar mask) { uchar tmp; tmp = Read_MFRC522(reg); Write_MFRC522(reg, tmp & (~mask)); // clear bit mask } /* * Function:AntennaOn * Description:Turn on antenna, every time turn on or shut down antenna need at least 1ms delay
in „Arduino leonardo invalid suffix "B9FD4" umgehen“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
wsg2000.c
or E/W specifier. * * Pseudo-code (for floating-point representations): * * double decimal, minutes_tmp, seconds; * long degrees, minutes; * * degrees = lround(floor(decimal)); * minutes_tmp = (decimal - floor(decimal)) * 60; * minutes = lround(floor(minutes_tmp)); * seconds = (minutes_tmp - floor(minutes_tmp
-
Datei
DCF.asm
SPL, temp ldi temp, HIGH(RAMEND) ; HIGH-Byte der obersten RAM-Adresse out SPH, temp ;timerinit ldi tmp31,0b00001101 ;64µs 1/128 del bei cmp out TCCR2,tmp31 ldi tmp31,0b00000100 ;compare 4 out TCNT2,tmp31 ldi temp, 0xFF out DDRB, Temp ;set PORTB pins to output ;ldi r16,high(0x00FF);Timer1 Endwert1 H ;
-
Datei
PokeFlash.cpp
(0x555, ConvByt(0xAA), 0); WriteCart(0xAAA, ConvByt(0x55), 0); WriteCart(0x555, ConvByt(0x90), 0); tmp = ConvByt(ReadCart(0x0, 1)); WriteCart(0x555, ConvByt(0xAA), 0); WriteCart(0xAAA, ConvByt(0x55), 0); WriteCart(0x555, ConvByt(0xF0), 0); FlushOutBuffer(); return tmp; case FLASH_DEVICECODE: WriteCart
in „SPI mit FT2232H“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
DemystifyingtheTLC5940.pdf
Compare Match A interrupt TIMSK0 |= (1 << OCIE0A); } void TLC5940_SetAllDC(uint8_t value) { uint8_t tmp1 = (uint8_t)(value << 2); uint8_t tmp2 = (uint8_t)(tmp1 << 2); uint8_t tmp3 = (uint8_t)(tmp2 << 2); tmp1 |= (value >> 4); tmp2 |= (value >> 2); tmp3 |= value; dcData_t i = 0; do { dcData[i++] = tmp1
in „System Clock Output mit Atmega32“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
DemystifyingtheTLC5940.pdf
Compare Match A interrupt TIMSK0 |= (1 << OCIE0A); } void TLC5940_SetAllDC(uint8_t value) { uint8_t tmp1 = (uint8_t)(value << 2); uint8_t tmp2 = (uint8_t)(tmp1 << 2); uint8_t tmp3 = (uint8_t)(tmp2 << 2); tmp1 |= (value >> 4); tmp2 |= (value >> 2); tmp3 |= value; dcData_t i = 0; do { dcData[i++] = tmp1
in „TLC5940 library: Erfassen von Veränderungen“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
gcc9.2_binutils2.34_Konsolenausgabe.txt
short-calls" \ "" \ "" \ "" \ "" \ "" \ "msp8 mmcu=avr25 mmcu=avr25/msp8 mmcu=avr3 mmcu=avr31 mmcu=avr35 mmcu=avr4 mmcu=avr5 mmcu=avr51 mmcu=avr6 mmcu=avrxmega2 mmcu=avrxmega3/mshort-calls mmcu=avrxmega3 mmcu=avrxmega4 mmcu=avrxmega5 mmcu=avrxmega6 mmcu=avrxmega7 mmcu=avrtiny" \ "" \ "" \ "yes" \ > tmp-mlib.h
in „Toochain bauen avr-gcc-x.x mit binutils-2.34 funktioniert nicht“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
C_Code.txt
location) { I2C1ADR = SLA_W; I2C1MTX = AP; I2C1MTX = location; warteTX(); I2C1ADR = SLA_R; warteRX(); int tmp; tmp= I2C1MRX; return (tmp); } /**************************************************************************** Function : void writeI2C_Block (int reg_loc,int byte_num,int *data_p) Block write *******
in „Impedanzconverter Ad5933 von Analog“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
main.c
Pumpenleistung in %, Zeiten in Ticks (1 Tick = ~70ms) #define VAKUUM_START 55 #define VAKUUM_HALTE 35 #define LUFT_START 90 #define LUFT_HALTE 30 #define VAKUUM_ADC 0 //ADC Kanal #define LUFT_ADC 1 #define ADC_HYST 20 //ADC Hysteres #define LUFT_SLEEP_TICKS 100 //Wartezeit bis Pumpe nach Druckaufbau
in „Pick & Place-Stift mit Unterdruckpumpe & Fußschalter“ · Platinen ·
-
Datei
main.asm
i2cadr, temp rcall i2c_start ldi i2cdata, 0x01 ; Register 1 = Minuten rcall i2c_write ldi i2cdata, 0x35 ; Minuten = 35 rcall i2c_write rcall i2c_stop ; ------------------------ ; (Stunden-Register) ldi temp, 0b11010000 mov i2cadr, temp rcall i2c_start ldi i2cdata, 0x02 ; Register 2 = Stunden rcall i2c_write
in „Probleme mit DS1307 und dessen Zeitausgabe“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
SONY_KDL-32_40_46EX600_Chassis_AZ1-K.pdf
1 1 1/4W 450V 450V 1/4W R0.47 10k D10XB60S 450V 450V 450V RN-CP RN-CP R6117 2W RN-CP PP PP PP 0.5% TMP TMP 0.5% 10 RS 5% 1 2 TMP TMP TMP EY6504501 1/10W R6111 S 12 MAIN_UNREG_1 Q681608 C6824 R6869 R6873 PWM_DIMMER EY6007 EY6010 1uF 1.5uF 1.5uF TK15A50D(LBS1SO.Q) R6522 R6528 RN-CP 1/10W 002:6C 2SA2122G0LS0
in „Sony LCD KDL46-EX500 --- Kurzschluss/defektes Bauteil“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
testHardware.lst
.file "testHardware.c" 2 __SREG__ = 0x3f 3 __SP_H__ = 0x3e 4 __SP_L__ = 0x3d 5 __CCP__ = 0x34 6 __tmp_reg__ = 0 7 __zero_reg__ = 1 15 .Ltext0: 16 .global port_init 18 port_init: 19 .LFB6: 20 .LM1: 21 /* prologue: function */ 22 /* frame size = 0 */ 23 /* epilogue start */ 24 .LM2: 25 0000 0895 ret 26
in „Auswahl der Hardware durch Präprozessor“ · Mikrocontroller und Digitale Elektronik ·
-
PDF
GCC_Tut_Test.pdf
Cursor in Zeile y (1..4) Spalte x (0..15) 93 void set_cursor(uint8_t x, uint8_t y) 94 { 95 uint8_t tmp; 96 switch (y) { 97 case 1: tmp=0x80+0x00+x; break; // 1. Zeile 98 case 2: tmp=0x80+0x40+x; break; // 2. Zeile 99 case 3: tmp=0x80+0x10+x; break; // 3. Zeile 100 case 4: tmp=0x80+0x50+x; break; // 4
-
Datei
gcc10_binutils2.33.1_flex_Konsolenausgabe.txt
\ else true; fi; \ else true; fi; build/genhooks -d \ ../../../downloads/gcc/gcc/doc/tm.texi.in > tmp-tm.texi case `echo X|tr X '\101'` in \ A) tr -d '\015' < tmp-tm.texi > tmp2-tm.texi ;; \ *) tr -d '\r' < tmp-tm.texi > tmp2-tm.texi ;; \ esac mv tmp2-tm.texi tmp-tm.texi /bin/bash ../../../downloads
in „Toochain bauen avr-gcc-x.x mit binutils-2.34 funktioniert nicht“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
Uh2313_8.asm
* INT0 (DCF-Signal) bearbeiten **************************************************** impuls: in isr_tmp,sreg ;Flagreg.sichern cpi testhl,114 ;912ms (zwischen 2 Flanken ist 1 sek) brcs igno ;wenn kleiner -> igno(Fehler unterdrücken) clr testhl ;Timerreg=0 inc sek ;DCF-sek + 1 igno: out sreg,isr_tmp ;Flag's
-
Datei
IS66WVH16M8ALL_Rev0_3.v
end if(diff_ck==0 ) begin dq_in_neg[7:0]= dq_in[7:0]; rwds_L = rwds_in; end if(diff_ck==0) begin dq_tmp[15:0] = {dq_in_pos[7:0],dq_in_neg[7:0]}; memory_write_H (r,c,dq_tmp[15:8],rwds_H); memory_write_L (r,c,dq_tmp[7:0],rwds_L); if(c[8:0] == 'h1ff) begin flag[0] = 1'b1; end if(Debug) $display($time, " WRITE : row [%h] col[%h] [data [%h],rwds [%b]] == [data[%h],rwds [%b]] ", r, c,dq_tmp[15:8],rwds_H,dq_tmp[7:0],rwds_L); // if( c < as_bl && csb_inn == 0 && init==10 ) begin if( csb_in == 0 && init==10 ) begin Row_Decode; Burst_Decode; end // c = c+ 1; end end if(Data_out_enable == 1
in „HyperBus Ideen“ · FPGA, VHDL & Co. ·
-
Datei
ETH100.c
short mask, unsigned short finalxor) { unsigned short i, j, num_bytes; unsigned short crc, c, short_c, tmp; unsigned short crc_tabccitt[256]; num_bytes = 7; for (i = 0; i<256; i++) { crc = 0; c = i << 8; for (j = 0; j<8; j++) { if ((crc ^ c) & 0x8000) { crc = (crc << 1) ^ mask; } else { crc = crc << 1; }
in „CRC Berechnung für ETH comfort 200“ · Haus & Smart Home ·
-
Datei
main.c
; 1 cycle" "\n\t" "adc r19, %[ad2] ; 1 cycle" "\n\t" "adc %A[sig], %[ad3] ; 1 cycle" "\n\t" "ld __tmp_reg__, Z ; 2 cycles" "\n\t" "out %[out], __tmp_reg__ ; 1 cycle" "\n\t" "sbis %[cond], 2 ; 1 cycle if no skip" "\n\t" "rjmp 1b ; 2 cycles. Total 10 cycles" "\n\t" : : [ad0] "r"(ad0), [ad1] "r"(ad1),
in „PWM-Ausgabe stimmt nicht bei AVR DDS“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
GLCD.c
unsigned short bkColor) { unsigned short i=0; unsigned short j=0; unsigned char buffer[16]; unsigned char tmp_char=0; GetASCIICode(buffer,c); /* È¡×ÖÄ£ÊýŸÝ */ for (i=0;i<16;i++) { tmp_char=buffer[i]; for (j=0;j<8;j++) { if ( (tmp_char >> 7-j) & 0x01 == 0x01) { LCD_SetPoint(Xpos+j,Ypos+i,charColor); /* ×Ö·ûÑÕÉ
in „STM32 24Bit Bmp nach 565RGB Format“ · Mikrocontroller und Digitale Elektronik ·