-
Thread
SDCC und struct
Ralph S. schrieb im Beitrag #4996025: > SDCC cannot pass structure col as .... Und was steht da anstelle der Punkte? Vor C89 konnten keine Strukturen als Werte übergeben werden (und damit auch nicht als Rückgabewert von Funktionen verwendet werden), auch direkte Zuweisungen
Ralph S. schrieb im Beitrag #4996239: > - Structures and unions can not be assigned, passed as function > parameters or return values. Das bedeutet also noch nicht mal C89.
-
Thread
WinAVR -> neopixel_i2c Github-Code -> Fehlermeldungen
:45: error: lvalue required as left operand of assignment main.c:46: error: lvalue required as left operand of assignment main.c:47: error: lvalue required as left operand of assignment main.c:48: error: lvalue required as unary '&' operand main.c:49: error: lvalue required as left operand of assignment main.c:50: error: lvalue required as left operand of assignment main.c:51: error: lvalue required as left operand of assignment main.c:52: error: lvalue required as left
-
Thread
smartctl output für vier HDs
program instead of hdparm if at all possible. The reverse-engineered implementation in hdparm is not as complete as the original official program, even though it does seem to work on at a least a few drives. A full power cycle is required for any change in setting to take effect, regardless of which
before turning off the spindle motor to save power. Under such circumstances, the drive may take as long as 30 seconds to respond to a subsequent disk access, though most drives are much quicker. The encoding of the timeout value is somewhat peculiar. A value of zero means "timeouts are disabled
-
Thread
RFM12 merkwürdiges Phänomen
32 $swstack = 32 $framesize = 40 Declare Sub Rf12_init Declare Function Rf12_trans(byval Wert As Word) As Word Declare Sub Rf12_setfreq(byval Freq As Single) Declare Sub Rf12_setbandwith(byval Bandwith As Byte , Byval Gain As Byte , Byval Drssi As Byte) Declare Sub Rf12_setbaud(byval Rfbaud As Long) Declare Sub Rf12_setpower(byval Outpower As Byte , Byval Fskmod As Byte) Declare Sub Rf12_ready Declare Sub Rf12_readys Declare Sub Rf12_txdata(byval Maxchar As Byte) Declare Sub Rf12_rxdata(byval Maxchar As Byte) Declare Sub Senden Declare
-
Thread
Interrupt "ON rxd" in Bascom
Optimierter String-Empfang $Regfile = "2313def.dat" $Crystal = 3686400 $Baud = 9600 Dim s As String*4 At &H60 Dim b(5) As Byte At &H60 Overlay Dim n As Byte On URXC OnRxD Enable URXC Enable Interrupts Main: If n > 4 Then Print s n = 0 End If Goto Main OnRxD:
Optimierter String-Empfang > $Regfile = "2313def.dat" > $Crystal = 3686400 > $Baud = 9600 > > Dim s As String*4 At &H60 > Dim b(5) As Byte At &H60 Overlay > Dim n As Byte > > On URXC OnRxD > Enable URXC > Enable Interrupts > > Main: > If n > 4 Then > Print s > n = 0 > End If
-
Thread
DDR3-SDRAM Layout Beispiele
____~ 180 μm (defined by impedance) FR4 or PP-foil ……….4th layer: GND, >=17 μm ________~ 110 μm (as small as possible) FR4 or PP-foil ……….5th layer: PWR_CORE, >=17 μm ________~ 230 μm (as small as possible) FR4 or PP-foil ……….6th layer: GND, >=17 μm ________ ~ 110 μm (as small as possible) FR4
-
Thread
Problem mit String und Pointer
Spec falsch: >> If the unary * operator is applied to this >> pointer explicitly, or implicitly as a result of subscripting, the >> result is the pointed-to ( n -1)-dimensional array, which itself is >> converted into a pointer if used as other than an lvalue. > Hmm. Der Punkt gilt ja wohl
Spec falsch: >>> If the unary * operator is applied to this >>> pointer explicitly, or implicitly as a result of subscripting, the >>> result is the pointed-to ( n -1)-dimensional array, which itself is >>> converted into a pointer if used as other than an lvalue. >> > > > Hmm. Der Punkt gilt
-
Thread
C Sprungmarken und Sprungtabelle
Sprungtabelle zu speichern? GCC kann sowas als Erweiterung: https://gcc.gnu.org/onlinedocs/gcc/Labels-as-Values.html#Labels-as-Values Mir ist aber in knapp 30 Jahren C-Praxis noch nichts untergekommen, wo ich sowas als vorteilhaft erachtet hätte. ;-)
Beitrag #5761908: > GCC kann sowas als Erweiterung: > > https://gcc.gnu.org/onlinedocs/gcc/Labels-as-Values.html#Labels-as-Values > > Mir ist aber in knapp 30 Jahren C-Praxis noch nichts untergekommen, wo > ich sowas als vorteilhaft erachtet hätte. ;-) Computed-Goto ist sehr praktisch beim Bau
-
Thread
1 ist gleich 0.9999999?
than general relativity, over a vastly greater range of phenomena, I do not regard the theory as having yet achieved the necessary coherence as a theory." Roger Penrose, The Road To Reality http://en.wikipedia.org/wiki/List_of_unsolved_problems_in_physics u.a. http://en.wikipedia.org/wiki/Vacuum_catastrophe
than > general relativity, over a vastly greater range of phenomena, I do not > regard the theory as having yet achieved the necessary coherence as a > theory." Womit er in meinen Augen aber nicht die Quantenmechanik zur Schnecke macht. Zu den Arbeitsgebieten von Penrose gehörten beide Bereiche
-
Thread
Was spricht gegen die Black Magic Probe?
gefunden was wohl nicht funktionieren wird. Die STM32L4 starten mit dem 4MHz-RC, BMP toggelt SWCLK "as fast as possible; adding frequency control would slow that down" (sinngemäß; natürlich finde ich die Quelle dafür nicht mehr). Irgendwo hab' ich auch 4.5MHz SW Bitrate gelesen. Das geht also nicht so
was > wohl nicht funktionieren wird. Die STM32L4 starten mit dem 4MHz-RC, BMP > toggelt SWCLK "as fast as possible; adding frequency control would slow > that down" (sinngemäß; natürlich finde ich die Quelle dafür nicht mehr). > Irgendwo hab' ich auch 4.5MHz SW Bitrate gelesen. Das geht also
-
Thread
Welche Programmiersprache soll ich lernen?
es mal, 'Arduino C'. Pass auf, ich schreibe Dir jetzt mal was in VB und dann in C: [c] #VB Dim i as Integer for i = 0 to 10 SetLEDValue(i) next //C int i = 0; for (i = 0; i < 11; i++) { SetLEDValue(i); } [/c] Du siehst, soviel anders sieht das (erstmal) nicht aus.
Mr. K. schrieb im Beitrag #5532457: > #define LED1 as portB.0 'LED1 wird als Bezeichner für portB.0 > definiert Und http://gcbasic.sourceforge.net/help/__define.html Anscheinend haben sowohl LunaAVR als auch GCBasic die C-Makros als simple Textersetzung
-
Thread
Zeitprobleme bei Berechnung linearer Rampe für Schrittmotor(AVR)
"m328def.dat" $crystal = 11059200 $hwstack = 64 $swstack = 64 $framesize = 64 Dim C_n_alt As Word Dim C_n_neu As Word Dim Rest As Word Dim 4n_plus1 As Long Dim 2c_n_alt As Long Dim Reload_akt As Word Dim Restsumme As Long Dim N As Long Dim Motor_nr As Byte Dim Constant As Bit Config
Überprüf mit deinen konkret auftretenden Zahlenwerten, welche der Variablen [Code] Dim C_n_alt As Word Dim C_n_neu As Word Dim Rest As Word Dim 4n_plus1 As Long Dim 2c_n_alt As Long Dim Reload_akt As Word Dim Restsumme As Long Dim N As Long Dim Motor_nr As Byte [/code] tatsächlich Long
-
Thread
Service_manual für Gericom 34as6
geschenkt bekommen, bei dem der "Ein"-Taster "fest" ist. Das Biest hört auf den schönen Namen "Gericom 34AS6" Leider fand ich nur User Manuale, die keine Angaben darüber enthalten, wie die Kiste zu demontieren wäre. Frage: Hat jemand einen Link zu dem /Service/ Manual von dem Apparat? Ich fand einen
-
Thread
Diode STIEC45-30AS in LTSpice einbinden
Datei auch so benannt sind). Zener1 Diode plaziert und mit rechter Maustaste den Value STIEC45-30AS eingetragen. Wenn ich simulieren möchte kommt die Meldung: "Can't find definition of model STIEC45-30AS" Wäre nett, wenn mir jemand auf die Sprünge helfen könnte. Vielen Dank Volker
collection of circuitry of intrinsic SPICE devices. For example, the SPICE model of an opamp would be given as a subcircuit. The way how to include the model in LTspice depends on whether the model is given as a .MODEL statement or a .SUBCKT. Example for an NPN transistor defined with a .MODEL statement
-
Thread
Problem mit Progmem (32u4, AS7)
Ich habe da ein Problem mit Progmem... ich habe eine typische 8x8 Matrix mit Buchstaben, im normalen RAM funktioniert sie tadellos, stelle ich sie jedoch ins "Progmem" - dann kommt nur noch Müll raus, woran kann das liegen?! Ich habe schon beide Versionen probiert: [c] extern const char GearBitmap[41][6] PROGMEM; const char GearBitmap[41][6]={ {0x7E,0x81,0x81,0x81,0x7E,0x0}, //0 {0x4,0x82,0xFF,0x80,0x0,0x0}, //1 {0xE2,0x91,0x91,0x91,0x8E,0x0},//2 {0x42,0x89,0x89,0x89,0x76,0x0},//3 {0x1F,0x10,0x10,0xFF,0x10,0x0},//4 {0x8F,0x89,0x89,0x89,0x71,0x0},//5 {0x7E,0x89,0x89,0x89,0x71,0x0
-
Thread
AS5040 Drehwinkelsensor C- Routinen für ATMEGA
Hallo Wolfram, ich habe bei meiner Diplomarbeit gerade mit dem AS5040 zu tun und bin auf dein Quellcode gestossen. Dabei hätte ich eine Frage und wäre sehr froh wenn du mir helfen könntest...!! es geht in der Datei "as5040.c" in der Funktion "as5040_ssi(void)" um
die if-Abfrage?? Was ist bei dir "AS5040_PORT"?? In der dazugehörigen Header-Datei hast du geschrieben: #define AS5040_PORT PINA #define AS5040_PIN_DI PINA1 Was bedeutet das? Ich wäre über deine Hilfe sehr dankbar
-
Thread
TD1316AS-IVP Philips Tuner Information
Seit einiger Zeit ist der Philips Tuner TD1316AS-IVP bei der Bucht spottbillig zu haben. Leider ist es mir nicht noch nicht gelungen ein exaktes Datenblatt auf dem Internet zu finden. Ich habe also versucht auf eigene Faust das Teil in Betrieb zu nehmen
Anwendung kam: // Testing values: 06 164 192 1 for 50 MHz Finp at 36 MHz out // Tuner Address used (AS-Pin grounded) = 0xC0 Write and 0xC1 status byte // read. /* Tuner Werte: F[PLL] = 85.000 MHZ F[REF] = 50 kHz F[IF] = 36 Mhz CP = 250uA BAND = LOW adr = 0xC0 */ void query_TUA6034T(int
-
Thread
Atmel WinCUPL: CPLD AT1502AS
Wenn Gleichungen mir WinCUPL erstellt werden, dann ordnet das Programm automatisch die Ein- und Ausgänge zu. Was passiert mit den unbeutzten Pins? Sind das alles Ausgänge?
-
Thread
arm-none-eabi-as macht MOVW aus LDRH
Hallo, [pre] $arm-none-eabi-as -march=armv7e-m -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=vfpv4 main.s -o main.o $arm-none-eabi-ld -T memory.ld main.o -o main.elf $cat main.s .equ BITS32, 0x11223344 .equ BITS16,
Unterschied zwischen movw und mov.w? Frage 3. Darf as die Instruktionen umschichten / reorder? [pre] $ arm-none-eabi-as --version GNU assembler (GNU Tools for Arm Embedded Processors 9-2019-q4-major) 2.33.1.20191025 [/pre] Gruß, Daniel
-
Thread
AES67 / AVB / Dante Protokoll
Protokoll-Log von z.B. Wireshark, wo man ein bisschen sieht, wie der Netzwerktraffic von z.B. einem AES67 oder AVB Netzwerk aussieht? Geht mir insbesondere um die PTP Kommunikation, die ich mir mal im Detail ansehen will. Gibt zwar viel mehr oder weniger gute Doku im Netz, sich aber mal "realen"
IEEE1588v2 AVB verwendet einen boundary clock. Die AVB Switch wird zum Master für die Geräte. Bei AES67 und Dante wird dieser von der Switch mit hoher priority durch geleitet. Es entsteht ein schlechter Clock...
-
Thread
AS5048a Daten mit DMA auslesen SPI
Hi, Ich versuche über den SPI mit dem DMA mehrmals Daten eines AS5048a auszulesen (http://www.mouser.com/ds/2/588/AS5048-EK-AB_Operation-Manual_Rev.1.3-820438.pdf), (https://www.google.ch/url?sa=t&rct=j&q=&esrc=s&source=web&cd=2&cad=rja&uact=8&ved=0ahUKEwjOqo-G5ODWAhXDCcAKHQk5DIYQFggtMAE
-
Thread
PWM-Signal verstärken
könnten die im Blog ermittelten Grenzen verletzt worden sein. [pre] A “0” can be encoded with a pulse as short as 62.5 ns, but should not be longer than ~500 ns (maximum on WS2812). A “1” can be encoded with pulses almost as long as the total cycle time, but it should not be shorter than ~625 ns (minimum
-
Thread
DS1820 schwankungen von -1 bis +110
Portb.3 , Rs = Portb.2 Config Lcd = 20 * 4 Cls Cursor Off Config 1wire = Portc.7 Dim Ar1(9) As Byte Dim Ar2(9) As Byte Dim Temp1 As Single Dim Temp2 As Single Dim Tmp1 As Byte Dim Tmp2 As Byte Dim T1 As Integer Dim T2 As Integer Dim T3 As Integer Dim T4 As Integer Dim Zeit As Byte Dim Milisekunde As Word Dim Sekunde As Byte Dim Dsid(16) As Byte 'Die ausgelesenden DS1820 adessen Dsid(1) = &H10 : Dsid(2) = &H29 : Dsid(3) = &HA2 : Dsid(4) = &HDD : Dsid(5) = &H01 : Dsid
-
Thread
HF mit 360GHz erzeugen
ein hoher Frequenz-Durchstimmbereich benötigt, kommen häufig Photomischer (Low-Temperature-Grown GaAs, Uni-travelling-Carrier Photodioden, n-i-pn-i-p-Übergitter-Photodioden) zum Einsatz, die die Differenzfrequenz zweier Laser in Wechselstrom umwandeln, welcher schließlich durch eine geeignete Antenne
#2011225: > Erzeugung von > Terahertzleistung durch Frequenzvervielfachung (z. B. mit Hilfe von > GaAs-Schottky-Dioden) Diese Möglichkeit scheint sich noch mit meinem Büdget zu vertragen... Gibt es da fertige Baugruppen wie Vervielfacher von 10GHz nach 360GHz?
-
Thread
Open Bench Logic Sniffer - FPGA läuft nicht an
Probably a soldering problem, but I didn't want to go over with the solder tip and resolder the stuff as I was unsure if the shop does the swap as soon as it's recognized that touched it. Let's hope the best that they swap it. Do you know what has changed on the hw design in v1.04? I'm still hoping
capture that I can forward the stuff in realtime to my computer with the drawback of capture speed as the memory doesn't seem to be very huge on that board...
-
Thread
Preiswerter X86-Einplatinenrechner, STM-Softwareupdates und anderes mehr
of semiconductor and IP product experience, most recently serving for more than six years at SiFive as the Senior Director of Product Management. Prior to SiFive, Mr. Barbier held technical and product management roles for companies including Faraday Technology Corporation, Arm and Analog Devices. As the new VP of Products, Mr. Barbier will oversee and further drive MIPS’ product roadmap as the company continues to expand its footprint in the automotive, cloud and embedded markets. “I am excited to join MIPS as the company continues to accelerate RISC-V innovation and expand into new
-
Thread
Drehspulmesswerk anschliessen
// Check if we pressed the button to adjust the hour ... // Repeat the following loop for as long as we hold this button. while (!digitalRead(PIN_BUTTON_HOUR)) { // Grab the current time. DateTime now = rtc.now(); // Set the RTC time by using the current time and
// Check if we pressed the button to adjust the minutes ... // Repeat the following loop for as long as we hold this button. while (!digitalRead(PIN_BUTTON_MIN)) { // Grab the current time. DateTime now = rtc.now(); // Set the RTC time by using the current time and increaing
-
Thread
3,5" TFT an PC anschließen
Wenn ja, Aufruf per Timer? in welchem zeitlichen Abstand? [c] Function ReceiveSerialData() As String ' Receive strings from a serial port. Dim returnStr As String = "" Dim com1 As IO.Ports.SerialPort = Nothing Try com1 = My.Computer.Ports.OpenSerialPort
Richtung. Allerdings nur per 2Byte Teilstrings: [c] Private Sub btnSend_Click_1(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnSend.Click Dim str As String For i = 0 To Len(txtTransmit.Text) Step 2 'string in jeweis 2byte zerlegen str = Mid
-
Thread
Wirklich ganz einfacher, freier C-Editor mit Fehlerfeld
AS555 schrieb im Beitrag #6348455: > und sie können am Beispielprogramm (Blinkende LED) > über geänderte Delay-Zeiten ihre Angst vor dem µC und C verlieren. Und wenn sie sich einmal daran gewöhnt haben
AS555 schrieb im Beitrag #6348455: > Es soll für SW-ferne "Analog-"Kollegen sein, die wenn sie Eclipse oder > Notepad++ aufmachen, es vor Angst wieder zumachen. Entschuldigung? Wer Angst vor einem
-
Thread
BMW Nightvision (FLIR PathfindIR) "Wärmebildkamera"
please let me know ... I have been looked at the xolmatic site but his camera version is not the same as my version. But it still look's like a pathfindir camera. All pcb are marked as Autolive(R) inside. I have to wait for my LIN convertor ... I precise that I have no BMW car and I can't connect
of a missing identification between the NVE and the car using the K-CAN bus. If it doesn't work (as I am expected) I will buy the BMW Night Vision activator and let's see what is apppening on the CAN Bus. my goal is using this camera without the NVE elctronic, directly driven by the LIN bus.
-
Thread
Die besten Elektronik Kanäle auf Youtube
is for those who are interested in electronics. It includes projects for the hobbyist and tutorials as well as test equipment and electronic product reviews and teardowns. ===========================================================================
Phone and Tablet repair. We work on all electronics makes and models. You can think of the channel as a Diary of A Repair Shop / equipment reviews. We randomly pick a device from our shop and fix it on camera.
-
Thread
Bewegungssensor (nicht optisch)
und Source-Code finden: "RCWL-0516 is a doppler radar microwave motion sensor module which can act as an alternative to a PIR motion sensor." https://github.com/jdesbonnet/RCWL-0516
Source-Code >finden: >"RCWL-0516 is a doppler radar microwave motion sensor module which can >act as an alternative to a PIR motion sensor." >https://github.com/jdesbonnet/R Na und. Deswegen sind die 3,15GHz des RCWL-0516 in DE für Radaranwendungen trotzdem nicht zugelassen. MfG Spess
-
Thread
runterregeln auf 3.3V
nicht an. Das verstehe ich nicht ganz: auf die Viertelstunde gerechnet, entsprechen die 40 mA 160 mAs, 1 mA hingegen 900 mAs; also mir wäre das im Verhältnis zu viel.
Irrtum: sind ja sogar nur 80 mAs bei den 40 mA, das 1 mA würde also mehr als das Elffache benötigen.
-
Thread
[Cortex-M3] Problem mit dem UART
); // Tx1 as Push-Pull GPIO_InitStructure.GPIO_Pin = GPIO_Pin_9; GPIO_InitStructure.GPIO_Speed = GPIO_Speed_50MHz; GPIO_InitStructure.GPIO_Mode = GPIO_Mode_AF_PP; GPIO_Init(GPIOA, &GPIO_InitStructure
); // Tx2 as Push-Pull GPIO_InitStructure.GPIO_Pin = GPIO_Pin_2; GPIO_InitStructure.GPIO_Speed = GPIO_Speed_50MHz; GPIO_InitStructure.GPIO_Mode = GPIO_Mode_AF_PP; GPIO_Init(GPIOA, &GPIO_InitStructure
-
Thread
Bascom und UART wiedermal
könnte das liegen? Hier der Code: [c] On Urxc Receive Enable Urxc Enable Interrupts Dim I as Byte Dim Frame(4) as Byte Dim Byte1 as Byte Dim Byte2 as Byte Dim Byte3 as Byte Dim Byte4 as Byte Main: Do If I = 4 and Byte1 = &H10 and Byte2 = &H20 and Byte4 = &H40 Then Select Case
groß ist. Mach mal das hier: [c] On Urxc Receive Enable Urxc Enable Interrupts Dim I as Byte Dim Frame(4) as Byte Dim Byte1 as Byte Dim Byte2 as Byte Dim Byte3 as Byte Dim Byte4 as Byte Main: Do If I = 4 then If Byte1 = &H10 and Byte2 = &H20 and Byte4 = &H40 Then
-
Thread
Taktfrequenz überprüfen.
Relaisausgang an Pin 3 Portb.4 = 1 'Relaisausgang sofort einschalten wegen der Selbsthaltung Dim Ticks As Word 'Ticks sind die Timer-Überläufe Dim Sekunden As Word Dim Minuten As Word Dim Stunden As Word Config Timer0 = Timer , Prescale = 1024 'Die Quartzfrequenz ' zusammen
-
Thread
Transistorarray mit 3 differentiellen (NPN) Pärchen gesucht.
AS3052 wäre ein Kandidat. Nur wo man den noch bekommt ist eine andere Sache. https://www.alfatriode.lv/eng/sc/AS3052.pdf PS: Wegen der scheiß Sucherei habe ich mir jetzt einen Trojaner eingefangen
Thomas B. schrieb im Beitrag #7988844: > AS3052 wäre ein Kandidat. > Nur wo man den noch bekommt ist eine andere Sache Da sind leider K mit E verbunden, für ne Moog-Ladder sicher ganz brauchbar. Thomas B. schrieb im Beitrag #7988844: >
-
Thread
Mit KI Programme für Mikrocontroller entwickeln
PD5, OC1A, steuerbar in 0.01% schritten. [/code] Antwort: [code] void pwm_init() { // Set PD5 as output pin DDRD |= (1 << PD5); // Set fast PWM mode with ICR1 as top value TCCR1A |= (1 << COM1A1) | (1 << WGM11); TCCR1B |= (1 << WGM13) | (1 << WGM12); // Set prescaler to 1 for
clock displays the correct time. If there are any issues, check your connections and modify the code as necessary to match your hardware setup. Step 6: Encase and finish Once everything is working as expected, you can encase your word clock in a suitable frame or enclosure, depending on your preferences
-
Thread
Timing Probleme DDR- SDR Wandler: Wie lautet die Timing-Constraint-Anweisung
speed grades, all hold times are either negative or zero. This simplifies the placement and routing, as the data only needs to arrive before the clock edge, and is allowed to change immediately following a clock edge. The value that the data exceeds the minimum setup time is known as slack. Slack should
Metastability Just because the data was not valid for as long as required does not mean that the output of the flip-flop is metastable--metastable is different from indeterminate! An output could be 0 or 1, seemingly at random, if the timing is not met.
-
Thread
Funkschau Transistor Messender
Das könnte der GRUNDIG AM/FM-Generator AS4 sein. Vielleicht hilft Google?
AS4 gibt es bei elektrotanya.com Suche nach: grundig as4 sender
-
Thread
Cocoox CoIDE Windows10
wie möglich bei CoIDE. Laut homepage: >No 30 days trials or upgrading to Pro versions, just free as free can be. Was willst du noch?
noch zum Download angeboten. Ist also alles historisch gewachsen. Atollic hatte ich mitbekommen, SW4(as6) nicht. Danke daher für die Aufklärung! VG, Axel
-
Thread
SerialPort VB.2005 mit C-Control
meine provisorische lösung, die muss aber noch optimiert werden: Public Class Form1 Dim Wert As String Private Sub Form1_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load SerialPort1.Open() End Sub Private Sub SerialPort1_DataReceived(ByVal sender As Object, ByVal e As System.IO.Ports.SerialDataReceivedEventArgs) Handles SerialPort1.DataReceived Wert = SerialPort1.ReadLine() Wert = Wert.Replace(Chr(13), Nothing) 'Hier wird das
-
Thread
Fachkräftemangel wirklich real? Gesperrt
ist doch sehr sinnvoll, auch viele andere Werkzeuge. Aber political economy? "... Of course, as Milton Friedman said, “There’s no such thing as a free market.” (That may not be exactly what he said. It’s what he would have said had he understood economics better.) I think Milton was right. I mean, as soon as capitalists start making money, they buy the government, and engage in carnal intercourse with it, ..." https://fredoneverything.org/understanding-economics-a-perfect-grasp-and-for-free/
-
Thread
8h Timer mit attiny85 - Genauigkeit ohne Quarz
eben auch eine grottenschlechte Präzision der Frequenz hat. z.B. bei einem STM32: "The LSI RC acts as an low-power clock source that can be kept running in Stop and Standby mode for the independent watchdog (IWDG) and Auto-wakeup unit (AWU). The clock frequency is around 40 kHz (between 30 kHz and 60
Oscillator providing a clock of 128 kHz. The frequency is nominal at 3V and 25C. This clock may be select as the system clock by programming the CKSEL Fuses to “0100”. When this clock source is selected, start-up times are determined by the SUT Fuses as shown in Table 6-9. Table 6-7. Start-up Times for Internal
-
Thread
PDS 7.1 (Basic) , Obj von Turbo-C++ 3.1 einbinden. (Retro)
und % Platzhalter Ich hab deshalb geschrieben [code] DECLARE FUNKTION quadrat& CDECL (BYVAL i AS LONG) DIM x AS LONG DIM y AS LONG x=1000 y= quadrat(x) PRINT x PRINT y [/code]
-
Thread
Zwischenspeichern im RAM
svgFile Path.GetTempPath() + "item.svg"; foreach(var article in stock.articles) { article.ExportAsImage(svgFile); page.AddPicture(svgFile); } [/code]
svgFile Path.GetTempPath() + "item.svg"; foreach(var article in stock.articles) { article.ExportAsImage(svgFile); page.AddPicture(svgFile); unlink(svgFile); } [/code]
-
Thread
Verwendung von Block UND Distributed RAM im selben design?
of 13300 6% Number of Slice Registers 2251 out of 106400 2% Number used as Flip Flops 2221 Number used as Latches 30 Number used as LatchThrus 0 Number of Slice LUTS 1993 out of 53200 3% Number
4350 SLICEM sites. Please modify the logical design source to reduce the number of LUTRAMs. As an alternative, please select a device with more SLICEM sites." >Das Datenblatt sagt: >True 6-input LUTs >Memory LUTs are configurable as 64x1 or 32x2 bit RAM >Free number of Slice LUTS: 1993
-
Thread
MSP430 LCD Problem
====================================// void check_busy(void) { P1DIR &= ~(BIT3); // make P1.3 as input while ((P1IN & BIT3) == 1) { data_read(); } P1DIR |= BIT3; // make P1.3 as output } //===================================================================================//
// make P1.3 as input do { ENABLE_HIGH; __delay_cycles(xxx); val = (P1IN & BIT3); ENABLE_LOW; } while (val); P1DIR |= BIT3; // make P1.3 as output [/c]
-
Thread
Neues Terminal-Programm für Windows
Statusleitungen-Anzeigen. "- Eine Funktion zum speichern der aktuellen Einstellungen" Im Menu File/Save config as. Wenn du diese Datei unter dem Namen 'hterm.cfg' im gleichen Verzeichnis speicherst, in dem die .exe-Datei liegt, wird sie jedes mal beim Start automatisch geladen. Ein Ändern der Fontgrösse fehlt
Hi Shah, I had the same problem as you to save the received data. I found the following way: Save it as HEX Data, so you will find CR+LFs enclosed in the Data stream. With a small Perl-hack I converted the Hex-Datastream back to ASCII
-
Thread
C#: Zugriff auf Strukturelemente verweigert
bei C++ bin ich mir sicher, ich dache das es bei C# auch so ist > In C++, a structure is the same as a class except that its members are > public by default.
LayoutKind.Sequential, CharSet = CharSet.Ansi)] public struct ethernet_header { [MarshalAs(UnmanagedType.ByValArray, SizeConst = 6)] public byte[] dest; [MarshalAs(UnmanagedType.ByValArray, SizeConst = 6)] public byte[] source; public