-
Thread
Master und Slave am RS485
$swstack = 48 $framesize = 60 '--------[Serial Output]---------- Sub Send_data(byval Byte1_w As Byte , Byval Byte2_w As Byte , Byval Byte3_w As Byte , Byval Byte4_w As Byte , Byval Byte5_w As Byte , Byval Byte6_w As Byte , Byval Byte7_w As Byte) Linebusy = 1 Txcomplete = 0 Crcbyte_w
' mark next Byte in UDR as Data Printbin Byte2_w ; Byte3_w ; Byte4_w ; Byte5_w ; Byte6_w ; Byte6_w ; Crcbyte_w ; 'Sending without line feed While Txcomplete = 0 nop Wend 'Print #2 , "Sended--->" ; "To
-
Thread
Internen Oszillator aktivieren
registers: 0 out of 240 (0%) Number of SLICEs: 14 out of 1056 (1%) SLICEs as Logic/ROM: 14 out of 1056 (1%) SLICEs as RAM: 0 out of 792 (0%) SLICEs as Carry: 12 out of 1056 (1%) Number of LUT4s: 26 out of 2112 (1%) Number used as logic LUTs: 2 Number used as distributed RAM: 0 Number used as ripple logic: 24 Number used as shift registers: 0 Number of PIO sites used: 33 + 4(JTAG
-
Thread
Mikrocontroller ATmega8 mit 2 8-bit TTL Latch => Lauflicht
www.elcojacobs.com/shiftpwm/ This solution does not use latches, but 74595 shift registers, and you can link as many of them together as you want. I tried that on real Arduino, but I guess you could easily turn your ATMega8 into Arduino as well. Jakub
"The circuit is almost the same as in the ShiftOut tutorial on arduino.cc, but it uses pin 13 as clock and pin 11 as data. You can choose the latch pin yourself, but the data and clock pins should be connected to the SPI pins MOSI(11)
-
Thread
Stoppuhr Anzeigeproblem
'Anfangsstatus für PortB Ddrc = &B000001111 Dim Timer1_start As Word Dim Timer2_start As Word Dim Sekunde As Word Dim Minute As Word 'Varriablen deffinieren Dim Stunde As Word Dim Sek1 As Byte Dim Sek2_zwischenergebnis As Byte Dim Sek2 As Byte Dim M1 As Byte Dim M2_zwischenergebnis As Byte Dim M2 As Byte Dim St1 As Byte Dim St2_zwischenergebnis As Byte Dim St2 As Byte Config Timer1 = Timer , Prescale = 1024
-
Thread
Erfahrung mit China-PCB Hersteller
manufacturers' web sites, the same way > your browser gets a price when you fill out a quote form. Hi, as an example ---look the pics
and as you wrote on your site: 'Use the Prototype PCB service with a 5 day lead time.' You cant use the Prototype PCB Service for quantities >100
-
Thread
Prusa I3 3D Drucker
aktuell aus der CR10-Facebook-Gruppe: "I am seeing a lot of posts about cheap filament and just as many about problems and issues with clogging and poor quality prints. We all received that horrible first roll of filament that Creality sent with their printer and it made horrible prints and yet there
companies with reliable reviews and pay a little more per roll. I myself pay around $25 a roll I have paid as little as $17 and as much as $40 for specialty rolls. I sell most of my prints and on average I get around $350 to $500 dollars per roll in profit from $25. Even if you print only for your self it is
-
Thread
AtmelISP, AT89S52
-----------------------------*/ void main (void) { P1_0 = 1; /* Configure P1.0 as an input */ /*----------------------------------------------- This loop reads P1.0 and writes the value read to P1.1. Open the Port 1 Dialog from the Peripherals Menu and change the value of
Nun habe ich das Hex-File. Ich lade nun das Hex-File in den Buffer (Buffer -> Load from Disk -> As a Intel HEX File). Danach überprüff ich ob alles ordnngsgemäß in den Buffer geladen wurde (Buffer -> Edit). Wenn alles passt, lad ich nun den ganzen Kram in den Speicher des Mikrocontrollers (Device
-
Thread
Passwort Klartext oder Hash
stored HA1 is leaked, an attacker can generate valid responses and access documents in the realm just as easily as if they had access to the password itself. The table of HA1 values must therefore be protected as securely as a file containing plaintext passwords. > Digest access authentication prevents the use of a strong password hash (such as bcrypt) when storing passwords
-
Thread
Wie kann man sich vor der betriebliche Weihnachtsfeier drücken?
#4813459: > Abgesehen davon: Es gibt "Free Food und Drink!";-) Stimmt nicht: "There's no such thing as a free lunch."
Zumindest in der Filterblase AS&B.
-
Thread
iPod-Interface am Anschluss des CD-Wechsler für Audi Werksradio (1. Generation)
Low-Levels, um Euch ein bisschen Arbeit zu ersparen: [c] /* MODULE prot */ void ProtInit(void) { AS1_ClearRxBuf(); AS1_ClearTxBuf(); ProtZustand_u16 = PROT_ZUSTAND_IDLE; ProtTimerCounter_u16 = 0; AblZustand_u16 = ABL_ZUSTAND_IDLE; AblTimerCounter_u16 = 0; AblWdhCounter_u16 = 0
PROT_ZUSTAND_DATEN_FERTIG; } } else { SendMessage_st.Error_u8 = AS1_RecvBlock(SendMessage_st.EmpfangString_au8, SendMessage_st.EmpfangAnzahlZeichen_u16, &SendMessage_st.EmpfangAnzahlZeichen_u16); if(SendMessage_st.Error_u8 != ERR_OK) { AS1
-
Thread
TLC272 kaputt
den zweiten irgendwie neutralisieren? Im Datenblatt steht: "Unused amplifiers should be connected as grounded unity-gain followers to avoid possible oscillation." Was bedeutet das? danke, Pedro
Pedro schrieb im Beitrag #5565448: > "Unused amplifiers should be connected as grounded unity-gain > followers to avoid possible oscillation." Was bedeutet das? Du sollt den Ausgang mit dem invertirenden Eingang verbinden und den nichtinvertierenden auf einen erlaubten Pegel
-
Thread
ATmega32 ADC auslesen
uint16_t Result = 0; uint8_t Display = 0; int main(void) { DDRB = 0xFF; // LEDs | pins set as inputs PORTB = 0xFF; // all LEDs off DDRA &= ~0x01; // Port A Pin 0 set as output ADCSRA = 0x8E; // 1000|1110 ADMUX = 0x00; // 0000|0000 ADCSRA |= 0x40; // start first conversion
uint16_t Result = 0; uint8_t Display = 0; int main(void) { DDRB = 0xFF; // LEDs | pins set as inputs PORTB = 0x0F; // all LEDs off DDRA &= ~0x01; // Port A Pin 0 set as output ADCSRA = (1<<ADEN) | (1<<ADPS2) | (1<<ADPS1); //0x86; // 1000|0110 ADMUX = 0x00; // 0000|0000 ADCSRA
-
Thread
VB.NET 2008 Wie bekomm ich die Leiste bei MDIForms weg Gesperrt
funktionieren tut das aber trotzdem (VB2008): [code] Public Class Form1 Dim MyChildForm As New Form Dim MyButton As New Button Dim FShowControls As Boolean = 0 Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
MyButton.Click, AddressOf MyButton_Click End Sub Private Sub MyButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) FShowControls = Not (FShowControls) If FShowControls Then MyChildForm.Text = "MyChildForm2" MyChildForm.ControlBox
-
Thread
AVR-Studio 5 compilieren & brennen
eine ziemlich deutliche Sprache. Dazu dann noch die eigenen leidvolle Erfahrungen mit einer duch AS5 zerschossenen VS2005 Installation. Nicht nur bei der Installation von AS5, damit es sich auch richtig lohnt, bei der Deinstallation dann gleich nochmal :( Ich hab jedenfalls erstmal mehr als genug
.. schrieb im Beitrag #2244495: > Dazu dann noch die eigenen leidvolle Erfahrungen mit einer duch AS5 > zerschossenen VS2005 Installation. Nicht nur bei der Installation von > AS5, damit es sich auch richtig lohnt, bei der Deinstallation dann > gleich nochmal :( > Ich hab jedenfalls erstmal mehr
-
Thread
Regelung eines unstabilen Systems
'|----------------------------------Variablen-----------------------------------|' Dim Position As Integer 'Analoge Spannung des Hallsensors Dim Pulsweite As Integer 'Die Pulsweite für den Spulenstrom Dim Alteposition As Integer
As String * 5 'Seriell ankommende Zeichen Dim Eingeschaltet As Bit 'Um alles auszuschalten Dim Anfangsbuchstabe As String * 1
-
Thread
Bleiakku richtig lagern
dritter Seite: The I1U1I2aI3aI3... charging characteristic (Fig. 2f) starts like IU charging. As soon as the battery charge current drops below a certain limit in the U-phase, the system switches to recharging with I2. This is for a limited time and with a limited voltage. Batteries with defined
container walls, especially when batteries are operated at elevated temperature. Water loss must be kept as small as possible, in order to avoid an undue increase of acid concentration, with the mentioned adverse effects. This again shows, how much the aging factors may be inter-dependent. --- Daher
-
Thread
AT1284p Timer1_ISR und Compiler_Meldungen
AS7: [View] show [Output]. In Output stehen die Details. Falls das Format nicht leserlich genug ist: copy/paste in einen Texteditor und vor alle "error" einen Zeilenumbruch einfügen. Jede Meldung lesen,
Mitleserin schrieb im Beitrag #7131766: > AS7: [View] show [Output]. In Output stehen die Details. Dem kann ich mich nur anschließen. Wieso eigentlich diese alte Version des AS?
-
Thread
Erste Platine geroutet und möchte sie fertigen lassen
optimizing the device for step-up circuits where VOUT » 3VIN, e.g., 1.5V to 5V. Other step-up ratios as well as step-down (buck) converters are possible at slight losses in maximum achievable power output. A2 is a versatile gain block that can serve as a low-battery detector, a linear post-regulator
-
Thread
Raspberry Pi Pico: Mikrocontroller-Board mit Cortex M0+
5.5V). This allows significant flexibility in powering the unit from various sources such as a single Lithium-Ion cell, or 3 AA cells in series. Battery chargers can also be very easily integrated with the Pico powerchain. Also kann der mit 1,8-5,5V am Eingang (VSYS Pin)
Wren6991/PicoDVI/blob/master/software/Readme.md Z.B. "Full-resolution VGA RGB565 image viewer. As each raw image is over 600 kB, only a small slice of the image can reside in memory at once, so images are streamed continuously from flash at 40 MB/s. The TMDS encode uses around 95% of both cores,
-
Thread
PIC 16F877A führt Programm nicht aus
>are always read as '0' mfg GroberKlotz
as '0' Genau, das ist das beschriebene "Example 4-1". Gruss Michael
-
Thread
Problem beim Boosterbau, bekomme nur Kurzschluss
Drahtverhau? Also wenn ichd as Layout hätte (Das fertige) dann könnte ich mir die Platine Ätzen das wär kein Problem habe dafür alles hier nur das Layout ist nirgendwo zu finden.
Drahtverhau? Dein erstes Bild ganz oben... boosterer schrieb im Beitrag #2255920: > Also wenn ichd as Layout hätte Kann man auch selber machen. Irgendwann ist immer das erste mal, warum nicht jetzt?
-
Thread
Frage: Programmier Adapter für Arduino Adapter
328-DIL sind sie auch nicht. Arduino F. schrieb im Beitrag #5424506: > _Ihm will_ mit dem "UNO as ISP" Autsch!
USB-to-serial driver chip. Instead, it features the Atmega16U2 (Atmega8U2 up to version R2) programmed as a USB-to-serial converter...An ATmega16U2 on the board channels this serial communication over USB and appears as a virtual com port to software on the computer." Die übliche Vorgehensweise ist die
-
Thread
Mit STEP 7 Brötchen verdienen
-----------*) ELSE (*-- keine Fehler ---------------------*) CASE ( i_pAlarmStat^ ) OF c_AS_Off: pOutLampFault^:= FALSE; (*-- Information ----------------------*) c_AS_Temp: pOutLampFault^:= FALSE; (*-- Acknowledge ----------------------*) c_AS_Confirm: pOutLampFault^:= TRUE; (*-- Störung --------------------------*) c_AS_Active: IF ( PifMsTimeDiff( dwTm1 ) >= 250 ) THEN (* 2Hz *) dwTm1:= PifMsTimeGet(); pOutLampFault^:= NOT(pOutLampFault^); END_IF (*-- ungültig ----------------------
-
Thread
Das gibt es für einen Appel und ein Ei
> gibt es diesen Spruch eigentlich auch in englischsprachigen > Ländern? "it's a steal" oder "as cheap as dirt". Bei den Briten auch "cheap as chips". > Oder hat Apple dem unbeabsichtigt ein Ende gesetzt? So viel Macht hat doch nur der Kaiser von Amerika.
-
Thread
Einblicke Windrad Flügel Gesperrt
uranium-238 can be used to generate plutonium-239, which itself can be used in a nuclear weapon or as a nuclear-reactor fuel supply. In a typical nuclear reactor, up to one-third of the generated power comes from the fission of 239Pu, which is not supplied as a fuel to the reactor, but rather, produced
uranium-238 can be used to generate > plutonium-239, which itself can be used in a nuclear weapon or as a > nuclear-reactor fuel supply. In a typical nuclear reactor, up to > one-third of the generated power comes from the fission of 239Pu, which > is not supplied as a fuel to the reactor, but rather
-
Thread
Bascom alias
Alias Porta Zeile3 Alias Portd Dout Alias Portb.2 Ss Alias Portb.1 Clock Alias Portb.0 Dim A As Word , B As Word Dim A1 As Word , A2 As Word , A3 As Word Dim Beginn_zeichen As Word , Ende_zeichen As Word , Db_zeiger As Word Dim Bz As Word Dim Ti As Byte , Tl As Byte , Tl2 As Word , Tl3 As Word Dim Ez As Byte Dim Dat(1530) As Byte Dim Ze(8) As Byte Dim Text As String * 255 Dim Einzelzeichen As String * 1 Dim Tx As Byte Dim Xs As Byte Dim Xt As Byte Dim Xd As Byte Dim Xh As Byte Dim Textw As
-
Thread
Logik-Bauteile - Die-Bilder
hier etwas Unübersichtlicheres für euch, außerdem schnell und militärisch: Texas Instruments SNJ54AS04 https://www.richis-lab.de/logic38.htm
Und nochmal eine MIL-Logik, SNJ54AS21: https://www.richis-lab.de/logic46.htm
-
Thread
Avr Rs232 & Timer ?
.6 = Output Config Portd.0 = Input Config Portd.1 = Output Config Portd.7 = Output Dim Adsoll As Byte Dim Rsin As Byte Dim Ist As Bit Dim Pw1 As Byte Dim Zahler As Byte Config Timer0 = Timer , Prescale = 64 Enable Timer0 On Timer0 Isr_t1 Enable Urxc On Urxc Rxd Enable Interrupts
-
Thread
10x10 Platine billigster Hersteller
Auszug aus "Irish Tax and Custom" Some websites state that they can misdeclare or undervalue the goods as a way of avoiding charges. Clearly, this is illegal and purchasers should bear in mind that they, as the importer of the goods, have legal responsibility for ensuring the accuracy of information provided
aus "Irish Tax and Custom" > Some websites state that they can misdeclare or undervalue the goods as > a way of avoiding charges. Clearly, this is illegal and purchasers > should bear in mind that they, as the importer of the goods, have legal > responsibility for ensuring the accuracy of information
-
Thread
Assembler: Fahrenheit nach Newton
"zeroth degree of heat" as melting snow and "33 degrees of heat" as boiling water. His scale is thus a precursor of the Celsius scale, being defined by the same temperature references. Thus the unit of this scale, the Newton degree, equals 100⁄33 Kelvin conversion or degrees Celsius and has the same zero as the Celsius scale. [/pre]
-
Thread
Meinungen zu Schuko-Stecker mit Schalter
sieht für mich an sich relativ solide aus - zumindest besser als das meiste, was man von Schaltern von as Schwabe, REV, Bachmann auf Amazon sieht und liest. Einziger Kritikpunkt, den ich sehe: die Terminalschrauben verschwinden zwar nach unten. Dennoch ließe sich (theoretisch) die graue Kappe mittig an
. Auch der verlinkte Bachmann 911.273 ist mittlerweile identisch (siehe Conrad-Rezensionen) mit as Schwabe 45034: https://www.amazon.de/Bachmann-911-273-Schutzkontaktstecker-Kunststoff-Schalter/dp/B000UX9OYA Egal ob die Winkelstecker-Schalter von Kopp, as Schwabe, Bachmann oder die von REV, und
-
Thread
LCD über Subroutine ansprechen ???
'Leseadresse vom PCF8574(1) Dim Dat_1 As Byte 'Datenwerte vom PCF8574(1) Dim W_adr_2 As Byte 'Schreibadresse vom PCF8574(2) Dim R_adr_2 As Byte 'Leseadresse vom PCF8574(2) Dim W_adr_3 As Byte 'Schreibadresse vom PCF8591(1) Dim R_adr_3 As Byte 'Leseadresse vom PCF8591(1) Dim T_boiler As Byte
-
Thread
Software PWM Bascom
den Fehler? [pre] $regfile = "m8def.dat" N $crystal = 3579545 $baud = 9600 Dim Timerwert As Byte Dim Pwmwert As Byte Dim Pwmwerton As Byte Dim Pwmwertoff As Byte Config Portc = Output Config Timer0 = Timer , Prescale = 1 On Timer0 Ablauf Enable Timer0 Enable Interrupts Do Pwmwert
jetzt noch mal verändert: [pre] $regfile = "m8def.dat" $crystal = 3579545 $baud = 9600 Dim I As Byte Dim Timerwert As Byte Dim Pwmwert As Byte Dim Pwmwerton As Byte Dim Pwmwertoff As Byte Config Portc = Output Config Timer0 = Timer , Prescale = 1 On Timer0 Ablauf Enable Timer0 Enable Interrupts
-
Thread
ATMega4809 externer Interrupt
Hallo, @ Torsten, Ingo Wenn die Kommandozeile für einen passt, kann man diese oder mehrere in AS/MS eintragen. https://www.mikrocontroller.net/topic/477806#5950668 Vorher kompilieren, logisch. :-) :-)
> @ Torsten, Ingo > Wenn die Kommandozeile für einen passt, kann man diese oder mehrere in > AS/MS eintragen. > https://www.mikrocontroller.net/topic/477806#5950668 > Vorher kompilieren, logisch. :-) :-) Die neuere, bessere Variante heißt: pymcuprog https://pypi.org/project/pymcuprog
-
Thread
ATmega Assembler-programmierung unter Ubuntu?
Fehler springen, dazu war ich aber bisher zu faul. Als Assembler nutze ich den freien "Alfred Arnold AS": http://john.ccac.rwth-aachen.de:8000/as/ welcher etwas mehr Komfort bietet, als der original ATMEL Assembler oder der freie avrasm. Falls mal ein logischer Fehler im Programm gesucht werden muss
die in den Datenblättern steht. Wer die paar Fünfzeiler aus den Datenblättern nicht an die gcc-as-Syntax ngepasst bekommt, bekommt eh kein richtiges Assemblerprogramm zusammmen. Da brauchts dann den ganzen Aufwand nicht. Oliver
-
Thread
Atmel Studio 7 verfügbar
avr32 und arm toolchain nicht. auch ist das neue studio auf visual studio shell 2013. bei mir startet as7 nun auch deutlich schneller und die IDE reagiert auch sofort auf Klicks und Eingaben. Ich sehe auch dass mit der neuen Shell die neueste Version der Tomato Plugins unterstützt wird.
Direkt-Link des Offline-Installers: http://www.atmel.com/images/as-installer-7.0.582-full.exe
-
Thread
Gericom Notebook TFT Wackelkontakt
Hallo zusammen! Habe hier ein Gericom Webshox Per4mance 34AS1 mit dem berüchtigten "schwarzen" Bildschirm. Inverter und Display sind soweit in Ordnung (nach Austausch immer noch das gleiche Problem), ebenso die weisse F1-Sicherung (markiert mit 2) auf dem Mainboard
Hat hier vielleicht einer eine Idee? Das Mainboard stammt übrigens von der Firma Uniwill (N34AS1 Rev. 01 (PN: 37-U54 000 01)) und wurde noch in weiteren Notebooks verbaut. Besten Dank für eure Hilfe! meyerf34.
-
Thread
Präzisions Funk-Thermometer gesucht
contrast with token passing LANs (Token Ring, Token Bus), all of which suffer throughput degradation as each new node comes into the LAN, due to token waits. This report was controversial, as modeling showed that collision-based networks theoretically became unstable under loads as low as 37% of nominal
-
Thread
invertierender Verstärker mit faktor <-1
Die Verstärkung der invertierenden OPV-Schaltung ist betragsmäßig Ai = Ad / As - 1 die der nichtinvertierenden An = Ad / As wobei Ad die Differentverstärkung des OPV und As die Schleifenverstärkung der Schaltung ist. Damit ist bei gleicher Schleifenverstärkung
Hallo, yalu wrote: > Verstärkerschaltung bis herab zu An=1 (d.h. As=Ad) stabil ist. Damit > sind mit der nichtinvertierenden Schaltung Verstärkungen von 0 bis > Ad-1 möglich. Ist die kleinstmögliche Verstärkung der Verschreiber? Sollte doch heißen "sind in der
-
Thread
Bascom GPS-Signal einlesen
ausgeben Gosub Serial0bytereceived Return Sub Serial0bytereceived() ' Local Incoming_data As String * 30 Local Incoming_data As String * 90 Input Incoming_data Noecho ' TXD des GPS-Empf. über ??? an RXD des µCs Print Incoming_data ' TXD des µCs über MAX232 an RXD des PCs
$framesize = 32 Config Portd.5 = Output Config Portd.6 = Output Config Portd.0 = Input Dim S As String * 82 Dim G As String * 6 Dim T As String * 2 Dim Geschw As Integer On Urxc Onrxd Enable Urxc Enable Interrupts Main: Print "$PSRF103,05,00,01,01*25<CR> <LF>" Print "$PSRF103,00,00,00,01
-
Thread
SourceCode (VB) zum Flashen von Atmegas gesucht
Hallo Michael, versuch's mal damit ;) VG [c] Private Sub cmd_Upload_Click() Dim tmp As Integer If FileExists(txt_File) = False Then Add_Item "Datei: " & txt_File & " existiert nicht" Exit Sub End If On Error GoTo Port_error With MSComm1
SThreshold = 1 .PortOpen = True End With On Error GoTo 0 Dim data As String Dim block As Byte Dim block_gesamt As Byte Dim i As Integer Dim ii As Single Dim ReadByte As String Dim Retry As Byte Const Nak = &H15 Const Ack =
-
Thread
msp430 gcc4 / asm-files assembler umsetzen & einbinden
test\WDT_example.c ../_test/WDT_example.c:81: warning: return type of `main' is not `int' msp430-as.exe -mmcu=msp430x449 -IC:\mspgcc4\msp430\include -o_test\RTC_WDT.o ..\_test\RTC_WDT.asm msp430-as.exe -mmcu=msp430x449 -IC:\mspgcc4\msp430\include -o_test\RTC.o ..\_test\RTC.asm msp430-gcc.exe -mmcu
Debug for project versuch **** **** Internal Builder is used for build **** msp430-as.exe -mmcu=msp430x449 -IC:\mspgcc4\msp430\include -o_test\RTC_WDT.o ..\_test\RTC_WDT.S msp430-as.exe -mmcu=msp430x449 -IC:\mspgcc4\msp430\include -o_test\RTC.o ..\_test\RTC.S msp430-gcc.exe -IC:\mspgcc4
-
Thread
Attiny 45 Programmierung funktioniert nicht
noch fix ein weiters Macro geschrieben: [c] ' TaskMgr-Definitionen #define TASKMGR_TIME_MIN(n) as TASKMGR_TIME_SEC( (n) *60 ) #define TASKMGR_TIME_SEC(n) as TASKMGR_TIME_10MS( (n) *1000 ) #define TASKMGR_TIME_10MS(n) as word( (n) /TASKTIMER_TIMESLICE )[/c] Die Main-Loop angepasst: [c]'
Du brauchst einen zweiten ISP Programmer, um die Software auf den USBASP zu bringen. Evtl. Arduino as ISP duzu verwenden.
-
Thread
stm32f103 hse clock
* get maximum allowed frequency: 72Mhz * Enable PLL, wait till it's stable, then select it as system clock*/ RCC_PLLConfig(RCC_PLLSource_HSE_Div1, RCC_PLLMul_9);//9 RCC_PLLCmd(ENABLE); while(RCC_GetFlagStatus(RCC_FLAG_PLLRDY) == RESET) {} RCC_SYSCLKConfig(RCC_SYSCLKSource_PLLCLK
Set clock source to PLL */ RCC->CFGR |= RCC_CFGR_SW_PLL; /* Busy-wait until PLL is active as clock source */ while ((RCC->CFGR & RCC_CFGR_SWS_PLL) != RCC_CFGR_SWS_PLL); SystemCoreClock = 72000000UL; } [/c]
-
Thread
C: Konstante weak definieren Gesperrt
koennen, es also schwer zu ueberblicken ist. "The weak attribute causes the declaration to be emitted as a weak symbol rather than a global." Hat das Einfluss auf den Scope?
en.wikipedia.org/wiki/Weak_symbol Weak symbols are not mentioned by the C or C++ language standards; as such, inserting them into code is not very portable. So gewöhnt man sich schlechten Programmierstil an ;-)
-
Thread
Xilinx unisim library und ghdl, DCM tut nicht
________ Between ISE 11.2 and 13.2 the module DCM_CLKGEN failed to compile for unisim as well as simprim. This is finally fixed in ISE 13.3. The reason was an illegal VHDL construct (arithmetic with mixed types, which is not allowed in VHDL) which is apparently tolerated by most
threads Xilinx Unisim DCM is not working.in GHDL DCM from Xilinx unisim My experience as of ISE 13.1 is that in general no output clock is generated and that models with DCM's fail to work, and as far as I know the issue was never resolved.
-
Thread
Globale Variable nutzen oder nicht
bezieht, kann sie ruhig global definiert werden. Oder zumindest eine Zugriffsfunktion getConfig("name").asInteger etc. die auf einen gekapselt verborgenen Konfigurationsspeicher zugreift. In modernem C++ würde man sauber strukturieren, in dem man alles was zum Programm gehört und daher eventuell konfigurationsabhängig
am Anfang eine 2 . Die Extra-Variable steuert dann die Konfig. z.b. SO: Dim my_config(2) as ls_my_config ' schafft platz für ein unterschiedliche Config. dim config_nr as integer = 1 ' stetz erste config als gegeben Structure my_config dim name as string dim einstellung as integer
-
Thread
[AVR] SPI wartet endlos auf SPIF Flag
, the pin will be driving the SS pin of the SPI slave. 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: 1. The MSTR bit in SPCR is cleared and the SPI system
-
Thread
Suche AVR230 für GCC
OK Jörg, hast mich überredet. Ich werde erst mal mit der AES - Variante weiter machen. Das ist der schnellste Weg um die Sache anzuschieben. Ja, ich hatte die Hoffnung, daß 56-Bit DES weniger Speicher als 128-Bit AES benötigt. Wobei mir klar ist, daß das stark
sich seitdem viel Kryptographie auf CPUs abspielt, werden moderne Algorithmen wie auch der, der zum AES gewählt wurde, mit mehr Rücksicht darauf entworfen. AES kann also durchaus einfacher als DES sein.
-
Thread
Bordspannung im Anlassvorgang
(wahrscheinlich etwas zu hoch angesetzt) während eines 350ms-Anlassvorgangs: 450A * 0,35s = 157,5As Wenn ich also im Auto Verbraucher habe, die z.B. zusammen 10A ziehen, hat man die Energiemenge für einen Start schon nach rund 16s zusammen. Hat man Licht, Radio, Lüfter an, liegt man noch deutlich
es nie ausgemessen habe, aber von -20% bis vielleicht +30% halte ich alles für möglich. 30% von 157As wären 52As. Noch ein Wort zum Starter(Anlasser). Der wird auch entlastet, erst recht dann, wenn sehr gute Batterien mit entsprechend niedrigem Innenwiderstand eingebaut wurden.