-
Thread
SPI will auf AVR nicht laufen
Freunden ;) Hier mal ein Ausschnitt aus dem Datenblatt des Atmega328PB dazu: If SS is configured as an input, it must be held high to ensure 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. To avoid bus contention, the SPI system takes the following actions: Aus dem Kapitel 23.3.2 des aktuellen Datenblatts
-
Thread
BASCOM: Zeichenumwandlung nach Vorgaben aus einer Tabelle
Hallo! Habe es noch nicht ausprobiert aber würde es in etwa so funktionierten: [c] dim text as string*10 dim char(10) as byte dim i as byte dim index(10) as byte text = "ABCDEFGHIJ" i = 1 Do 'Einzelne Chars aus String ziehen char(i) = mid(text , i , 1) 'Char in Tabelle data1
91 ' Dezimalwert bei dem die alten Zeichen enden Dim String_in As String * Strl Dim String_char(strl) As Byte At String_in Overlay Dim Char_ctr As Byte , Char_val As Byte Char_ctr = 0 Char_val = String_char(char_ctr) While Char_val > 0 If Char_val >= Orig_char_start
-
Thread
LCD-Modul MC1001AW-TGR
Sub Lampe13 ' Dim T1 As Byte 'Taster1 Dim T2 As Byte 'Taster2 Dim T3 As Byte 'Taster3 Dim L4 As Byte 'lampe4 Dim I As Word Dim L1 As Word 'lampe1 Dim L2 As Word
-
Thread
Mosfet parallel schalten mit Kaltleiter in der Sourceleitung?
sharing between cells. The very latest ones suffer from > > secondary breakdown limitations that are as bad as the most fragile > > of power BJTs. Because of this many of the newer MOSFETs now have > > extensive safe operating area curves on their data sheets. > > > > Generation III & IV MOSFETs
Newer: 200V _60mohm 25nC/10nC (total/Miller) _30V (max Vdc) > > > > The "newer" example is not even as bad as the very latest devices > > that are extremely optimized for switching use only. > > > > Regards -- analogspiceman > > analogspiceman, OK, that's what I thought (second breakdown like
-
Thread
Led Dimmen , flackern mit Pwm
$regfile = "m8def.dat" $crystal = 16000000 Dim A As Word Dim B As Word Config Timer1 = Pwm , Pwm = 8 , Compare A Pwm = Clear Up , Compare B Pwm = Clear Down , Prescale = 1 Config Portc.1 = Input Config Portb.1 = Output Do Toggle Portb.1 For
so ich habe es es läuft super. code: $regfile "m32def.dat" $crystal = 1100592 Dim R As Word Dim L As Word Dim Z As Word Config Timer1 = Pwm , Pwm = 10 , Prescale = 1 , Compare A Pwm = Clear Down , Compare B Pwm = Clear Down Config Adc = Free , Prescaler = Auto
-
Thread
Interrupt mit Bascom wird doppelt ausgeführt
Alias Porta Io_pins Alias Pina Config Io_port = Input Io_port = 255 ' Pull-Ups setzen Dim Iwr0 As Byte Dim Io_ct0 As Byte Dim Io_ct1 As Byte Dim Io_state As Byte Dim Io_press As Byte ' Init Eingänge Io_ct0 = 0 Io_ct1 = 0 Decr Io_ct0 Io_ct1 = Io_ct0 Io_state = 0 Io_press = 0 'Timer2
Verhalten ergibt sich zwangsläufig aus einer ganz einfachen, man könnte sagen Straight-Forward oder As-Simple-As-Possible Implementierung dieses Ablaufs. Das ist insofern keine "Absicht". Diese, wie auch die anderen oben in Klammern erwähnten Varianten sind sinnvoll nutzbar. Man muss aber doch wissen
-
Thread
Messchieber auslesen - unbekanntes Protokoll
provided that the B port of the first shift register is high what is ensured by the same gate signal as before - just as it should be. After 24 clock pulses the data is stored in the 3 shift registers (24 bit) and can now be read by the AVR using the AVR line mentioned above. For the following discussion
re-triggerable. Therefore the shift register will not accept new data (to suppress spurious clock/data peaks) as long as the 15+150ms hat functions are not elapsed. C1 and R2 are there to prevent that IC1C sees any gap between the two hat functions which may occur as Q1 falls before Q2 rises.. The two hat pulses
-
Thread
Fehlersuche.bekomms echt nicht hin
Timer1 = 55535 Enable Interrupts Config Int2 = Falling Enable Int2 On Int2 Check Dim Cnt As Integer , Cntalt As Integer Dim Umfang as Integer, Ms as Integer Umfang = 1850 Do Ms=Umfang/cntalt Lcdat 5,20,Ms wait 1 Loop End Check: Cntalt = Cnt Cnt = 0 Return Auswertung:
Rechenzeit fast egal (zur Not WAIT durch WAITMS ersetzen und dabei Wartezeit verkürzen). [pre] Dim Ms as Single Dim Umfang as Integer Umfang = 1850 ' ### Hauptprogramm ### Do Ms = Umfang Ms = Ms / Cntalt Lcdat 5, 20, Ms Wait 1 Loop End [/pre]
-
Thread
Gehalt/Gehaltsentwicklung Informatiker/Ingenieure
as
Stellen > auf. Ach, das schwankt immer: Mal werden Stellen aufgebaut, dann wieder abgebaut. Business as usual. Bewerbungen sind dort, wie bei allen Konzernen, im Wesentlichen Glücksache. Ich habe dort vor einigen Jahren das große Los gezogen.
-
Thread
Frage wegen eines antiken Radios.
Wer ist im Besitz des Mini-UKW/MW-Empfängers "AMSONIC Solar-Radio AS339 oder das ältere Modell "AMSONIC Solar-Radio AS338" und hat noch die Beschreibung mit Schaltschema? http://www.staff.science.uu.nl/~tel00101/FotoAlbum/RadioCorner/Sets/SolAS339.htm Gruss
ich bin mitglied im radiomuseum. es gibt leider keine schaltpläne zu den geräten as338 bzw. as339
-
Thread
Rs485 reagiert nicht auf Daten
XMega128A1 wurde folgendermaßen initialisiert: USART_PORT_485.DIRSET = PIN3_bm; // Pin 3 (TXD0) as output. USART_PORT_485.DIRCLR = PIN2_bm; // Pin 2 (RXD0) as input. USART_PORT_485.DIRSET = PIN1_bm; // Pin 1 (CLK) as output USART_PORT_485.OUTSET = PIN1_bm; // 8 Data bits, No Parity
Und was soll das hier? >USART_PORT_485.DIRSET = PIN1_bm; // Pin 1 (CLK) as output
-
Thread
AVR ASM Timer-Interrupt
noch schreiben^^ Hatte ich ganz vergessen^^ Ich kann keine Registernamen nutzen weil ich mit avr-as compiliere
Geht net. Bei avr-as geht das net!
-
Thread
Linux: kann man DTR auf ttyUSBx abschalten?
setup as dfl Save the parameters as the default for the next time the program is started. Instead of dfl, any other parameter name may appear, depending on which one was used when the program was started. Save setup as.. Save the parameters under a special name. Whenever Minicom is started with this name as an argument, it will use these parameters. This option is of course privileged
-
Thread
ATTiny44: Timer-Frequenz ändert in Abhänigkeit des Main-Programms
//Toggle OC1A on compare Timer1 OCR1A = 0xFFFF; DDRA |= (1<<DDA6); //Set PA6/OC1A as output DDRA |= (1<<DDA5); //Set PA5/OC1B as output for (;;) { if (PINA & (1<<PINA2)) { PORTA |= (1<<PORTA2); } else { PORTA &= ~(1<<PORTA2
//Toggle OC1A on compare Timer1 OCR1A = 0xFFFF; DDRA |= (1<<DDA6); //Set PA6/OC1A as output DDRA |= (1<<DDA5); //Set PA5/OC1B as output for (;;) { if (PINB & (1<<PINB2)) { PORTB |= (1<<PORTB2); } else { PORTB &= ~(1<<PORTB2
-
Thread
portpin PD.3 liefert kein signal
$regfile = "m8def.dat" $crystal = 3686400 $hwstack = 40 $swstack = 16 $framesize = 32 Dim I As Byte , Sw As Byte , Zw As Byte Ddrb = &B1111_1111 'Ausgänge Ddrd = &B1111_1111 'Ausgänge Do For I = 0 To
$regfile = "m8def.dat" $crystal = 3686400 $hwstack = 40 $swstack = 16 $framesize = 32 Dim I As Byte , Sw As Byte , Zw As Byte Ddrb = &B1111_1111 'Ausgänge Ddrd = &B1111_1111 'Ausgänge Do For I = 0 To
-
Thread
PiPico PIO programmieren
PIO-Befehlen nicht. [pre]3.3.7. Pseudoinstructions Currently pioasm provides one pseudoinstruction, as a convenience: nop Assembles to mov y, y . "No operation", has no particular side effect, but a useful vehicle for a side-set operation or an extra delay.[/pre]
Datenblatt [code] 3.4.7.2. Operation A nonblocking PULL on an empty FIFO has the same effect as MOV OSR, X. The program can either preload scratch register X with a suitable default, or execute a MOV X, OSR after each PULL NOBLOCK, so that the last valid FIFO word will be recycled until new data
-
Thread
Warum bei Avionik immer weiße Kabel?
fast ausschließlich Tefzel-Kabel des Typs AS22759/16 und AS22759/18 im Avionik-Bereich. Grund für die Wahl dieses Isolationsmaterials ist vor allem die chemische Beständigkeit, das Alterungsverhalten, die Temperaturfestigkeit und nicht zuletzt
kann vielleicht > einiges > klarstellen. > > Für die am häufigsten verwendeten "Litzen" (Norm AS22759) stehen viele > verschiedene Isolierungen zur Verfügung, unter anderem FEP, PTFE und > ETFE. Auch mehrschichtige Isolierungen (extrudiert oder gewickelt) > stehen zur Verfügung. > Hast du mal
-
Thread
httpS Authentication für Webapp, später nur http, sicher?
eigentliche Verschlüsselung sollte fast keine CPU zeit verbrauchen. Alternative über https einfach eine AES Schlüssel austauschen, und dann die Daten mit http und verschlüsselt mit AES übertragen.
langsamere Clients über 99% ihrer CPU an die Entschlüsselung. > Alternative über https einfach eine AES Schlüssel austauschen, und dann > die Daten mit http und verschlüsselt mit AES übertragen. Bringt überhaupt nichts, da der Aufwand für die Entschlüsselung derselbe ist.
-
Thread
S/PDIF-Interface als HDL
wirst Du wahrscheinlich ohnehin schon haben, aber falls nicht, hier kannst Du Dir den passenden AES-Standard runterladen (AES3-2003): http://www.aes.org/publications/standards/ Ist quasi (fast) dasselbe wie S/PDIF. Interessant hierzu auch folgendes Dokument ("Interfacing AES3 and S/PDIF"): www.rane.com
Hallo Xenu, bei der AES bin ich Mitglied :-) aber die Altere-Note hatte ich noch nicht erspäht. Danke. Werde mich mal dranmachen, sobald ich Zeit dafür finde, ob dann AES oder SPDIf, ist am Ende nur eine Frage der Analogkomponente
-
Thread
Atmega via Ethernet flashen
jetzt! Folgende Änderungen: etherflash.c in der initializeHardware(): DDRB = 8; //EA set PB3 as output to deselect CS on MMC card DDRC = 0; DDRD = 0; PORTB = 8; //EA set PB3 high --> MMC card not selected PORTC = 0; PORTD = 0; spi.c in der SPI_init(): // set mosi, sck as output
sind wie folgt gesetzt: [c] avrdude: Device signature = 0x1e9502 avrdude: safemode: lfuse reads as FF avrdude: safemode: hfuse reads as 99 [/c] Das Pollin AVR-NET-IO arbeitet mit 16 MHz. Im Verzeichnis device_001 habe ich in der config.h nur das Debuging eingeschaltet, sonst ist das File unverändert
-
Thread
Atmel ICE und AVR Stuido 4?
Möglichkeit den Atmel-ICE im AS 4 zu integrieren... Wer hat da eine Idee oder Empfehlung? Danke und Gruss Peter
Peter S. schrieb im Beitrag #6085164: > Oder vielleicht gibt es eine Möglichkeit den Atmel-ICE im AS 4 zu > integrieren... Nein gibt es nicht. Diese Kombination hatte ich mir auch vor langer Zeit gewünscht. Peter S. schrieb im Beitrag #6085164: > Und ich möchte wenn immer möglich kein AS
-
Thread
OCR für Monospace-Schrift
of vertically aligned text. 6 Assume a single uniform block of text. 7 Treat the image as a single text line. 8 Treat the image as a single word. 9 Treat the image as a single word in a circle. 10 Treat the image as a single character. 11 Sparse text. Find as much text as possible in no particular order. 12 Sparse text with OSD. <---- interessant!! 13 Raw line. Treat the image as a single text line, bypassing hacks that are Tesseract-specific. [/
-
Thread
AP7000 und ICnova ADB1000: Bisschen wenig?
sehr viel besser: [code] usb 1-1.1: configuration #1 chosen from 1 choice input: USB Keyboard as /class/input/input1 generic-usb 0003:1241:1503.0001: input: USB HID v1.10 Keyboard [ USB Keyboard] on usb-isp176x.0-1.1/input0 input: USB Keyboard as /class/input/input2 generic-usb 0003:1241:1503.0002
using isp176x and address 3 usb 1-1.1: configuration #1 chosen from 1 choice input: USB Keyboard as /class/input/input1 generic-usb 0003:1241:1503.0001: input: USB HID v1.10 Keyboard [ USB Keyboard] on usb-isp176x.0-1.1/input0 input: USB Keyboard as /class/input/input2 generic-usb 0003:1241:1503.0002
-
Thread
µC sendet Mist
Au weia. Das tut weh: Processor Expert Beans are referred to as Standard Beans, Complex Beans and Software Beans. Standard Beans (or simple beans) refer to the basic on-chip modules such as parallel ports, timers, A/D converters, and simple serial interfaces as well as simple functions using them. Software beans are implementation of functions such as math functions, filtering functions, motor control functions and flow control fucntions. Da
-
Thread
ATmega328PB: UART(MC) empfängt falsche Daten
Philipp K. schrieb im Beitrag #6302765: > Ich habe beim Device Programming in AS7 nochmal nachgeguckt wegen den > Fusebits: CKDIV8 ist aktiv Wie kann das sein, du kannst die Fuses doch gar nicht auslesen! > Daher wollte ich die F_CPU auf 8MHz erhöhen wo die Fehlerquote >
Gerade habe ich einen neues Programm für ein LED-Blinken daraufgeladen. Auf die Fuses kann ich über AS7->Device Programming->Fuse->LOW.CKDIV8->Programm zugreifen. Ich habe offenbar nichts verstellt, weil von vorein ich keine Device Signature erhalten habe.
-
Thread
OceanGate Titanic U-Boot
. Cracks had developed in the fuselages of the ill-fated Comets, around doors and window apertures as the aircraft were subject to repeated pressurisation cycles - where the fuselage is pressurised for passenger comfort at the start of each flight and depressurised when the engines shut down - and as
nun nachweislich implodiert Mit Sicherheit. "The debris that has been located and confirmed as belonging to the Titan submersible consists of the nose cone (not part of the pressure vessel) as well as the forward and aft end bell (part of the pressure vessel)." Die haben die Nasenkonus gefunden
-
Thread
VB 2008 Bei Programmstart prüfen ob COM frei ansonsten ERROR ausgeben
die Fehlerbehandung. In deinem Fall würde es so aussehen [pre] private function Open_COM_Port() as boolean Try SerialPort1.Open() Catch ex As Exception MsgBox(ex.Message) return False End Try Return True End Function [/pre]
private function Open_COM_Port() as boolean Try SerialPort1.Open() Catch ex As Exception MsgBox(ex.Message) return False End Try Return True End Function SO ganz worked das noch nicht aber ich werde den Denkanstoß
-
Thread
Frage zu einem kleinen PIC-ASS-Programm
mal die include-Anweisung fuer den PIC :#include <xc.h> und #include <pic16f15313.inc> Den Pic-As schaue ich mir vorlaeufig nicht an....kein Bedarf im Moment
Schon seit längerem haben offenbar auch andere Probleme mit Pic as. https://www.microchip.com/forums/m1150682.aspx
-
Thread
Einfachen Tongenerator.
> dass man nichts im Netz darüber findet Oops, ist schon wieder Freitag ? oder: Troll as troll can ? Google ist dein Freund und findet Tongeneratoren in jeglicher Form.
das passende mit google (Suchbegriff Morsepieper): https://www.aatis.de/content/baus%C3%A4tze/tipps/AS001-PH26 https://www.aatis.de/content/baus%C3%A4tze/tipps/as001-1
-
Thread
LL-MOSFET an AVR Pin: max. PWM Freq?
nicht dem weh, der zieht, sondern Dir... Es war im OP von 10mA Umladestrom die Rede. 20nC = 20nAs; 20nAs/10mA = 20nAs / 0.01A = 2000ns = 2µs. Könnte diese Zeit IRGENDWIE für im FET umgesetzte Leistung relevant sein?
der zieht, >sondern Dir... Hehe ;-) >Es war im OP von 10mA Umladestrom die Rede. 20nC = 20nAs; >20nAs/10mA = 20nAs / 0.01A = 2000ns = 2µs. Nö, das war eine Vermutung des OPs. Die Realität sieht GANZ anders aus.
-
Thread
HW-Stack wird in Subroutine voll bis Prog. abstürzt
###### 'START Variablen---------------------------------------------------------------- Dim C1 As Word Dim C2 As Word Dim C4 As Word Dim C5 As Word Dim C3 As Word Dim Tastenfeld As Word Dim Tastenfeld_zaehler As Byte Dim Tastenwert_ug As Word Dim Tastenwert_og As Word Dim Ubatterie As Long Dim Ubatterie_formatiert As Long Dim Ubatterie_str2 As String * 5 Dim Ubatterie_aktueller_wert As Word Dim Idc1 As Long Dim X As Word Dim Watt As Long Dim L As Word Dim Var1
-
Thread
ATMega328P - Fuses falsch gesetzt?
rumschreibt??: Programm: [code]$regfile = "m328pdef.dat" $crystal = 16000000 $baud = 115200 Dim s as byte Dim t as byte print "start" t = 1 s = 1 print "t=" ; t if t = 0 then print "t0" else print "t1" print "s=" ; s if s = 0 then print "s0" else print "s1" end [/code] Ausgabe: [code
Programm: > [code]$regfile = "m328pdef.dat" > $crystal = 16000000 > $baud = 115200 > > Dim s as byte > Dim t as byte > > print "start" > t = 1 > s = 1 > print "t=" ; t > if t = 0 then print "t0" else print "t1" > print "s=" ; s > if s = 0 then print "s0" else print "s1" > > end >
-
Thread
Assembler wieder auf dem Weg nach vorn Gesperrt
ADC_RESOLUTION * U_CE; const uint32_t K4 = PWM_RESOLUTION; // Compute value for OCR as 32-bit value from adc int32_t ocr_32; // Be careful with such computations, // do not shorten out `PWM_RESOLUTION' etc and mind the conditioning! ocr_32 = K1 / (
ganz sanft und leise einschlafen lassen. Aber wie bei uns das Sprichwort sagt: "Opinions are like as...les, everybody's got one". So belassen wir es besser bei dem gesagten... Grüße aus dem verschneiten Alberta, Gerhard
-
Thread
AVR - Bascom - externes EEPROM
to work with a 24LC256 I2c EEPROM '24lc256 Const E_ctlw = &HA0 Const E_ctlr = &HA1 Dim E_ah As Byte Dim E_al As Byte Dim E_addr As Word Dim E_dat As Byte Dim Dat As Byte Declare Sub E_write(byval E_addr As Word , Dat As Byte) Declare Sub E_read(byval E_addr As Word , E_dat As Byte) Declare
' Routine to read the 24LC256 ' Sub E_read(byval E_addr As Word , E_dat As Byte) E_ah = High(e_addr) E_al = Low(e_addr) I2cstart I2cwbyte E_ctlw I2cwbyte E_ah I2cwbyte E_al I2cstart I2cwbyte E_ctlr I2crbyte E_dat
-
Thread
"audiophilles" +/- 15 Volt Netzteil (1A)
answer to these two questions is : The aim of using these regulators is not to provide +15V and -15V as one would think first. As a matter of fact, because of the lack of voltage overhead and the low current draw they will rather deliver something like 14.2V and -14.2V. This is not a design error but was
providing a reference voltage of +/-14.2V. This helps very much in increasing the stability of the VCO. As such, all the circuit of the VCO core was designed considering the voltage drop through the regulators, and it is a very important point. As such, if one would like to remove/bypass these regulators,
-
Thread
1 Servosignal - 4 Schaltzustände
=================== 'Variable für Umschaltung der Displayhälfte - Namen so lassen! Dim ___lcde As Byte Dim Reading As Bit Dim Bargraph As Word Dim Bargraph_old As Word Dim Rc_value As Word Dim Calc As Word Dim Location As Word Dim Error As Bit 'neue Variable als Speicher Dim Leichtoben As Bit 'Dim Oben As Bit Dim Leichtunten As Bit 'Dim Unten As Bit Dim Zaehler1 As Byte Dim Zaehler2 As Byte '====================================================== 'Initialisierungen '=========
-
Thread
Grasshopper Inbetriebnahme
avr32-linux-uclibc-addr2line avr32-linux-ar avr32-linux-uclibc-ar avr32-linux-as avr32-linux-uclibc-as avr32-linux-cc avr32-linux-uclibc-cc avr32-linux-c++filt avr32-linux-uclibc-c++filt avr32-linux-cpp
<not found> (Need version 4.2 or newer) avr32-gcc: <not found> (Need version 4.2 or newer) avr32-as: <not found> (Need version 2.17 or newer) avr32-nm: <not found> (Need version 2.17 or newer) You are using the Linux version of the AVR32 Utilities and AVR32/GNU Toolchain. There are multiple
-
Thread
Höchstmögliche Ladung eines Kondensators
Kondensatorflächen. Wenn jedes Atom ein Elektron speichert, hast du eine Ladung von 1e22 *1.6e-19 As = 1.6e3 As gespeichert. Hat der Kondensator eine Kapazität C=1uF, ist die Spannung U=Q/C=1.6e9 V. Diese Abschätzung sollte klarmachen, dass überlicherweise nur ein gespeichertes Elektron auf einige
sich relativ gut ausrechnen wieviele Elektronen geladen werden. elektrische Ladung : 1 Coulomb = 1 As physikalisch : Ladung eines Elektrons : 1.6 E-19 Coulomb bedeutet, 1 Coulomb = 1.6 E19 Elektronen Ein Kondensator speichert Ladung pro Spannungserhoehung. Die Einheit 1 Farad = 1As/V Fuer die
-
Thread
Bascom Abrunden u. Nachkommastellen Fehler
eine Zahl abrunden und deren Nachkommastellen anzeigen, wenn diese vorhanden sind. [pre] Dim Ms As Long Dim A As Long Dim Rechnenval As Double Dim Wert As Long Wert = 1000 ms = 3526 If Ms >= wert Then A = fix(ms / wert) Rechnenval = Frac(ms / wert) END IF [/pre] Bei beiden
On Timer0 On_timer0_overflow Enable Timer0 Enable Interrupts Config Portb = Output Dim A As Long Dim B As Long Dim Ende As Single Dim Aa As Integer Dim Ueberlaeufe As Double Dim Onems As Double Dim Anzahlms As Long Dim Rechnen(4) As Double Dim Rechne(2) As Long Ueberlaeufe = 3906.25
-
Thread
HEX-file mit STK500 nicht flashbar
signature = 0x1e9702 avrdude: Expected signature for ATMEGA64 is 1E 96 02 avrdude: safemode: lfuse reads as E3 avrdude: safemode: hfuse reads as 11 avrdude: safemode: efuse reads as FF avrdude: NOTE: FLASH memory has been specified, an erase cycle will be performed To disable this feature, specify
verifying ... avrdude: 7968 bytes of flash verified avrdude: safemode: lfuse reads as E3 avrdude: safemode: hfuse reads as 11 avrdude: safemode: efuse reads as FF avrdude: safemode: Fuses OK avrdude done. Thank you. [/pre] Ich habe ihm exta noch einen ATmega64 gefaket (und
-
Thread
Wochentag berechnen -> 0 bis 6
Sonntag = 0 Mittwoch = 3 Samstag = 6 Ha, einfach dachte ich uns googelte mal: http://www.straub.as/csharp/basic/Uwochentag.html Danach entwarf ich in VB.net schnell mal ein Programm (siehe Anhang). Leider stimmt die Berechnung nicht :-O Woran liegt es? Hat jemand eine andere Formel?
Programm ein Virus darstellt, obwohl in source: [code] Function GetWeekday(ByVal dayofmonth As Short, ByVal month As Short, ByVal year As Short) As Short Dim h As Short Dim k As Short If month <= 2 Then h = month + 12 k = year - 1
-
Thread
NWT7 funktioniert nicht richtig mit der geforderten Taktrate
Hello Dan, As I said before, I use NWT7. See attached the picture for "Settings" and the one with NWT7 calibrated. As you can see from last image, my version of firmware is 119.4. Hope to help you.
20dB or more. If so, try to use LC adapter calculated by the NWT software (Tab "Impedanzanpassung"), as in the image below
-
Thread
Computer kaufen
die Arbeit. Dann noch Netzteil, Laufwerke und Gehäuse drumrum und gut is. http://www.reichelt.de/AS-200522/3/index.html?&ACTION=3&LA=446&ARTICLE=141986&artnr=AS+200522&SEARCH=umbau+kit+pc
Tuning-Kit von Reichelt verglichen mit Einzelkomponenten. (zufällig ausgesucht) http://www.reichelt.de/AS-200522/3/index.html?&ACTION=3&LA=446&ARTICLE=141986&artnr=AS+200522&SEARCH=umbau+kit+pc Komponenten einzeln: Mainboard: (67, 95 Euro) https://www.reichelt.de/?ARTICLE=134288&PROVID=2788&wt_mc=
-
Thread
CVS Import mit VBA, Zeilenumbrüche entfernen
Dateien importieren in Excel importieren kann. [code]Sub Datei_Importieren() Dim strFileName As String, ArrDaten, arrTmp, lngR As Long, lngLast As Long Const cstrDelim As String = ";" 'Trennzeichen With Application.FileDialog(msoFileDialogFilePicker) .AllowMultiSelect = False
Jetzt aber: [code]Sub Replace() Dim Bereich As Range Set Bereich = ActiveSheet.UsedRange Bereich.Replace What:=Chr(10), Replacement:="", LookAt:=xlPart, _ SearchOrder:=xlByRows, MatchCase:=True, SearchFormat:=False, _ ReplaceFormat
-
Thread
bascom kann nicht richrtig dividieren?
leute, auf meinem display-simulator in bascom ist 108,03/100= 1,0799992...wie kann das sein dim a as single dim c as single a= 108,3 c= a/100 eigentlich sollte ja 1,083 oder so rauskommen....mache ich was falsch oder liegts am simulator? Gruß Manuel
Hi Manuel, so funzt es Dim A As Single Dim B As Single Dim C As Single A = 108.3 B = 100 C = A / B Gruss Gerhard
-
Thread
GCC ARM Embedded -> Compiler bug! Dereferenzierung von Pointern.
not take place if the expression is the operand of the unary & operator, or of ++, --, sizeof, or as the left operand of an assignment operator or the . operator. Similarly, an expression of type "function returning T," except when used as the operand of the & operator, is converted to "pointer to
#4489170: > Offenbar handelt es sich hier um Drei-Stern-Programmierung! [pre]Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.
-
Thread
CCD linear sensor
exakte 115200 baud $hwstack = 40 $swstack = 40 $framesize = 40 $baud = 115200 Dim Exposure As Word Dim Integrate_time As Word Dim Buffer(512) As Byte Dim N As Word Dim M As Byte Dim X As Word Clk Alias Portb.1 Prog Alias Portb.0 Config Portd.6 = Output Ddrc = &B00000000
-
Thread
GPS daten in den ATMEGA 128
Inbound, lcd_string, müssen das denn nicht auch Stringvariablen werden? Dim lcd_string as String*15
Interupt URXC einschalten Enable Interrupts Dim Buffer As Byte Dim Str1 As String * 30 Dim Counter As Byte Open "COM1:" For Binary As #1 Open "COM2:" For Binary As #2 Do Loop Onrxd: Buffer = Udr Select Case Buffer Case Asc
-
Thread
Ist ein geladener Akku schwerer als ein ungeladener??
gespeichert und zwar mehr, als vorher drin waren. Wenn ein AKKu 2500mAh hat, dann sind das 2,5 * 3600 As = 9.000 Coulomb. 1 C = (über Elementarladung) 6,241 x 10h18 -> Der Akku enthält 7 x 10 hoch 22 Elektronen, von denen jedes 9,11 x 10 hoch -31 Kg wiegt. Der Akku wird also : 63 x 10 hoch -9 KG schwerer
verständlicher: > In nuclear reactions, the energy that must be radiated or > otherwise removed as binding energy may be in the form of > electromagnetic waves, such as gamma radiation, or as heat. > Again, however, no mass-deficit can in theory appear until > this radiation has been emitted
-
Thread
Drehzahlregelung für DC-Motor
------ ' S1 At Pb3 = Up ' S2 At Pb4 = Down $regfile = "mxxdef.dat" $crystal = xxxxx Dim N As Byte Dim X As Integer Dim Y As Single Dim Z As Single Dim Xold As Single Dim Xp As Single Dim Xi As Single Dim Xd As Single Dim P As Single Dim I As Single Dim D As Single Config Adc =