-
Thread
Parallax Propeller
So, all I’ve said so far amounts to just this: Through an exceptional effort, we made the Propeller as electrically robust and efficient as we could. This, still, is not the core quality issue, but a supporting one. The core quality of the Propeller really resides in its architecture. The architecture
thought possible. They are finding the Propeller to be a great vehicle for invention and discovery, as well as the means to realize complex embedded systems that are not possible with any other chip. A few forum members have even said that the Propeller has drawn them back into software and electronics
-
Thread
Kondensator vor ADC? Welcher, wenn nicht Tantal?
ganz: "The VCC pin should be bypassed to the ground plane with a 10μF tantalum capacitor with leads as short as possible. If the power supply is clean, the LTC1286/LTC1298 can also operate with smaller 1μF or less surface mount or ceramic bypass capacitors." (Seite 15 des Datenblatts) Da Du 1uF genommen
The VCC pin should be bypassed to the ground plane with a 10µF tantalum capacitor with leads as short as possible. If the power supply is clean, the LTC1286/LTC1298 can also operate with smaller 1µF or less surface mount or ceramic bypass capacitors.
-
Thread
uC mit 2 x High Speed USB und AES-Einheit?
genannten Chips gibt, da ich keinen Bock habe 324 Pins zu verlöten?!? Ich bräuchte ca. 5 MByte/s an AES Geschwindigkeit, notfalls auch ohne das USB, falls es einzelne Chips nur für AES gibt? Besten Dank QM
STM32F429 STM32F439 da gibt es einige die 2 mal USB HS und AES können
-
Thread
Arduino & AS5600 i2C lesen ohne Lib
Guten Tag, ich beschäftige mich derzeit mit i2C. Ich möchte mit dem AS5600 den Winkel eine Welle auslesen, klappt auch sowit alles über die Lib für den AS5600. Allerdings möchte ich weg von der Lib und selber alles über i2c machen. Mit dem Hintergrund, dass ich später das
Wire.available()) { // slave may send less than requested char c1 = Wire.read(); // receive a byte as character char c2 = Wire.read(); // receive a byte as character Serial.print(c1); // print the character Serial.print(c2); // print the character } delay(500);
-
Thread
ams OSRAM AS7421 IR-Spektrometer - Wozu ist das gut?
und 1040 Nm abgeben (DS S.11) https://dammedia.osram.info/media/resource/hires/osram-dam-26205769/AS7421_DS000667_1-00.pdf.pdf
-
Thread
std::start_lifetime_as : legales aliasing auf das alle gewartet haben?
Mit C++23 kommt std::start_lifetime_as (https://en.cppreference.com/w/cpp/memory/start_lifetime_as) Mit std::lifetime_as kann man jetzt legal Objekte im Speicher aliasen, wenn man es nur explizit angibt. Beispiel aus dem C++ Paper P2590R2
unique_ptr<char[]> buffer = stream->read(); if (buffer[0] == FOO) processFoo(std::start_lifetime_as<Foo>(buffer.get())); // OK else processBar(std::start_lifetime_as<Bar>(buffer.get())); // OK } [/c] GCC 14 kann es leider noch nicht >_>. Aber sobald dass in den Compilern ankommt, sollten
-
Thread
ATmega88 - Timer2 OVF mittels Uhrenquarz - Probleme beim Konfigurieren
Disable the Timer/Counter2 interrupts by clearing OCIE2x and TOIE2. b. Select clock source by setting AS2 as appropriate. c. Write new values to TCNT2, OCR2x, and TCCR2x. d. To switch to asynchronous operation: Wait for TCN2xUB, OCR2xUB, and TCR2xUB. e. Clear the Timer/Counter2 Interrupt Flags. f. Enable
ASSR->EXCLK muß 0 sein und ASSR->AS2 auf 1 ... fertisch.
-
Thread
Geschickte Programmierung für Phasenanschnitt
debugging Led Alias Porta.2 Config Int0 = Falling On Int0 Int0_isr Enable Int0 Dim Key As Bit Dim Onoff_flag As Bit Dim Dim_flag As Bit Dim Dim_direction As Bit '1 = incr. brightness, 0 = decr. brightness Dim Key_count_flag As Bit Dim Count_0 As Byte 'for timing of the key Dim Bright_min As Word Dim Bright_max As Word Declare Sub Key_count Declare Sub Dimm Declare Sub On_off Ocr1b = 7000 'start triac at x [µs] after zero cross; 0 = full power, 10,000
-
Thread
CooCox CoIDE mit STM32F4-Discovery Board
"' ..\obj\stm32f4xx_syscfg.o ..\obj\stm32f4xx_sdio.o ..\obj\stm32f4xx_hash.o ..\obj\stm32f4xx_cryp_aes.o ..\obj\stm32f4xx_hash_sha1.o ..\obj\stm32f4xx_usart.o ..\obj\stm32f4xx_pwr.o ..\obj\stm32f4xx_can.o ..\obj\stm32f4xx_wwdg.o ..\obj\stm32f4xx_hash_md5.o ..\obj\stm32f4xx_dac.o ..\obj\startup_stm32f4xx.o
"' ..\obj\stm32f4xx_syscfg.o ..\obj\stm32f4xx_sdio.o ..\obj\stm32f4xx_hash.o ..\obj\stm32f4xx_cryp_aes.o ..\obj\stm32f4xx_hash_sha1.o ..\obj\stm32f4xx_usart.o ..\obj\stm32f4xx_pwr.o ..\obj\stm32f4xx_can.o ..\obj\stm32f4xx_wwdg.o ..\obj\stm32f4xx_hash_md5.o ..\obj\stm32f4xx_dac.o ..\obj\startup_stm32f4xx.o
-
Thread
AVR Potentiometer schwankt total
bis Wandlung beendet ist Was soll denn die Abfrage von ADIF? Datenblatt: ADSC will read as one as long as a conversion is in progress. When the conversion is complete, it returns to zero. Also Frage ADSC ab. ADIF musst du nämlich auch noch per Hand zurückstellen. MfG Spess
Wandlung beendet ist > > Was soll denn die Abfrage von ADIF? > > Datenblatt: > > ADSC will read as one as long as a conversion is in progress. When the > conversion is complete, it returns to zero. > > Also Frage ADSC ab. ADIF musst du nämlich auch noch per Hand > zurückstellen. > > MfG Spess
-
Thread
Tesla / Grohmann
market for Teslas. That said, Tesla’s revenues in the U.S. clearly peaked at $5.6 billion in 4Q2018 as the full federal BEV tax credit for Teslas ($7,500 prior to to January 1st, 2019) expired then. The first quarter is going to be a brutal one for Tesla in terms of profitability— in his report today
row in the U.S. (revenues -34 % and -39%) with no impact from viruses or the like. Also, Teslas, as of January 1st, 2020, are no longer eligible for any U.S. federal tax credit. Die Beratungsfirma veröffentlichte vergangenen Montag ihren Electric Vehicle Index. Demnach stiegen die Verkäufe von
-
Thread
ZigBit ZigBee Meshnetics
hier? (The main language of this forum is German. Use embdev.net for English-language fora. As far as I remember, the µracoli project supposedly supports these modules, thus it also ought to have a pinout mapping. Didn't it even show up above within this thread?)
The source of the internal wiring was found on mikrocontroller.net [see links above] and is working as well with the 2.4GHz and 900 MHz modules. Cheers Axel
-
Thread
pic programmierung
habe diese Zeilen in mplab geschrieben clrf PORTB ; clear PORTB clrf TRISB ; configure PORTB as all outputs clrf testmin2 loop1 clrf min2 loop2 incf min2,F ;increment min2 movf min2,W ;min2 ins Wreg movwf PORTB ;Wreg ins PORTB
outputs werden: clrf STATUS clrf PORTB ; ;clear PORTB bsf STATUS,RP0 clrf TRISB ; configure PORTB as all outputs bcf STATUS,RP0
-
Thread
MCP2515 Interrupt beim Empfang löschen
'INT0 einschalten Enable Interrupts Declare Sub Mcp2515_write_register(byval Adress As Byte , Byval Daten As Byte) Declare Sub Mcp2515_read_register(byval Adress As Byte ) Declare Sub Mcp2515_bitmodify(byval Reg_add As Byte , Byval Reg_mask As Byte , Byval Reg_val As Byte) Dim
'INT0 einschalten Enable Interrupts Declare Sub Mcp2515_write_register(byval Adress As Byte , Byval Daten As Byte) Declare Sub Mcp2515_read_register(byval Adress As Byte ) Declare Sub Mcp2515_bitmodify(byval Reg_add As Byte , Byval Reg_mask As Byte , Byval Reg_val As Byte) Dim
-
Thread
I2C Display läuft nicht
= 1; } void main() { ANSELC = 0x0; TRISB = 0x0; // Configure PORTB as output TRISC = 0b00000000; // Configure PORTC as output PORTC = 0x0; i2c_master_init(); Delay_100ms(); i2c_master_start(); i2c_send_data(0x72)
= 1; } void main() { ANSELC = 0x0; TRISB = 0x0; // Configure PORTB as output TRISC = 0b00000000; // Configure PORTC as output PORTC = 0x0; i2c_master_init(); Delay_100ms(); i2c_master_start(); i2c_send_data(0x4E)
-
Thread
Unnütze Registersicherungen in ISR
Größenordnungen einfacher, besser zu > testen und robuster. Man könnte mit weniger Aufwand den avr-as mit einer Schell Versehen, die eine ISR und deren Prolog/Epilog erkennt, den "Payload" untersucht und gegebenenfalls Prolog/Epilog kürzt. Quasi ein Filter. Da hat man nur eine Baustelle.
Carl D. schrieb im Beitrag #5043085: > Man könnte mit weniger Aufwand den avr-as mit einer Schell Versehen, die > eine ISR und deren Prolog/Epilog erkennt, den "Payload" untersucht und > gegebenenfalls Prolog/Epilog kürzt. Quasi ein Filter. Da hat man nur > eine Baustelle.
-
Thread
Wo ist der Stackpointer des Tiny12?!
Aus dem Datenblatt: "Port B as General Digital I/O The lowermost five pins in port B have equal functionality when used as digital I/O pins. PBn, General I/O pin: The DDBn bit in the DDRB register selects the direction of this pin, if DDBn is set (one), PBn is configured as an output pin. If DDBn is cleared (zero), PBn is configured as an input pin. If PORTBn is set (one) when the pin is configured as an input pin, the MOS pull-up resistor is activated. On ATtiny12 this
-
Thread
V : Basic-Compiler FAST-AVR
haben möchte. $Device= m16 $Stack = 32 $Clock = 8 $Baud = 19200 Dim temp1 As Byte Dim temp2 As Byte Dim daten As Byte Dim text_lang As Byte Dim text_anfang As Byte Dim text_lcd As String *16 Declare Sub lcd_char() Declare Sub lcd_string() Declare Sub lcd_command()
-
Thread
einfache PWM-gesteuerte variable Verstärkung
das mit einem Spezial-IC hinkriegt, ist mir klar, genau das will ich aber vermeiden. ich suche eine "as simple as possible" Möglichkeit, mit geringen Ansprüchen an Signalqualität etc. Irgendwas mit einem Transistor, einem FET, einer Diode (soll ja auch irgendwie gehen)
mit einem Spezial-IC hinkriegt, ist mir klar, genau das will ich > aber vermeiden. ich suche eine "as simple as possible" Möglichkeit Ein OTA *ist* simpel. Im Prinzip ist ein OTA ein OPV, bei dem man die internen Ruheströme (die bei normalen OPV vom Hersteller festgelegt werden) verändern kann. Und
-
Thread
Touch-Lampe Reparatur
English. Speak German (Bairish) but it is easier if I write in English. I am currently frustrated as I have two of the same lamps and one is broken. I recognize it from the picture as I too have it apart trying to get a replacement component. They were cheap but like your lamp's owner, I have grown
then I would like to send my remaining working one to you. I would love to fix the broken one but as they are the matching bedroom reading lights, having broken one is probably more frustrating than not having any (or at least I would have the knowledge that my remaining one went to a make someone happy
-
Thread
Zufalls Funktion
Dim I As Byte Do Debounce Pind.1 , 1 , Zufall , Sub Loop Zufall: Do I = Rnd(100) 'get random number from 0-99 Select Case I Case 0 To 4 : Portb = &B0100000 Case 5 To 24 : Portb = &B0010000
2313def.dat" $crystal = 4000000 Config Portb = Output Portb.5 = 0 Config Pind.1 = Input Dim Z As Byte Dim ___rseed As Word Config Timer0 = Timer , Prescale = 1 Enable Timer0 Start Timer0 Do Debounce Pind.1 , 1 , Generator , Sub Loop Generator: 'Blink-Blink... Portb = 0 ___
-
Thread
Fehler bei fputs in Linux
gerne einige Werte in eine Datei schreiben. Dafür habe ich folgenden Code: [c] results = fopen("aes_results.txt", "a"); if(results = NULL){ printf("Fehler beim öffnen von aes_results.txt\n"); break; } #if DEBUG printf("aes_results.txt wurde geoeffnet!\n"); #endif sprintf(put, "EncKey
hoffe mir kann hier jemand helfen. Etwas früher erstelle ich die Datei: [c] results = fopen("aes_results.txt", "w+"); if(results != NULL){ sprintf(put, "AES - Schluessel: \"%s\"\n", AES_KEYDATA); fputs(put, results); fclose(results); #if DEBUG printf("aes_results.txt wurde erstellt
-
Thread
Verschlüsseltes einfaches Datei System
nicht auf AES schimpfen, wenn selbst ein scriptkiddie das teil in 10 sek knackt. ansonsten: keepass ("keep (my) ass" oder "key pass". woher kommt der name?) und konsorten sind für den Zweck okay. einfach mal
Es sind schon einige kompetente Leute daran gescheitert, selbst bekannte Algorithmen wie AES korrekt umzusetzen, sodass doch noch Sicherheitslücken vorlagen. Selbst wenn man also etwas als "sicher" bekanntes wie AES umsetzt, heißt das noch laaange nicht dass die Umsetzung auch "sicher" ist.
-
Thread
Ladegeräte auf 230V umbauen
verwenden. https://www.google.de/aclk?sa=L&ai=DChcSEwiQrdfisL3OAhUCdtsKHc6WAm4YABAD&sig=AOD64_2IiqtenB6lAsC2xEG7IYhed82uhA&ctype=5&q=&ved=0ahUKEwjT89PisL3OAhVJIsAKHfE2DkUQvhcIKQ&adurl=
> > https://www.google.de/aclk?sa=L&ai=DChcSEwiQrdfisL3OAhUCdtsKHc6WAm4YABAD&sig=AOD64_2IiqtenB6lAsC2xEG7IYhed82uhA&ctype=5&q=&ved=0ahUKEwjT89PisL3OAhVJIsAKHfE2DkUQvhcIKQ&adurl= ...und sich am Knall im Netzgerät erfreuen?
-
Thread
Autobatterie mit Megapulse Gesperrt
man sie jedem angeblichen neuen Erfinder eines perpetuum mobile geben muss. There aint no such thing as a free lunch.
@Lutz Hier ist die Erklärung der Funktionsweise: Zitat aus dem o.g. Link: "As the 555 goes low for ~50usec, the MOSFET is turned on. Current flows into L1 from the stored charge in C4. The magnetic field around L1 builds up until Q1 turns off. The field now collapses, and as a
-
Thread
Ein paar fragen zu Linux Raid 1 software raid und smartd
mdadm Versionen die --replace Option: [pre] $man mdadm ... --replace Mark listed devices as requiring replacement. As soon as a spare is available, it will be rebuilt and will replace the marked device. This is similar to marking a device as faulty, but the device remains in
multiple failures. When the replacement process finishes, the replaced device will be marked as faulty. [/pre] Wenn z.B. das RAID md0 aus sdc1 und sdd1 besteht und Fehler für sdc gemeldet werden, steckt man eine weitere Platte sde an, richtet Partition sde1 in der passenden Größe ein und fügt
-
Thread
PICKIT 3 Demo Board (PIC18F45K20) - Build failed
information for the PIC18F4550 microcontroller. These names ; are taken to match the data sheets as closely as possible. CONFIG WDT=OFF; disable watchdog timer CONFIG MCLRE = ON; MCLEAR Pin on CONFIG DEBUG = ON; Enable Debug Mode CONFIG LVP = OFF; Low-Voltage programming disabled (necessary
PROJECTS\TEST\UNTITLED.ASM 30 : CONFIG Directive Error: (setting "WDTHalting build on first failure as requested.
-
Thread
Artemis II (t-5min)
person of color on the surface of the Moon, paving the way for a long-term lunar presence and serving as a steppingstone for astronauts on the way to Mars."
veranlasst ein paar Führungswechsel gab: Sex vs. Gender: While gender is frequently recognized as a social construct, NASA's medical research treats biological sex as a real, physical difference (sex-based differences) involving hormones, anatomy, and genetics.
-
Thread
AVR Bootloader lock/fuse bits
0x00 != 0x3f avrdude: verification error; content mismatch avrdude: safemode: lfuse reads as 0 avrdude: safemode: hfuse reads as 0 avrdude: safemode: efuse reads as 0 avrdude: safemode: Fuses OK (E:00, H:00, L:00) avrdude done. Thank you. [/pre]
0xff != 0x09 avrdude: verification error; content mismatch avrdude: safemode: lfuse reads as 0 avrdude: safemode: hfuse reads as 0 avrdude: safemode: efuse reads as 0 avrdude: safemode: Fuses OK (E:00, H:00, L:00) avrdude done. Thank you. [/pre]
-
Thread
Programm von atmega 8 auf atmega 16 umschreiben
.4 , E = PortB.0 , Rs = PortD.6 Initlcd Cls Cursor Off Declare Function Eepromlesen(byval A As Word , Byval E As Word) As String Txt = EepromLesen(79 , 94) : Lcd Txt Lowerline Txt = EepromLesen(16 , 31) : Lcd Txt Config Timer1 = Timer , Prescale = 64 '256 ist schneller On
eine Zahl zwischen 2-512 'Ausgabe : EEPromLesen (Stringvariable) Function EepromLesen(byval A As Word , Byval E As Word) As String Local Epunkt As Word 'Lokale Variablen werden nach Ver- Local Inhalt As Byte 'lassen der Routine wieder frei
-
Thread
EA eDIPTFT43-A RS232 und ATMAGA88 mit BASCOM
eine Bytevariable addierst und Dich nicht darum störst, dass diese überläuft. Also dim bcc as byte dim bytevariable_1 as byte bcc=0 x=len(ausgabesing_ohne_bcc) for y=1 to x tempstring=mid(ausgabesing_ohne_bcc,y,1) bytevariable_1=asc(tempstring) bcc=bcc+bytevariable_1 next
drin... [code] $crystal = 8000000 $baud = 19200 Config Portc.5 = Output Dim Bcc As Byte Dim X As Byte Dim Y As Byte Dim Ausgabesing_ohne_bcc As String * 10 Dim Tempstring As String * 10 dim bytevariable_1 as byte Bytevariable_1 = 0 Bytevariable_1 = Bytevariable_1 + 17
-
Thread
Wieviel Ampere benötige ich um ein Auto mit AA NiMH Akkus zu starten?
Batterie eines Elektroschraubers wieder starten konnte: (ab ca 5:30) https://www.youtube.com/watch?v=AsTJKSH7mCU Statt Bleiakku sollten auch Supercaps gut klappen (ein paar 100F).
wer möchte gerne einen 2..3 > Liter Diesel bei -10 Grad mit der Kurbel anwerfen. > Und die 500 As für die Glühkerzen würden dann auch wieder fehlen. nicht jeder fährt ein 4 Liter Hubraum Diesel. Es soll auch kleiner Autos geben. Und die -10 haben wir (leider) auch noch nicht.
-
Thread
DC Motor Stabilisator - wie früher bei den Kassettenrecordern
Beitrag #4048913: > Bau Dir doch die Schaltung des Stern-Recorder Motorreglers nach. ein µC kann as noch viel besser. Als Luxusversion kan man noch einen zusätzlichen Drehzahlgeber montieren und die Motordrehzahl nicht nur steuern sondern auch regeln.
Schreiber schrieb im Beitrag #4048922: > ein µC kann as noch viel besser. Als Luxusversion kan man noch einen > zusätzlichen Drehzahlgeber montieren und die Motordrehzahl nicht nur > steuern sondern auch regeln. IxR-Kompensation ist eine Regelung.
-
Thread
Wer kennt diesen IC? aus Teufel CB 21 SB
von der Topow website: As one of the three strategic network and communication power supply partners of the top brand in China, our company Shenzhen Topow Electronics Co.,Ltd. was founded in October, 2003, and locates 12KM from Shenzhen Airport. Known as a National High Tech company, we specialize in the development, manufacturing and sales of customized power supply, communication power supply, SMPS and adapters. We have fully certified product models
-
Thread
Bester/Leistungsfähigster µC?
Ich merkd as schon..nur versteh ich den grund nicht wieso nicht einfach mal jemand n namen in Raum wirfst, bisher hab ich so von meinen bekannten den mega128 in erinnerung der hatte wohl von allen die meisten Fähigkeiten
stellen ohne gleich auf irgendwelche Klugscheißer zu treffen die sich lustig machen wollen. WObeid as mit dem Kartenspiel..ja genau sowas meinte ich ;)
-
Thread
Senden über SPI bei dsPIC33EV
der Pins: [code]RPOR0bits.RP20R=8; // use RP20 / pin 12 for SDO2 TRISAbits.TRISA4=0; // set as output -> this can be removed (possibly) RPOR0bits.RP35R=9; // use RP35 / pin 7 for SCLK2 TRISBbits.TRISB3=0; // set as output -> this can be removed (possibly)[/code] Initialisierung von
passen!? [code]RPOR0bits.RP20R=8; // use RP20 / pin 12 for SDO2 TRISAbits.TRISA4=0; // set as output -> this can be removed (possibly) RPOR0bits.RP35R=9; // use RP35 / pin 7 for SCLK2 TRISBbits.TRISB3=0; // set as output -> this can be removed (possibly)[/code]
-
Thread
UART Funktioniert nicht wenn PWM Aktiv ist (Bascom)
Variablen für Drehzahlerfassung'########################################################## Dim Rpm1 As Word Dim Rpm2 As Word Dim Rpm1_temp As Word Dim Rpm2_temp As Word Dim X As Byte Dim Soft_timer As Byte Dim Rpm_runden As Byte Dim Rpm_runden1 As Word Dim Rpm_runden2 As Word 'Variablen für
'Variablen für Temperaturmessung'################################################### Dim Wert1 As Single Dim Mittel_wert1 As Single Dim Temp1 As Single Dim Raw1 As Word Dim Wert2 As Single Dim Mittel_wert2 As Single Dim Temp2 As Single Dim Raw2 As Word Dim A As Byte A = 0 Dim Uref As
-
Thread
Melodieklingel BASCOM ATmega8
'generated. Take care that the chip supports all fuse bytes. Dim Viertel As Byte Dim I As Byte Dim Lang As Byte Dim Aktton As Byte Dim Liedcount As Integer Dim Enderr As Bit Const Speed = 4 'darf nicht 0 sein
-
Thread
Pico2 RP2350 GPIO Fehler
current A2 stepping, affecting GPIO pull-down behavior. Listed in the Raspberry Pi RP2350 datasheet as errata RP2350-E9, it involves a situation where a GPIO pin is configured as a pull-down with input buffer enabled. After this pin is then driven to Vdd (e.g. 3.3V) and then disconnected, it will stay
forums.raspberrypi.com/viewtopic.php?t=375631#p2247957 01.09.2024: "We will continue to investigate as a matter of very high priority, but right now its the weekend, so don't expect any official responses to the issue itself." https://forums.raspberrypi.com/viewtopic.php?t=375954#p2249291 Dann Ende
-
Thread
PIC12F683 2 LED auf ON
umschalten Im Datenblatt steht bei der Beschreibung von CMCON0: 111 = CIN pins are configured as I/O, COUT pin is configured as I/O, Comparator output disabled, Comparator off. D.h. Du musst Bit 0-2 des CMCON0 auf 1 setzen.
CMCON0 ;digital I/O BANKSEL ANSEL ; CLRF ANSEL ;digital I/O MOVLW 0Ch ;Set GP<3:2> as inputs MOVWF TRISIO ;and set GP<5:4,1:0> ;as outputs Schön, dass es jetzt funktioniert!
-
Thread
Problem mit Komparator/Flip-Flop-Schaltung
reservoir of energy at the device, thus keeping supply impedance low. Bypass capacitors should be as close as possible to the LT1711/LT1712 supply pins. A good high frequency capacitor, such as a 1000pF ceramic, is recommended in parallel with larger capacitors, such as a 0.1μF ceramic and a 4.7μF
-
Thread
Vergleich zweier uint8_t
to type int before addition and the result of the operation is of type int. This process is known as integral promotion and it occurs even with unary operators such as "-" or "~". The rules of integral promotion say that: A char, short, bit-field (all signed or unsigned) or an enum value is converted
an int but possibly to an unsigned int if the original data type is unsigned and of the same size as an int. For example in an implementation with an 8 bit char, a 16 bit short and a 32 bit int, all chars and shorts will be promoted to signed int values. However if both short and int are only 16 bits
-
Thread
[VB.net] - Select Befehl mit Datenbindung
Unter VB geht das so. dim sql as string sql = "Select * from Datenbank where feld_name = '" + hp_e_name.text + "'" Dim cmd As New OleDbCommand(sql, conn) Dim da As New OleDbDataAdapter(cmd) Dim ds As New DataSet Dim commandBuilder As New OleDbCommandBuilder(da) conn.Open() ds.Clear() da.Fill(ds, tabelle$) ' Dim row As DataRow Dim dt As DataTable = ds.Tables(tabelle$) gg_db_suche.AutoGenerateColumns
-
Thread
Atmega328 SPI SPIF wird nicht gesetzt
Problem! Ist aber aus dem Datenblatt auch nicht unbedingt ersichtlich oder? "If SS is configured as an output, the pin is a general output pin which does not affect the SPI system. Typically, the pin will be driving the SS pin of the SPI Slave. If SS is configured as an input, it must be held high
Master SPI operation. If the SS pin is driven low by peripheral circuitry when the SPI is configured as a Master with the SS pin defined as an input, the SPI system interprets this as another master selecting the SPI as a slave and starting to send data to it." Klingt für mich als ob es kein Problem
-
Thread
Gute Low-ESR Elkos mit langer Haltbarkeit
Pipo schrieb im Beitrag #7020669: > Davon abgesehen genießt Ethan > Winer, der auch in der AES-Community unterwegs ist, aber eigentlich > hohen Respekt in der Szene. Ich wüsste nicht, warum er da Vorurteile > schüren sollte. Das mag ja sein, aber wenn ich was nicht nachvollziehen kann, dann
und nicht in der deutlich kompetenteren AES-Community! Du hast Dich in irgendwelche Ideen verbissen und willst die Antworten hier garnicht hören, also was?
-
Thread
Paket mirroring
ist und Dir die > Schlüssel nicht bekannt sind. Aber: DOCSIS nutzt m.W. noch DES56, wenn kein AES geht. Mit einem kleinen Schrank voller FPGAs (Bitcoin-Miner werden nur darüber lachen) kriegst du das entschlüsselt. http://www.copacobana.org/ Brauchst halt ein wenig Geduld, Echtzeit ist
AntiMaker schrieb im Beitrag #5084531: > Aber: DOCSIS nutzt m.W. noch DES56, wenn kein AES geht. Das nützt aber nichts, wenn das bestehende Modem AES kann und der Schnüffler nur mithorcht.
-
Thread
Messen von Quarz-Parametern - Probleme
2020, at 3:37 PM, paul XXXXXX <XXXXXXXXXX@gmail.com> wrote: > > Mark > His antenna hit a preamp as I recall about 20 db of gain. To see > something on a scope add 40 more db approx. Unfortunately a purely > broadband solution will show 40 db of pure garbage these days. > Using the 60 KHz watch
Allerdings dürfte DCF wegen der Ausbreitungsbedingungen ohnehin wesentlich schlechter abschneiden as ein GPS-basiertes Frequenznormal. Die gibt es ja schon mit relativ moderaten Preisen. Bei Filtern mit neutralisierten Einzelquarzen (mein 2. Vorschlag oben) kann man eine annähernde Gauß-Kurve mit
-
Thread
Endlich geschafft!
= Portb.3 , E = Portb.5 , Rs = Portb.4 Config Adc = Single , Prescaler = Auto Start Adc Dim W As Word , Channel As Byte Channel = 0 Cls Locate 1 , 3 Lcd "Alex" Locate 2 , 6 Lcd "Test" Waitms 10000 Cls Do W = Getadc(channel) Dim U As Single U = 4.36 * W U = U + 18.895 Locate 1
einen Simulator? Da könnte man die Beispiele aus dem Datenblatt ausprobieren. Vorschlag: dim S as string * 10 S = STR(U) S = Format(S,"00000.00"); LCD "UPM: ";Channel;" ";S
-
Thread
Anfängerfrage für Mega8
Probier mal so: Dim A as Byte A = 1 While A < 10 Print "A: " ; A Incr A
neustart" Print "" Waitms 500 Config Adc = Single , Prescaler = Auto Start Adc Dim W As Word , Channel As Byte Dim Mx As Word 'max Dim Mn As Word 'min Channel = 0 Mx = Getadc(channel) Mn =
-
Thread
Spannungen visualisieren mit vb.net
vielseitigste finde ich. hier das nötigste und mehr brauchst du eigentlich nicht. Public my_graph As Graphics Public my_pen_white As New Pen(Color.White, 1) Public my_pen_black As New Pen(Color.Black, 1) Public my_pen_green As New Pen(Color.Green, 1) Public my_pen_red As New Pen(Color.Red, 1) Public fill_black As New SolidBrush(Color.Black) ------------ my_graph = Me.CreateGraphics ------------ my_graph.FillRectangle(fill_black, 0, 0, 100, 100) // x, y, breite, höhe my_graph.DrawLine(my_pen_white, 0, 0,