-
Thread
Linux ist endlich vom C89 Standard weg
of char [/code] Ist völlig logisch, vorausgesetzt man denkt wie ein Parser, nicht wie ein Mensch. ;-)
modische Ausreißer gegeben, die so ein bis drei Jahre einen großen Hype > gehabt haben und wie die New Kids On The Block aussahen, mittlerweile > aber wieder deutlich nachzulassen scheinen: Kotlin, Julia und Scala zum > Beispiel. Rust wird weiter Erfolg haben, da Rust das gleiche kann wie C und
-
Thread
Umstieg auf Kinux von Win
automatischen Brainwashing. Hier ein sehr gutes Beispiel. https://www.mikrocontroller.net/topic/536912#new Die ersten Antworten . NUR MS-Zeug. Und das obwohl es mehr als jede Menge gute Alternativen gibt.
Seite des Herstellers diese (https://linux-sunxi.org/Device_Tree), diese (https://linux-sunxi.org/New_Device_page) und diese (https://linux-sunxi.org/New_Device_howto) Dokumentation anbietet, wenn ich das richtig verstanden habe. Keine Ahnung, ob Dir das hilft, aber vielleicht findest Du auf den Seiten
-
Thread
GDI von Windows, warum musste ein Drucker Fenster drucken können?
later have a configurable limit .... Overflowing GDI capacity can affect Windows itself, preventing new windows from opening, menus from displaying, and alert boxes from appearing. The situation can be difficult to clear and can potentially require a forced reset of the system, since it prevents core
Ausgabegerät. Nanos Weisheit: Die Anwendung erzeugt ein PostScript-Derivat, das Windows erst parsen und dann ebenfalls an Zeichenfunktionen verfüttern muss. Was glaubst Du, welcher der beiden Wege effizienter ist?
-
Thread
Gira tks-ip Gateway Problem, Freescale MCIMX27VOP4A
events for this erase block will not be printed Old JFFS2 bitmask found at 0x00017bb8 You cannot use older JFFS2 filesystems with newer kernels jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00020000: 0x4255 instead jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00020004
05er Image sehe ich vermehrt den Hinweis [code]Old JFFS2 bitmask found at 0x01bfb598 You cannot use older JFFS2 filesystems with newer kernels[/code] im Dateisystem finde ich die fallback.sh mit auszugsweise: [code]root=/dev/mtdblock2 rw rootfstype=jffs2 vi[/code] Das ist jetzt nur leider nicht
-
Thread
USB I2C Interface Hardware Software
411: "When clock stretching is required by the attached peripheral, it is strongly recommended to use the new I2C bridging devices from FTDI including the FT4222H and FT260 which have support for clock stretching functionality."
411: "When clock stretching is required > by the attached peripheral, it is strongly recommended to use the new > I2C bridging devices from FTDI including the FT4222H and FT260 which > have support for clock stretching functionality." Danke! Ich habe mich gerade etwas durch den MPSSE Code gewühlt
-
Thread
KiCad 6.0 ausgeliefert Gesperrt
major release of KiCad, and KiCad 6.0 no longer ships with example XSLT scripts. If you currently use XSLT scripts, please migrate to Python BOM scripts during the 6.x release cycle. > The SWIG Python API will be removed in a future release of KiCad and replaced with a new Python API. Users may continue to use the SWIG API and report bugs against it during the 6.x release cycle, but no new major features will be added to the SWIG API.
-
Thread
c# TcpListener mehrere IP-Adressen
view=net-6.0 Zitat: "AcceptTcpClient is a blocking method that returns a TcpClient that you can use to send and receive data. Use the Pending method to determine if connection requests are available in the incoming connection queue if you want to avoid blocking. Use the TcpClient.GetStream method
Für mein Verständnis musst du sowas in der Art machen: [c] TcpListener listener = new TcpListener(IPAddress.Any, Port); listener.Start(); while (true) { TcpClient client = listener.AcceptTcpClient(); clientThread = new Thread(...); clientThread.Start(); } [/c] merciless
-
Thread
ILDA Dateien auslesen in C#
überhaupt darstellt, und nicht weißt, was du mit dem Daten machen sollst, warum willst du da was parsen? Oliver
Offsets in der Spec sind 1 referenziert ( normalerweise beginnt man bei 0) [code] BinaryReader br = new BinaryReader(fs); byte[] header = new byte[32]; /* read header */ br.Read(header, 0, 32); if(header[0:4] != "ILDA") parse_error(); /* read format code offset 8 */ byte format_code =
-
Thread
Wechselrichter Hoymiles HM-xxxx 2,4 GhZ Nordic Protokoll?
the MI and DTU, but today morning I put it about 2-3 meters from two MI-1500 and now I waiting for new data, but the code use DWELL for channel scanning, so probaly I am losting some packages. If anyone need a specific channel scanner or sniffer or any other test, I can help in my spare
counts the number of retransmissions for the current transaction. > You reset ARC_CNT by initiating a new transaction. The PLOS_CNT counts the total number of retrans- > missions since the last channel change. You reset PLOS_CNT by writing to the RF_CH register. It is possi- > ble to use the information
-
Thread
Windows.auch nicht mehr so einfach.
wichtiges Stichwort wird im Punkt 1 genannt: HVCI. In dessen Kontext schreibt MS: "Because it makes use of Mode Based Execution Control, HVCI works better with Intel Kaby Lake or AMD Zen 2 CPUs and newer." Die Prozessorliste lässt darauf schliessen, dass Win11 HVCI mit MBEC zwingend voraussetzt. Allein
wenn du Befehle / Funktionen falsch schreibst ? Da meldet sich normalerweise der Compiler oder Parser statt der Sekretärin. Das wird bei dir von daher kommen.
-
Thread
Zustandsmaschine: Namensschemata
EnterpriseArchitect lassen sich hierarchische Diagramme erzeugen, das entspannt die Komplexität, pro UseCase ein Diagram. Das läßt sich sicher auch mit plantuml o.ä. ebenfalls lösen.
Enough Data\nLong State Name" as long1 long1 : Just a test [*] --> long1 long1 --> long1 : New Data long1 --> ProcessData : Enough Data } State3 --> State3 : Failed State3 --> [*] : Succeeded / Save Result State3 --> [*] : Aborted @enduml [/code]
-
Thread
Mehrere Livestreams auf Raspberry Pi
> #include <gst/gst.h> #include <inttypes.h> #include <stdbool.h> //TODO: use cameraURL instead of dummys const uint8_t cams[] = { 1, 2, 3, 4 }; GstElement *pipeline[(sizeof(cams)/sizeof(cams[0]))]; GtkWidget* newCamera(uint8_t pipeNum) { GtkWidget *video_window; GstElement *source, *depay, *parse, *decoder, *converter, *sink; pipeline[pipeNum] = gst_pipeline_new("pipe"); source = gst_element_factory_make("rtspsrc", NULL); g_object_set(source, "location", "rtsp://192.168.178.211
-
Thread
KiCAD nightly Install geht nicht mehr unter Windows 7
in Python and py.shell (default ON)." ON ) option( KICAD_SCRIPTING_WXPYTHON_PHOENIX "Use new wxPython binding (default OFF)." OFF ) option( KICAD_SCRIPTING_ACTION_MENU "Build a tools menu with registered python plugins: actions plugins (default ON)." ON ) [/pre]
KICAD_SCRIPTING_WXPYTHON=ON KICAD_SCRIPTING_WXPYTHON_PHOENIX=OFF KICAD_SCRIPTING_ACTION_MENU=ON KICAD_USE_OCE=ON KICAD_SPICE=ON
-
Thread
Arduino variable verstehen und löschen.
Wenn die als static angelegt wird, dann kann man die nicht ‚löschen‘. Das geht nur bei dynamisch mit new angelegten Instanzen.
zu übertragen, geht ja auch sehr einfach direkt mit printf/scanf, da muß man nichts kompliziert parsen.
-
Thread
STM32 USB Übertragungsproblem mit Code von S.F.
verwende (VIELEN DANK !!!!!!)) den USB hinbekommen. https://www.mikrocontroller.net/topic/486800#new Jetzt hab ich wieder ein Problem, bei dem ich nicht weiterkomme: Ich hab mehrere von diesen USB-Datenerfassungsmodulen gebaut, und hab schon mehrmals beobachtet, dass manche Exemplare komisches
hier auch schon mal ein Midi-Interface implementiert: https://www.mikrocontroller.net/topic/492254#new Auch dabei kam es zu keinen Problemen die mit denen von Axel zu vergleichen waren. Ich denke so lange nicht das Gegenteil bewiesen ist, wird der Fehler beim Takt oder einer anderen Stelle liegen
-
Thread
SPI für verteilte Systeme
es auch umgekehrt gehen, dann sollte also nichts mehr schief gehen: The slave may continue to place new data to be sent into SPDR BEFORE reading the incoming data. The last incoming byte will be kept in the buffer register for later use. Ich habe es ausprobiert: Ab einer bestimmten Baudrate (etwa
recht statisch, die ISV-Routine kann also das Ende der Nachricht leicht erkennen. Das eigentliche Parsen und Aufrufen wird dann aus dem Puffer in der loop gemacht. Nach Beendigung sendet der Slave ein kurzes Acknowledge mit Transaktions-ID und Antwort-Payload im Erfolgsfall, bei Checksum-Fehler die
-
Thread
c++ 11/14/17?
: > Siehe auch: > https://www.youtube.com/watch?v=-AQfQFcXac8 :-) Da wird einem ja schlecht: new / delete ;-)
? [c] #include <iostream> #include <vector> #include "myclasses.h" int main() { // use uniform initialization std::vector<MyClass1> v1{2}; std::vector<MyClass2> v2{2}; std::cout << v1.size() << '\n'; std::cout << v2.size() << '\n'; // use classic initialization
-
Thread
Wofür Propeller von Parallax ?
mode instead of LMM [ --fcache=N ] set FCACHE size to N (0 to disable) [ --fixedreal ] use 16.16 fixed point in place of floats [ --lmm=xxx ] use alternate LMM implementation for P1 xxx = orig uses original flexspin LMM xxx = slow uses traditional (slow) LMM
Zum Assembler mit/statt/gegen C bleib ich dabei: https://www.mikrocontroller.net/topic/509800?goto=new#6543243
-
Thread
Nutzung von F_CPU in ASM-Files
be defined as a pure integer without L or UL suffix to work with the assembler #error do not use floating point syntax! #endif [/c] Eine direkte Zuweisung per ASM-Direktive geht auch nicht, da meckert der Assembler ebenso! [pre] f_cpu_asm = F_CPU [/pre]
Assembler-Pendant zu <util/delay.h>. Aber das ist ja inline-Assembler, der 16000000ul über der C-Parser liest und offensichtlich versteht. Also streng genommen gar keine Assembler-Source.
-
Thread
Installation von AVRSTUDIO 4.19 bricht unter WIN10 ab
Installation We recommend you to uninstallAVR Studio properly before you install a new version. If you have modified any of the AVR Studio 4 installed files, they may not be overwritten/upgraded if a newer version is installed. Then make sure you uninstall before installing a new version
i.e. issues caused by hidden objects known as rootkits and virus. 4. Use an up to date antivirus and registry cleaner program that you are comfortable with. Also make routinely use of at least one of the free malware scanners AdAware and Spybot or similar. Finally, try some
-
Thread
was ist das besondere an der programmiersprache Python?
das anfängliche Python aus, viele Versprechungen, oh graus, da lief aber nichts. Ich nahm dann newLisp mit GUI und java(Server), das ging gut, möchte ich nicht missen. Aber nicht "direkt" mit einem Mikrocontroller. Dirk St
Sheeva P. schrieb im Beitrag #6492947: > Nein, sogar das ist dem Parser vollkommen wumpe -- jedenfalls, solange > es nicht in derselben Datei passiert. Also doch nicht wumpe. Ausser "wumpe" bedeutet für dich "zwingend erforderlich".
-
Thread
Linux wird nicht wirklich akzeptiert, woran liegt das ?
Deswegen z.B.: https://www.mikrocontroller.net/topic/503222?goto=new#new
mal live erleben will kann sich hier einlesen: https://www.mikrocontroller.net/topic/405173?goto=new#new max. 10 posts und JEDER Normaluser ist bedient bis an das Ende seiner Tage.
-
Thread
EleLa - Elektronik Lagerverwaltung V4.0
kann leider keinen Breakpoint auf die Funktion gdk_x_error() wie vorgeschlagen setzen: [code] [New Thread 0x7fffe99d8700 (LWP 9260)] [New Thread 0x7fffe91d7700 (LWP 9261)] The program 'EleLa.64' received an X Window System error. This probably reflects a bug in the program. The error was 'BadWindow
SQLite-DLL: 3.37.2 15:46:41 Database Version: V4.1.21B17 15:46:42 Database connected. 15:48:42 Test for new version
-
Thread
Potenzieren in csharp
Achtung, beim Parsen wird jetzt aber immer noch die lokale Kultur (wahrscheinlich DE?) verwendet! Bei ToDecimal kann auch die invariante Kultur angegeben werden. Wenn es hässlich ist, einfach in mehrere Zeilen aufteilen
InvariantCulture schrieb im Beitrag #6372930: > Achtung, beim Parsen wird jetzt aber immer noch die lokale Kultur > (wahrscheinlich DE?) verwendet hab ich geprüft, wird nicht.
-
Thread
Epidemiologischer Verlauf und Analyse von Krankheiten Teil 2 Gesperrt
/10/upshot/coronavirus-deaths-new-york-city.html
Ich schreibe von lockdown-Maßnahmen und deren nachgewiesener Wirksamkeit im Vergleich z. B. zu New York.
-
Thread
Auswertung eine boolschen Terms in JavaScript
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/eval#Never_use_eval!
s = arguments[0]; for (var i = 0; i < arguments.length - 1; i++) { var reg = new RegExp("\\{" + i + "\\}", "gm"); s = s.replace(reg, arguments[i + 1]); } if (printf_use_buffer) txb_write(s); else write(s); } [/code] Andere noch