-
Thread
Overlay und Funktionsübergabe in Bascom
Befehlsbuffer gefüllt, der in einem gemeinsamen Interpreter analysiert werden soll. <code> dim strBuffer1 as string*127 Dim BufferBytes(128) As Byte At strBuffer1 Overlay dim strBuffer2 as string*127 Dim BufferBytes(128) As Byte At strBuffer2 Overlay .. Call sInterpreter(strBuffer1) ... Call sInterpreter
128) As Byte Dim Strtext As String * 127 Dim Strzahl As String * 127 'max. 10 Stellen, aber zum Abfangen von Fehleingaben Do 'Logik: shared RAM lese und wenn neue Bytes
-
Thread
Neuer Lötkolben | Meinungen gefragt
www.reichelt.de/?;ACTION=3;LA=5000;GROUP=D212;GROUPID=549;ARTICLE=33235;START=0;SORT=user;OFFSET=1000;SID=27hAs3BqwQARsAAEzFDDAde4885750aa2621b203661a87fdb207b
=553;ARTICLE=69172;START=0;SORT=user;OFFSET=1000;SID=27hAs3BqwQARsAAEzFDDAde4885750aa2621b203661a87fdb207b :=)
-
Thread
AVR STUDIO ohne REGISTRIERUNG !Link! Gesperrt
version 5... http://www.atmel.com/dyn/resources/prod_documents/as5installer-5.0.1163-full.exe
http://www.atmel.com/Images/as6installer-6.0.1843.exe mfg
-
Thread
Land, indem Ings gesucht werden Gesperrt
"You would have to show exceptional skills within electrical systems and power system modeling, as well as strict time management, but, we doubt, this would scare you. With a such degree you would be able to find a job " mit den Eigenschaften wird man auch in Deutschland sofort genommen zum ordentlichen
You would have to show exceptional skills within electrical systems and > power system modeling, as well as strict time management, but, we doubt, > this would scare you. With a such degree you would be able to find a job > " > > mit den Eigenschaften wird man auch in Deutschland sofort genommen
-
Thread
Bitte um Hilfe (Layout)
In meiner Freizeit habe ich folgende Schaltung (im Anhang) entwickelt. Sie soll in mithilfe des AS5510 von AMS den Durchmesser von 3D-Druck-Filament messen, damit die Drucker-Firmware die Fördergeschwindigkeit kompensieren kann. Dazu wird per i2c die Position des Magneten erfasst und per Attiny85
Müsste bei dem Baustein AS5510 VSS nicht auf GND und VDD auf +3V3 gehen?
-
Thread
Schaltnetzteil reparieren, kann doch nicht so schwer sein !
Du Dich bei der Fehlersuche anlehnen. http://www.datasheetcatalog.com/datasheets_pdf/I/C/E/2/ICE2AS01.shtml MfG Paul
gegangen. Schließlich funktioniert das Netzteil wieder. Also ich denke es war von Anfang an der ICE2AS01 defekt. Vielen Dannk für die Hilfe !!
-
Thread
Uhrenquarz an Atmega8
void isr_init(void) { ASSR = (1<<AS2); TIMSK |= (1<<TOIE2); TCCR2 = (1<<CS22)|(1<<CS21); sei(); } //..... ISR(TIMER2_OVF_vect) { TCNT2 = 128; //.......Minute erhöhen }
Disable the Timer/Counter2 interrupts by clearing OCIE2 and TOIE2 2. Select clock source by setting AS2 as appropriate 3. Write new values to TCNT2, OCR2, and TCCR2 4. To switch to asynchronous operation: Wait for TCN2UB, OCR2UB, and TCR2UB 5. Clear the Timer/Counter2 Interrupt Flags 6. Enable interrupts
-
Thread
Problem in Bascom mit Variablen
'Strom Dim Daten4 As Word At &H84 Overlay 'Drehzahl Dim Daten5 As Word At &H86 Overlay 'Temperatur Dim Daten6 As Word At &H88 Overlay 'Empänger Spannung Dim Daten7 As Word At &H8A Overlay
'Strom > Dim Daten4 As Word At &H84 Overlay 'Drehzahl > Dim Daten5 As Word At &H86 Overlay 'Temperatur > Dim Daten6 As Word At &H88 Overlay 'Empänger Spannung > Dim Daten7 As Word At &H8A Overlay
-
Thread
SerialPort abfragen (VB2008)
könnte schon mal Danke Micha [c] Imports System.IO.Ports Public Class Form1 Dim Daten As Integer 'Daten empfangen Private Sub btnOK_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnOK.Click SerialPort1.PortName = "com4" SerialPort1
System.IO.Ports Imports System.Windows.Forms Imports System Public Class Sim Dim Verbindung As Double Dim Daten As String Private Sub btnOK_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnOK.Click SerialPort1.PortName = "com4" SerialPort1
-
Thread
Colibri T20 von Toradex - EW2012: wer hat ein Board bekommen?
using rtc device, m41t00, for alarms [ 8.091339] rtc-ds1307 0-0068: rtc core: registered m41t00 as rtc0 [ 8.129070] tegra_rtc tegra_rtc: rtc core: registered tegra_rtc as rtc1 [ 8.135685] tegra_rtc tegra_rtc: Tegra internal Real Time Clock [ 8.141793] tps6586x-rtc tps6586x-rtc.0: rtc core: registered tps6586x-rtc as rtc2 [ 8.150375] i2c /dev entries driver [ 8.154296] lirc_dev: IR Remote Control driver registered, major 251 [ 8.158996] usb 1-1: new high speed USB device using tegra-ehci and address 2
-
Thread
SPI Kommunikation mit Target über USBasp
- usbInputBufOffset, len); #if USB_CFG_HAVE_FLOWCONTROL if(usbRxLen > 0) /* only mark as available if not inactivated */ usbRxLen = 0; #else usbRxLen = 0; /* mark rx buffer as available */ #endif } if(usbTxLen & 0x10){ /* transmit system idle */
have the "ISR_NOBLOCK" attribute set (see "avr/interrupt.h") or be written in assembler with "sei" as the first instruction. [/c] Mit *ISR_NOBLOCK* sollte also alles im grünen Bereich sein. Gruß Oliver
-
Thread
Nachfolger des RP2040/Raspberry Pi Pico
value to customers of long term availability of product and therefore aims to continue supply for as long as practically possible. We expect RP2040 to remain in production until at least January 2041. https://datasheets.raspberrypi.com/rp2040/rp2040-product-brief.pdf Seite 3
value to customers of long term availability of product and therefore aims to continue supply for as long as practically possible. We expect RP2040 to remain in production until at least January 2041." https://www.raspberrypi.com/products/rp2040/specifications/
-
Thread
Eagle 5.0 ist da
Totale Katastrophe. "Run as freeware" produziert nur nen Fehler, danach kommt er mit nem Dialog, wo man den Schluessel angeben soll. OK, den "freeware.key" genommen produziert wieder nen Fehler. Sowas wie Qualitaetskontrolle is
>Totale Katastrophe. "Run as freeware" produziert nur nen Fehler.. Habe es gerade ausprobiert unter openSUSE 10.3 funktioniert als Freeware einwandfrei. Hab mal das kleine Demo Projekt geöffnet. Geht soweit auch, nur beim
-
Thread
Suche Mitwirkende für Universal-FPGA board
, weil sie wenige Pins am FPGA braucht. Mir haben die P/MODS bisher wenig genutzt, weil es kein AES3, S/PDIF oder ähnliches als PMOD gab. Kann man aber durchaus selber verdrahten, was bei meinen 768kHz S/PDIF nicht so einfach ist, wegen der Bandbreite. Ich denke, irgendwie kriegt man das Gewollte
unsere Wege sich gut zusammen tun. Meine derzeitige I/O digitale Module: XLR, RCA, TosLink alle AES/EBU und ADAT fähig, und dann noch MIDI. Eingänge sind galvanisch geschieden. XLR und RCA haben feste (teil) Kabel Neutralisation. Materialkosten sind jetzt sind (5x8 Prototyp I/O Module) weniger als
-
Thread
USI auf Tiny84 bricht Übertragung ab, bei negativem Flankenwechsel
USI_TWI_Master_Initialise( void ) { PORT_USI |= (1<<PIN_USI_SDA); // Enable pullup on SDA, to set high as released state. PORT_USI |= (1<<PIN_USI_SCL); // Enable pullup on SCL, to set high as released state. /* Achtung: ATTiny24 & Co haben im TworWire Mode die internen Pull-ups deaktiviert
werden!!! */ DDR_USI |= (1<<PIN_USI_SCL); // Enable SCL as output. DDR_USI |= (1<<PIN_USI_SDA); // Enable SDA as output. USIDR = 0xFF; // Preload dataregister with "released level" data. USICR = (0<<USISIE
-
Thread
Lazarus + Synaser
Value of 3 ScrollBars is sended by RS232 to my Arduino. At 3 LedBars, the values are displayed as (0-255) values. ( gonna be in 0 to 8 led's later as is it showing an audio-level-indicater ) In Lazarus the refresh rate is 10/sec. Only the value of the last changed Scrollbar is sended to Arduino. At my Lazarus INIT al of the 3 wil be sended! I'm using 1 byte as LedbarNumber and 3 bytes as LedBarValue. The string 'el' (end-line) is added as delimiter. I'm very happy I got this far programming RS232. Next step is to controll my robotArm by PC-RS232
-
Thread
MySQL anfänge
deine echte Tabelle > SELECT tabA.* FROM > ( SELECT ID, WERT1 FROM TABLE WHERE WERT1 = 'AC' ) AS tabSEL > LEFT JOIN TABLE AS tabA ON tabSEL.ID = tabA.ID <- das Hilft dir zwar nicht exakt bei deiner Frage weiter, aber hoffentlich im "verständnis" wie SQL funktioniert! für alles weitere hast
bin mir aber nicht sicher, ob diese Schreibweise bei mysql so gültig ist. Ansonsten ... cast(wert2 as char) ... oder so ähnlich ...)
-
Thread
AD-Wandler Problem
since AVCC feeds the Port C output drivers, the RC network should not be employed if any Port C serve as outputs. Ich wllte nur einen einzige Eingang als AD Wandler nehmen, also hab ich den Tiefpass weggelassen. Meinst du, so ne schwachsinnige Anzeige könnte daran liegen ?? Grüße Steffen
Den Fall hast du ja nicht, oder ??? Port C has an alternate function as analog inputs for the ADC. If some Port C pins are configured as outputs, it is essential that these do not switch when a conversion is in progress. This might corrupt the result of the conversion.
-
Thread
BASCOM wiederherstellen
as dword dim vred as dword:dim vgreen as dword:dim vblue as dword :dim vpwm as dword :dim v2pwm as dword dim vred2 as dword:dim vgreen2 as dword:dim vblue2 as dword dim vr as word:dim vg as word:dim vb as word dim vrr as word:dim vgg as word:dim vbb as word dim vrx as word:dim vgx as word:dim vbx as word dim ntc1 as dword:dim ntc2 as dword:dim offset as dword dim x as byte: dim y as byte dim t1max
-
Thread
AVR - ATmega168PA - Assembler - Problem beim Wechsel von Ouput zu Input
(Kommunikation über PB0): [avrasm] LDI R16,0b00100001 OUT DDRB,R16 ; define PB 0 and 5 as output SBI PORTB,0 ; initalize HIGH ; generate polling-signal here LDI R16,0b00100000 OUT DDRB,R16 ; define PB 0 as input for Response --> Ab dieser Zeile wird kein Polling-Signal
controller signal ######### ;CBI PORTB,0 LDI mp,0b00100000 OUT DDRB,mp ; define PB 0 as input and PB 5 as output for LED ;CBI PORTB,0 ; ########## Wait for data - approx. 3 sec ############# LDI R18,255 delayOutOuter: LDI R17,255 delayOuter: LDI numbCycles
-
Thread
dregeber 35 schritte gesucht 360grad Gesperrt
ganze lowcost , da ich 15schalter habe Sehr preisgünstig sind magnetische Encoder auf der Basis des AS5600 oder MT6701. Beim Chinesen bekommst du die benötigten 15 Stück als fertige Module für weniger als 20 € (alle zusammen). Diese Encoder haben 12 oder 14 Bit Auslösung. Um auf die 35 Schritte zu
erkennen, brauchst du eine Genauigkeit von +/-5° und das schafft so ein AS5147 spielend. Günter L. schrieb im Beitrag #7870612: > Hier ist eine 24 stufige Segmentscheibe, die man dann mit zwei > Gabellichtschranken abtasten kann. Das ist die Frage, ob ein Inkrementalgeber
-
Thread
Dash button: hackable?
Vielleicht kommt es ja noch, Atmel hat dafür einen WINC3400 Wifi BT Combo, samples gibt es schon und AS7 support hat im Moment nur BT Provisioning im Programm, aber das nächste ASF Update ist auch wieder fällig. Wenn ich mir das Datenblatt anschaue, ist der WINC3400 ein WINC1500 mit BT drin. Mich wundert
you would route on the board if you wanted to create inductance of some sort. But I've also seen it as a protection feature on payment terminals, for instance. The rubbery goo on the side of the CPU isn't really needed either. I don't mean to start a conspiracy theory really, as it's not very likely Amazon
-
Thread
Elektro-Moped Ansteuerung BLDC über Arduino
Journaux/2010-IEEE_TPEL-Lee-Hong-Nam-Ortega-Praly-Astolfi.pdf Man beachte die Kommentare am Ende: "As predicted by the theory, the performance of the system was strongly degraded when the speed approached zero" "Note that as the speed approaches to zero, the angle error oscillates to a great extent
Martin, <OT> Martin schrieb im Beitrag #4525383: > Man beachte die Kommentare am Ende: > "As predicted by the theory, the performance of the system > was strongly degraded when the speed approached zero" > "Note that as the speed approaches to zero, the angle error oscillates > to a great
-
Thread
Photostrom im Bereich weniger nA verstärken.
Welche Art von Photodiode ist das? InGaAs? Welche Kapazität und welchen Shuntwiderstand hat diese Diode?
um Licht mit 1550nm Wellenlänge geht. In dem Bereich ist Silizium(TSL257) blind. Da hilft nur InGaAs oder Germanium. Auf Grund der kleinen Ströme ist aber huer nur InGaAs sinnvoll.
-
Thread
Was bedeutet eigentlich "Akademiker"?
Und ich dachte immer AKA heist "Also known as"... Sachn gibts. ;)
Nene: "Ass know as" Klaus.
-
Thread
Watchdog läst sich nicht Stopen
Portb.0 = Input ' Eingang taster ' Variabele Deklariren Dim A As Byte Dim Daten As String * 20 ' RS232 Speicher Dim Wandan As Byte ' Max Hochdimm für Wandlampe Dim Deckean As Byte
Word ' Zeit bis zum Runterdimmen Dim Resetzeit As Word Dim Geschwindigkeit As Byte ' PWM Rampe Dim Lichtan As Bit ' Arbeitsmerker nach einer Bewegung o. Tasterdruck Dim Wand As Byte
-
Thread
Energiebilanz E-Auto übers Jahr hinweg [Endet: 31.12.2029?] Gesperrt
überlegen. Bei eher geringeren total coast of ownership machen sie im Stadtverkehr sehr viel mehr Spass as die altmodischen Wanderdühnen, keinen Gestank und weniger Lärm. Dazu muss ich mir keinen Kopf um biliges tanken und Stinkefinger machen. Blöd sind die Preise bei vielen Schnellladern, die oft begrenzte
-
Thread
Programmierung von ATmega8-16PU macht Probleme
Reset-Pins nichts dazu: "RESET, Reset pin: When the RSTDISBL Fuse is programmed, this pin functions as a normal I/O pin, and the part will have to rely on Power-on Reset and Brown-out Reset as its reset sources. When the RSTDISBL Fuse is unprogrammed, the reset circuitry is connected to the pin, and the pin can not be used as an I/O pin. If PC6 is used as a reset pin, DDC6, PORTC6 and PINC6 will all read 0. PCINT14: Pin Change Interrupt source 14. The PC6 pin can serve as an external interrupt source."
-
Thread
Unterschied zwischen memcmp und strcmp – Wann was nehmen?
Gibt es eine explizite Regel, die dem Compiler verbietet mehr als 1 zu lesen und zu vergleichen? Mit "As-If" sehe ich keinen Grund für ein solches Verbote. > Noch besser wird es, wenn 0==memcmp dasteht und der Compiler daraus > schliesst, dass auch bei falscher Byteorder größere Happen zum gleichen
solchen Unterschied nicht, auch wenn eine libc bzw. ein Compiler das so implementieren mag. > Mit "As-If" sehe ich keinen Grund für ein solches Verbote. Genau. Die abstrakte Maschine vergleicht byteweise. Auf Grund der as-if-Regel darf der Compiler davon abweichen, aber das ist ein Implementierungsdetail
-
Thread
Eine Lcdanzeige mit einem Atmega8 steuern
Portd.6 , Rs = Portd.5 , Config Lcdpin = Pin , Port = Portb , E = Portd.6 , Rs = Portd.5 Dim Lb As Word Dim Hb As Word Dim A As Word Dim B As Byte Config Lcd = 20 * 4 Do Cls Locate 1 , 1 Lcd "" ' Hb = Adch Lb = Adcl Hb = Hb And &B00000011 Hb = Hb * 256
Portc = &B11111100 Portb = &B00000000 Mcucr = &B00001110 Gicr = &B11000000 Do Dim A As Byte Config Lcd = 20 * 4 , If Portb.6 = 0 Then Portb = &B00111000 Portb = &B00001111 Portb = &B00000001 Portb = &B00000110 Else Loop End If Locate 1 , 1 Lcd
-
Thread
Software Kopierschutz
Paßworts, oder für die alten Winzip-Versionen vor 9.0. Bei den aktuellen Winzip-Versionen wird AES-128 bzw. AES-256 verwendet, d.h. bei Wahl eines genügend langen Paßworts (am besten ein mindestens 32 Zeichen langer Zufallsstring) und Einmal-Verwendung jedes einzelnen Paßworts sind diese ZipCrack-Tools
Das winzip jetzt AES verwendet war mir noch nicht bekannt. Danke für die Info, sebastian
-
Thread
ADC mit DRAM Buffer an µC anbinden
schwer. Mensch Meier, du hast mir mal einen schönen Tunnelblick. Der Op kennt seinen dsPIC und gut. as ganze Geraffel mit der Toolchain und embedded uC im FPGA ist auch nicht in drei Tagen verdaut. Die meisten Anwendungen von embedded uCs in FPGAs sind so oder so nur Spielerei.
der Zeit des sampelns. Falk B. schrieb im Beitrag #7135013: > Der Op kennt seinen dsPIC und gut. as ganze Geraffel mit der Toolchain > und embedded uC im FPGA ist auch nicht in drei Tagen verdaut. Muss er sich so oder so mit auseinandersetzen, ob mit oder ohne Softcore oder HPS. Denn ohne FPGA
-
Thread
DS18S20 auslesen (finde den fehler nicht)
unsigned char ow_reset(void) { uint8_t err=100; DDRC |= (1<<PC5); // define as ouput _delay_us(480); // leave it low for 480us DDRC &= ~(1<<PC5); _delay_us(60); // wait for presence err = (PINC & (1<<PC5)) >> PC5; // get presence signal if( err == 0 ){
= no part void write_bit(char bitval) { DDRC |= (1<<PC5); // define as ouput _delay_us(8); if(bitval==1) { DDRC &= ~(1<<PC5); // define as input } _delay_us(120); DDRC &= ~(1<<PC5); // define as input }// Delay provides
-
Thread
ChatGPT: Primfaktorzerlegung
"No, 6 divided by 2 is equal to 3 with no remainder. When we divide 6 by 2, we can think of it as asking how many times 2 goes into 6. We can see that 2 goes into 6 three times, since 2 times 3 equals 6. Therefore, the answer is 3, with no remainder. The notation for the division of 6 by 2 is
This means that 6 divided by 2 is equal to 3. We don't say "rest 2" to indicate any remaining amount, as there is no remainder when 6 is divided by 2."
-
Thread
Bosch ECU programmieren
Da ja auch as Fahrzeugmodell geheim ist, Vermutung: Wegfahrsperre anlernen.
Matthias B. schrieb im Beitrag #7294017: > Da ja auch as Fahrzeugmodell geheim ist, Vermutung: Wegfahrsperre > anlernen. Da vermutlich es geheim war einen Satz zu verstehen, erläutere ich ihn einfach mal nicht und lass dich dumm sterben!
-
Thread
CRC8 in VB.NET - Finde den Fehler.
meine Übersetzung nach Vb.net nicht richtig. Hier das MCS Beispiel: [code] Function Docrc8(s As String) As Byte Dim j As Byte Dim k As Byte Dim crc8 As Byte crc8 = 0 For m = 1 To Len(s) x = Asc(Mid(s, m, 1)) For k = 0 To 7 j = 1 And (x Xor crc8) crc8 = Fix(crc8 / 2) And &HFF
crc8 As Byte = 0 For m As Integer = 0 To (buffer.Length - 1) Dim x As Byte = buffer(m) For k As Integer = 0 To 7 j = CByte(1 And (x Xor crc8))
-
Thread
Gibt es aktuell einen Fachkräftemangel im MINT-Bereich?
#5757983: > Frage mich echt, wann mal jemand an Unis Amok läuft. Die ruinieren doch > echt Leben. As frag ich mich auch!
https://en.wikipedia.org/wiki/Von_K%C3%A1rm%C3%A1n_(lunar_crater)#Exploration "The site has symbolic as well as scientific value. Theodore von Kármán was the PhD advisor of Qian Xuesen, the founder of the Chinese space program." Und: https://en.wikipedia.org/wiki/Theodore_von_K%C3%A1rm%C3%A1n "Theodore
-
Thread
frage zu requirement engineering
steht. Das verstehe ich jetzt so, das " if and when a "fail-safe" system fails, it remains at least as safe as it was before the failure." (siehe wikipedia). Als Lösungsvorschlag werden jetzt Kerkos mit Sollbruchstelle und weicher Terminierung vorgeschlagen. Unter "weicher Terminierung" kann sich wohl
. Das verstehe ich jetzt so, das " if and when > a "fail-safe" system fails, it remains at least as safe as it was before > the failure." > (siehe wikipedia). > Als Lösungsvorschlag werden jetzt Kerkos mit Sollbruchstelle und weicher > Terminierung vorgeschlagen. Nein. Die Anforderung ist
-
Thread
gcc11 könnte das avr Backend verlieren
found that later versions of GCC produce larger code which is why we do not use a later release of GCC as the basis for XC8-AVR.' [/code]
that later versions of GCC produce larger code which is > why we do not use a later release of GCC as the basis for XC8-AVR.' > [/code] Eine wirklich innovative Strategie.
-
Thread
Erdölbranche weltweit empfehlenswert? Studium Petroleum Eng. statt IT? Gesperrt
Full-time employees in the oil and gas extraction industry had average monthly earnings of NOK 59 700 as per 1 October 2010. The largest occupational group in the oil sector consists of drill floor crew, process technicians and other operators, who had average monthly earnings of NOK 51 400. Engineers
Full-time employees in the oil and gas extraction industry had average > monthly earnings of NOK 59 700 as per 1 October 2010. The largest > occupational group in the oil sector consists of drill floor crew, > process technicians and other operators, who had average monthly > earnings of NOK 51 400
-
Thread
programm wird nicht auf uC angezeigt, ATmega328P
und gewohnt übertragen. Willst du in AS auch nur über USB flashen musste zusätzlich visualmicro installieren. Ansonsten gehts nur mittels ISP Programmer.
Hallo, was gibt denn AS bzw. avrdude aus?
-
Thread
Bresenham-Algorithmus - Kreisvariante
x1 += a; x2 -= a; if (fgcolor != NONE) glcdLine2(x1, y1, x2, y2, fgcolor); uint16_t as = a * a, bs = b * b; int32_t dx = 0, dy = as, ee = bs; dy *= b; ee += as / 4; ee -= dy; dy += dy; while (dx < dy) { if (fgcolor != NONE) glcdSetPixel4(x1, y1, x2,
x2++; a++; dx += bs; dx += bs; ee += dx; } dy -= as; dy -= as; ee += as; ee -= dy; } } void glcdEllipse(glcdCoord_t x1, glcdCoord_t y1, glcdCoord_t x2, glcdCoord_t y2, glcdColor_t fgcolor, glcdColor_t bkcolor) { if
-
Thread
Grundlage-Frage: Das Internet
Länderkennung (D) und Postleitzahl im Briefverkehr. Nur Institutionen, die selbst Kontakt zu anderen AS haben, müsse sich darum kümmern. Institutionen, die nur über einen Anbieter angebunden sind, nutzen kein eigenes AS, sondern sind Teil des AS dieses Anbieters und senden alles zu dorthin. Router innerhalb eines AS müssen nicht die Last des weltweiten Routings tragen. Nur jene Router, die Kontakt zu fremden AS haben, nehmen daran teil.
-
Thread
(AVR) Ada
as compound expression example.C:8: error: parse error before `for' example.C:8: error: parse error before `;' token example.C:8: error: syntax error before `++' token example.C:9: error: `File' was
treated as compound expression example.C:11: error: parse error before `delete' example.C:12: error: `File' was not declared in this scope example.C:12: error: ISO C++ forbids declaration of `fclose' with no
-
Thread
Mehrfachabfrage mit if und else oder besser?
case, if one calls a single function, two+ following functions or if the called functions are defined as inline. If the main goal is readability i would stick to select-case-default. If you feel, you need some kind of a speed up, you can define the functions as inline (but results in bigger code size
. So one knows more exactly what´s going on in the controller. I have seen this approach in RTOS´s as callback solution.
-
Thread
Pointer in Struct-Arrays Werd Wahnsinnig!
n"); PRINTSIZE(s2); PRINTSIZE(s2.i1); PRINTSIZE(s2.c1); printf("\n"); PRINTSIZE(as1); PRINTSIZE(as1[0]); PRINTSIZE(*as1); printf("\n"); PRINTSIZE(&function); PRINTSIZE(&*function); PRINTSIZE(&****function); printf("\n"); // ggf. folgenden Abschnitt auskommentieren
8 sizeof (s2.i1) = 4 sizeof (s2.c1) = 1 sizeof (as1) = 30 sizeof (as1[0]) = 3 sizeof (*as1) = 3 sizeof (&function) = 8 sizeof (&*function) = 8 sizeof
-
Thread
ATXMEGA 128a3 mit ds18s20
'configure lcd screen Config Lcdbus = 4 Cls '___________________________ Dim Z As Byte '__________________________________________________ 'Config Pind.6 = Input Config 1wire = Portd.6 Dim Daten(9) As Byte Dim Adresse(8) As Byte Dim Sensor1(8) As Byte Dim T As Integer Sensor1
Dim Sc(9) As Byte Dim T As Integer Dim Ta As Integer Dim Tb As Integer Dim T1 As Integer Dim I As Byte Cls Cursor Off Locate 1 , 1 : Lcd "Temp:" Do ' Alle angeschlossenen DS18S20 zum Messen veranlassen
-
Thread
Bascom, AVR Lüftersteuerung, Falsche Drehzahl mit High-Side-PWM
On Int1 Isr_int1 Enable Int0 Enable Int1 Enable Interrupts 'Variablen RPM messen Dim Rpm1 As Integer Dim Rpm2 As Integer Dim Rpm1_temp As Integer Dim Rpm2_temp As Integer Dim X As Byte Dim Soft_timer As Byte Dim Rpm_runden As Byte Dim Rpm_runden1 As Integer Dim Rpm_runden2 As Integer
On Int1 Isr_int1 Enable Int0 Enable Int1 Enable Interrupts 'Variablen RPM messen Dim Rpm1 As Integer Dim Rpm2 As Integer Dim Rpm1_temp As Integer Dim Rpm2_temp As Integer Dim X As Byte Dim Soft_timer As Byte Do Compare1a = 127 Compare1b = 255 '###########################
-
Thread
ATMega644p: Kein Reset nach Programmiervorgang
... avrdude: 23816 bytes of flash verified avrdude: safemode: lfuse reads as EE avrdude: safemode: hfuse reads as 99 avrdude: safemode: efuse reads as FD avrdude: safemode: Fuses OK avrdude done. Thank you. [/code] Zum anderen sehe ich nicht, dass meine Kontroll-LED
ATOMIC_BLOCK( ATOMIC_RESTORESTATE ) { DDRB |= (1<<PB0); // Set line 0 of port B as output DDRB |= (1<<PB1); // Set line 1 of port B as output DDRB |= (1<<PB2); // Set line 2 of port B as output DDRB |= (1<<PB3); // Set line 3 of port B as output
-
Thread
ESP32 führt Programm (auf einmal) nicht zu Ende aus
, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00} ; mbedtls_aes_init( &aes ); mbedtls_aes_setkey_enc( &aes, (const unsigned char*) key, strlen(key) * 8 ); mbedtls_aes_crypt_cbc( &aes, MBEDTLS_AES_ENCRYPT, block, iv, (const unsigned char*)input, outputBuffer
, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00} ; mbedtls_aes_init( &aes ); mbedtls_aes_setkey_dec( &aes, (const unsigned char*) key, strlen(key) * 8 ); mbedtls_aes_crypt_cbc( &aes, MBEDTLS_AES_DECRYPT, block, iv, (const unsigned char*)cipherText, outputBuffer