-
Thread
ATMEL SAM3X8 (Arduino Due) printf auf beliebiges Device umleiten?
application code */ while (1) { } } [/c] Toolchain -> ARM/GNU Linker -> General [pre] [x] Use Size optimized library (--specs=nano.specs) Additional Specs: Use syscall stubs [/pre] Toolchain -> ARM/GNU Linker -> Miscellaneous [pre] Linker Flags: -Tsam3x8e_flash.ld -lc -u _printf_float
erneuter Google Suche den Thread hier im Forum: https://www.mikrocontroller.net/topic/359573?goto=new#new Und dort steht, daß man den Stackalign auf 8 ändern soll. gesagt, getan. Die letzte Zeile in "meinem" File: sam3xaflsch.ld geändert von: /* Stack starts at end of ram */ _estack
-
Thread
Code unleserlich schreiben um Zeilen zu sparen.
// light on > ; wo ist da eigentlich der Vorteil zu plain C? [c] #define NEW_CMD (0x1b) prog_uint8_t INIT[] = { NEW_CMD, 'T','C', 0, // text cursor off NEW_CMD, 'D','O', 2, // rotate 180° NEW_CMD, 'F','D', 8, 1, // display color NEW_CMD, 'F','Z', 8, 1, // text color NEW_CMD, 'D','L', // display clear NEW_CMD, 'Y','Z', 0, // no delay NEW_CMD, 'Y','H', 100 // light on } /* Bzw, wenn die vielen '' stören: */ #define CMD(x,y) 0x1b, 'x', 'y
-
Thread
Buch für C-Einstieg
einen heissen Tipp? Hier wird eins verkauft: https://www.mikrocontroller.net/topic/449644?goto=new#new C - Programmieren von Anfang an, 5 EUR AVR - Hardware und C-Programmierung in der Praxis, 20 EUR VB
für dich dabei? (Nein, ich habe nix mit dem zu tun). https://www.mikrocontroller.net/topic/449644#new
-
Thread
Python für wissenschaftliche Projekte?
Beitrag #5383276: > Weiss jemand den Grund für Python für wissenschaftliche Projekte? Ease of use. Außerdem wird dort alles was nicht Spielzeuggröße hat dann eh' mit dicken Tools wie Tensorflow auf der GPU berechnet. Und für das reine Datenhandling zur Graka ist Python schnell genug.
https://stackoverflow.com/questions/27318631/parsing-through-a-csv-file-in-qt > > Zwar nur CSV parsen, aber nicht ineffizient. Ich verstehe wirklich nicht, wovon du redest. Das sind doch schon deine 60 Zeilen, und du hast *nur* das "np.loadtxt(test.csv)" ersetzt. Von FFT, Plot oder Export ist da
-
Thread
Bild im Hexdump finden
i found 3+12 images with maximum size: 0x00190 0x00c6 0x0190 or 400 198 400 But i still cant parse data :( Maybe RLE?
Yes, i use 8M2T-14C026-ED (flash) + 8M2T-14C026-CE (ROM) I have a typo in the header, it should be like this: 0x000000FF 0x01000000 0x00000000 I attached an Excel file, where I explain how to parse a file
-
Thread
VBA - lahmarschiges Makro beschleunigen, aber wie?
the-process-of-designing-a-product/ "When we were designing Excel 5.0, the first major release to use serious activity-based planning, we only had to watch about five customers using the product before we realized that an enormous number of people just use Excel to keep lists. They are not entering
#5373080: > will man es ganz primitiv dann meinetwegen CSV oder XML XML wird erst recht lahm zu parsen sein.
-
Thread
Art der if-Auswahl nur Geschmackssache?
noch nicht so > eine eigene Denkfähigkeit haben die Denkfähigkeit beeinträchtigt, Zwar sind Parser natürlicher Sprachen wesentlich flexibler als die von Programmiersprachen, kommen aber trotzdem manchmal an ihre Grenzen.
> ldi r24,lo8(127) > std Y+1,r24 > ist keine Zuweisung? >lo8(x) ist die Operation (das Parsen) vor der Zuweisung und entspricht ((x)&0xff) >lo8(127) zeigt aber, dass das nicht alles ist, denn >~0x80 ergibt in dem von dir erwähnten Fall nie >127 sondern 65407. Ich denke du mischt 8
-
Thread
Erfahrungen mit KiCAD von Eagle-Wechslern Gesperrt
einen Schaltplan erstellen zu können (s. hier https://www.mikrocontroller.net/topic/447570?goto=new#new). Er hat sich, so wie er schreibt, schon bemüht einen Faden zu KiCAD zufinden, aber es scheint ja schon am simplen Verbinden von einer Handvoll Bauteilen mit Leiterzügen zu scheitern. An dieser
sondern eins der Gewohnheit. > (s. hier > https://www.mikrocontroller.net/topic/447570?goto=new#new). Er hat sich, > so wie er schreibt, schon bemüht einen Faden zu KiCAD zufinden, aber es > scheint ja schon am simplen Verbinden von einer Handvoll Bauteilen mit > Leiterzügen zu scheitern
-
Thread
Sipdial per ESP8266 an Fritzbox
tagid = Random(); branchid = Random(); } } else { cseq = 2; if ( ParseParameter(caRealm, 128, " realm=\"", p) && ParseParameter(caNonce, 128, " nonce=\"", p)) { // using output buffer to build the md5 hashes // store the md5 haResp to end
; AddSipLine("Content-Length: 0"); AddSipLine(""); caRead[0] = 0; SendUdp(); } // parse parameter value from http formated string bool Sip::ParseParameter(char *dest, int destlen, const char *name, const char *line, char cq) { const char *qp; const char *r; if ((r = strstr(
-
Thread
Brauche Unterstützung beim OV7670 (bzw. SCCB)
<- GND Power-Down fixed for testing * HREF -> A6 Start of new line in Videoframe * VSYNC -> A7 Start of new Videoframe * PCLK <- D3 Pixel clock !USE LEVEL-SHIFTER! * D0 -> A0 Videodata LSB * D1 -> A1
<- GND Power-Down fixed for testing * HREF -> A0 Start of new line in Videoframe * VSYNC -> A1 Start of new Videoframe * PCLK <- D3 Pixel clock !USE LEVEL-SHIFTER! * D0 -> D8 Videodata LSB * D1 -> D9
-
Thread
Erfahrungen mit Platinen von JLCPCB / EasyEDA
Fred dafür. Am besten da posten, bin gespannt. -> https://www.mikrocontroller.net/topic/481503#new
ich denke digikey etc haben genug Auswahl auf Lager. https://support.jlcpcb.com/article/192-how-to-use-jlcpcb-global-sourcing-parts-service
-
Thread
Wärmezähler über optische M-Bus-Schnittstelle auslesen
#[/c] Übersetzt gitpod mit folgenden Options in der der user_config_override.h: [c]#ifndef USE_SCRIPT #define USE_SCRIPT #endif #ifndef USE_SML_M #define USE_SML_M #endif #ifdef USE_RULES #undef USE_RULES #endif #ifndef SML_BSIZ #define SML_BSIZ 200 #endif #ifndef USE_SML_SCRIPT_CMD #define USE_SML_SCRIPT_CMD #endif #ifndef USE_SCRIPT_JSON_EXPORT #define USE_SCRIPT_JSON_EXPORT #endif #ifndef USE_SCRIPT_WEB_DISPLAY #define USE_SCRIPT_WEB_DISPLAY #endif[/c]
-
Thread
Lagerverwaltung Part-DB V0.4.x
Grüße, nach einer neu istalation beckomme ich den Fehler: Use of undefined constant DOKUWIKI_PERMS_FILENAME - assumed 'DOKUWIKI_PERMS_FILENAME' wenn ich auf Konfiguration gehe. Woran könnte es liegen? lg Leubi
DATENBANKNAME`.* TO `BENUTZERNAME`@localhost IDENTIFIED BY 'PASSWORT'; quit mysql -u BENUTZERNAME -p use DATENBANKNAME; quit --- von dem GRANT ALL konnte ich im phpMyAdmin nichts sehen...
-
Thread
VHDL Grundlagen : Rechnen
/simple_bench/data U : Driver Implicit process at D:/vhdl/inout_sim/inout_sim.srcs/sources_1/new/simple.vhd:6 1 : Driver /simple_bench/line__23 at D:/vhdl/inout_sim/inout_sim.srcs/sim_1/new/simple_bench.vhd:23
through the hierarchy to a top-level output pin without connecting to any other design logic. If you use boundary tri-states in a lower-level block, synthesis software must push the tri-states through the hierarchy to the top level to make use of the tri-state drivers on output pins of Altera devices.
-
Thread
FPGA DEV Board
gibt da einen länglichen Thread dazu: https://www.mikrocontroller.net/topic/fpga-iot-maker-board#new Wenn es Xilinx+Vivado sein sollen, dann wäre für einen Einstieg das "Arty Artix-7 35T FPGA Evaluation Kit" vermutlich ganz gut geeignet. Preislich wohl eher schon etwas grenzwertig. Beide Boards
aber keinen Grund, warum man's nicht > zum Laufen kriegen sollte. Jepp. Um z.B. für den S3E den Parser vom Spartan6 zu verwenden muß im .xst die Zeile "-use_new_parser Yes" ergänzt werden. Möglicherweise sind aber in der "ISE 14.7/Windows 10" weitere Sprengfallen versteckt, die eine Nutzung für Spartan
-
Thread
CMU200 Erfahrungen und Modifikationen
************************ New features compared to V5.15 1. support of new CMU hardware boards: CMU-B21v14 1135.4580.02 CMU-B66/B68 1135.5070.53 Digital Board 1100.1956.05 and product index: >=10.02 2. new SW option CMU-K49 2G continuous sync 3. selftest internal loopback supports new frontends (1100.3120.02, product index >=10.03) Bug fixes compared to V5.15 > > Wenn Du in der Richtung
-
Thread
"sauberer" Aufbau einer Anwendung
Vorteil der OOP-Sprachen in Grenzen. Beispielsweise gibt es meist keinen > Sinn, das Rad VL mit new zu erzeugen oder von einer virtuellen Klasse > "Rad" abzuleiten. Objektorientierung erschöpft sich nicht in der Vererbung. In dem konkreten Beispiel reicht es, eine Rad-Klasse zu erstellen -- denn
interessant, wenn man irgendein in tiefster Tiefe vergrabenes behaviour aushebeln muss, das den konkreten Use-Case verunmöglicht. Natürliche Antwort : "Da kann man nichts machen!" ist IoC!
-
Thread
Letzte Aktion erkennen
anchor = poti; PWM = Serial.parseInt(); } else if (usePoti) { PWM = poti; } } [/c]
Sven schrieb im Beitrag #5092385: [c] //Wenn der neue AD-Wert ungleich des alten ist... if(new_Poti_value != old_Poti_value) [/c] Genervter schrieb im Beitrag #5092671: > usePoti = usePoti || abs(poti - anchor) >= stickiness; Oder du änderst die Zeile um und fügst eine Abweichung ein
-
Thread
Unterschied zwischen bei Compiler MPLAB® C und MPLAB® XC
Instantiates output packet fields. Uses same report size and count as "Input" fields, since nothing new/different was specified to the parser since the "Input" item. 0xC0} // End Collection }; //Array of configuration descriptors ROM BYTE *ROM USB_CD_Ptr
Vbus. Therefore, implementing this // bus sense feature is optional. This firmware can be made to use this bus // sense feature by making sure "USE_USB_BUS_SENSE_IO" has been defined in the // HardwareProfile.h file. #if defined(USE_USB_BUS_SENSE_IO) tris_usb_bus_sense = INPUT_PIN;
-
Thread
Eagle bewegt sich
dann macht doch hier weiter: https://www.mikrocontroller.net/topic/autodesk-eagle-8.0-ist-da?goto=new#new
gültig ist (von mir getestet). Man geht einfach auf „Go offline“ (EAGLE Premium License for commercial use. Local license expires in 14 days.)
-
Thread
Methoden geerbter Klassen mit unterschiedlichen Rückgabewerten
main () { std::vector<std::unique_ptr<Param>> params; { // Variante 1, mit setValue auto newParam = std::make_unique<ParamInt> (); newParam->setValue (std::stoi ("42")); params.push_back (std::move (newParam)); } { // Variante 2, mit Konstruktor auto newParam = std::make_unique<ParamInt> (std::stoi ("21")); params.push_back (std::move (newParam)); } { // Variante 3, mit template auto newParam = std::make_unique<ParamGeneric<double>> (std::stod ("10.5")); params.push_back (std::move (newParam)); } for (auto& p
-
Thread
Firefox nervt mit Hinweis - wie abschalten?
Here’s how to disable Firefox insecure password warnings: 1. Open a new tab, paste about:config into the address bar and hit enter. 2. If you see the “This Might Void Your Warranty” page, click the blue “I accept the risk!” button. Understand we are manually modifying
Beitrag #4930978: > Here’s how to disable Firefox insecure password warnings: > > 1. Open a new tab, paste about:config into the address bar and hit > ent................ vielen dank. hat mir auch sehr geholfen. wusste nicht mehr wie das aufzurufen ist. danke
-
Thread
Problem mit WampServer und Https
# exist in your server's namespace, but do not anymore. The client # will make a new request for the document at its new location. # Example: # Redirect permanent /foo http://www.example.com/bar # # Alias: Maps web paths into filesystem paths and is used to
/IfModule> # # The mod_mime_magic module allows the server to use various hints from the # contents of the file itself to determine its type. The MIMEMagicFile # directive tells the module where the hint definitions are located. # #MIMEMagicFile conf/magic
-
Thread
Horizon EDA [War: Neues, halbfertiges Elektronik-CAD-Programm]
[ebuild N ] net-libs/http-parser-2.8.1:0/2.8.0::gentoo USE="-static-libs" ABI_X86="32 (64) (-x32)" 50 KiB [ebuild N ] dev-cpp/tbb-2017.20161128::gentoo USE="-debug -doc -examples" ABI_X86="32 (64) (-x32)" 2.897 KiB [ebuild
'. * Use eselect news read to view new items. These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild N ] net-libs/cppzmq-0_pre150606::gentoo 4 KiB
-
Thread
RS485 bus mit Fleury Uart
beim Parsen) sparten, oder?
deinen Oszi-Bildern aber ganz anders aus! Mit Bias-Widerständen dürfte es den "verbotenen" Pegel in NewFile0.bmp und NewFile1.bmp nicht geben.
-
Thread
for(;;) bedeutung?
sinnvolle und zielführende > Fehlermeldung für den Programmierer liefern zu können... Yep. Der Parser einer schüsselwortbetonten Sprache merkt schneller, dass er auf dem Holzweg ist, als der Parser einer Sprache, in der fast alles irgendwie Sinn ergeben könnte und es erst eine halbe Zeile später offenkundig
zurückgibt und das andere nicht - genau das selbe sind, komplett unterschiedlich benennt. > Yep. Der Parser einer schüsselwortbetonten Sprache merkt schneller, dass > er auf dem Holzweg ist, als der Parser eine Sprache, in der fast alles > irgendwie Sinn ergeben könnte und es erst eine halbe Zeile später
-
Thread
tl866cs GAL22v10d mit Linux Software minipro brennen
einlesen kann. Gruss Holger. Den Gal Compiler als zip. http://www.mikrocontroller.net/topic/52529#new
Ja, stimmt. Da scheint kein .jed parser dabei zu sein. k.A. wie du das am einfachsten konvertieren kannst. Das .bin file scheint auch nicht wirklich binaer zu sein, weil er mit ftell() die /bytes/ zaehlt.... Ist aber schnell geschrieben
-
Thread
Neues LTspiceXVII offiziell verfügbar
> Sym. & Lib. Search Paths Message from the author in the LTspice Yahoo group: The major new release of LTspice is today. LTspice XVII is partial rewrite of LTspice IV with a modern graphics library for native multi-monitor support. XVII also includes: - 64-bit support - UNICODE (use any character of any living language) - New device equations(IGBT, diode soft recovery, and an arbitrary state machine) - Improved GUI: Editors for most SPICE commands - Extensions to
-
Thread
GGA wird nicht mitgespeichert
off updates on antenna status, if the firmware permits it GPS.sendCommand(PGCMD_NOANTENNA); useInterrupt(true); Serial.println("Ready!"); } // Interrupt is called once a millisecond, looks for any new GPS data, and stores it SIGNAL(TIMER0_COMPA_vect) { char c = GPS.read(); //
if (c) Serial.print(c); } // if a sentence is received, we can check the checksum, parse it... if (GPS.newNMEAreceived()) { char *stringptr = GPS.lastNMEA(); if (!GPS.parse(stringptr)) // this also sets the newNMEAreceived() flag to false return; // we
-
Thread
VHDL Error "cannot index the result of a type conversion"
blinker <= not blinker after 500 ms; Oder sowas hier: http://www.lothar-miller.de/s9y/archives/79-use_new_parser-YES.html > Zur Info: > Fehler tritt schon beim Wechsel von AD14->AD15 (nicht AD16) auf. Ich kenne auch 2 Synthesizer, die das nicht können... > Ich habe mal noch einen AD-Support-Case
-
Thread
OOP - für was in aller Welt soll denn das gut sein?
auch. Dann musste ich feststellen, das damit auchnoch eine Überprüfung eingebaut wurde, ob man es mit new aufgerufen hat. Dass muss sein, weil super eingefürt wurde, welches kurzform für new.target.prototype.constructor ist, wobei new.target nur gesetzt ist, wenn mit new aufgerufen. Ich würde gerne solche
must be invoked with |new| [/c] Man hätte new.target und super auch anders auflösen können, aber so wie es jetzt ist, ist es ein unlösbares Problem. Dabei hätte ich so tolle Anwendungsmöglichkeiten dafür gehabt, wenn ich
-
Thread
Speichern von verschiedenen Messwerten auf SD-Karte
millisecond, and read data from the GPS for you. that makes the // loop code a heck of a lot easier! useInterrupt(true); delay(1000); // Ask for firmware version mySerial.println(PMTK_Q_RELEASE); } // Interrupt is called once a millisecond, looks for any new GPS data, and stores it SIGNAL
// BESCHLEUNIGUNGSSENSOR // if a sentence is received, we can check the checksum, parse it... if (GPS.newNMEAreceived()) { // if (GPS.fix) { /* Display the results (acceleration is measured in m/s^2) */ Serial.print(event.acceleration.x); Serial.print
-
Thread
Funktionsgeneratir mit USB Schnittstelle per microcontroller programmieren
ASCII Format schicken? Ja, und ganz im Ernst, das ist die übliche Vorgehensweise. Dem SCPI-Parser im Zielgerät ist es im Allgemeinen vollkomen wurscht woher er die Befehle bekommt. Das geht sogar soweit dass mehrere Teilnehmer über verschiedene Schnittstellen (oder über mehrere TCP-Verbindungen
daß debian mit aktuellen Updates sauber funktioniert https://www.mikrocontroller.net/topic/397439#new
-
Thread
FT800 / FT810 Library
of FT8xx also has to be selected in FT8_config.h. You did not say which display from Riverdi you use. I only have a profile for RVT70AQxxxxxx so far, if you do not use one of these you need to use one of the other profiles and tweek it, best would be to copy one of the blocks under a a new name.
Hi there, How can I display an image with new library in old FT 800 series? There no setbitmap command... also, I remember taht "FT80x is gone" so, what can I do, if I have to use old FT800? When i use yours example: [c] #define IMG1_ADR
-
Thread
goto verpönt - was dann nehmen?
return true; } } return false; } static u16_t tcp_new_port(void) { static u16_t port = TCP_LOCAL_PORT_RANGE_START; do { if (port++ >= TCP_LOCAL_PORT_RANGE_END) port = TCP_LOCAL_PORT_RANGE_START; } while(port_is_in_use(port));
; > } while(port_is_in_use(port)); > return port; >} Das hat wieder das Zeug zur Endlosschleife. >/* > * tcp_new_port(): > * > * A nastly hack featuring 'goto' statements that allocates a > * new TCP local port