-
Thread
C#: char array size im Laufzeit setzen
Zeile Hier mein Problem: Um die Zeichen im Char array zu schieben habe ich vorher eine char[]=new char[11] definiert. Ich habe also zum Begin ['0','0','0','0','0','0','0','0','0','0']. Wenn die Zeichen eingeschoben sind ZB die erste (00001) dann sehe ich ['0','0','0','0','1','0','0','0','0','
string s = "00001; 032145,0232; 23456; 05,014; 23,0312154; 2351458654;"; list<float> zahlen = new list<float>(); s = s.replace(" ", "" ); foreach( string ss in s.Split(";" ) { float f = float.Parse( ss ); list.add( f ); } jetzt hast du alles in der liste "zahlen" drin.
-
Thread
GPL und kommerzielle Nutzung ?
mit GCC tzu tun? GCC 4.1 (02-2006) Release Notes: · The old Bison-based C and Objective-C parser has been replaced by a new, faster hand-written recursive-descent parser. Für Ada/C++... wird das eh händisch gemacht da nicht LALR(1).
tzu tun? > > GCC 4.1 (02-2006) Release Notes: > > · The old Bison-based C and Objective-C parser has been replaced > by a new, faster hand-written recursive-descent parser. > > Für Ada/C++... wird das eh händisch gemacht da nicht LALR(1). 2-3 FAQ Punkte weiter unten trifft besser auf
-
Thread
MCURSES - Mini Curses Bibliothek für Mikrocontroller
ich würde noch diese Funktionen von PeDa einbauen. http://www.mikrocontroller.net/topic/101472#new oder UART library - Peter Fleury http://homepage.hispeed.ch/peterfleury/avr-software.html#libs Da ich Scanner und Parser immer selber schreibe, finde ich einen FiFo für die Serielle Ein-
http://www.mikrocontroller.net/topic/177030?page=1 http://www.mikrocontroller.net/topic/333923#new http://www.mikrocontroller.net/topic/348642#new Achtung bei älteren Links in obigen Threads: irgendwann ist Uwe von bralug.de nach bplaced.net umgezogen. Im AVR-Basic-Interpreter benutzt Uwe
-
Thread
3D-Array Port (natural range <>)
natural range <>, natural range <>, natural range <>) of std_logic; end pack; library IEEE; use IEEE.STD_LOGIC_1164.ALL; use IEEE.NUMERIC_STD.ALL; use work.pack.all; entity PackageTypedef is generic ( ca : integer := 4; cb : integer := 3; cc : integer :=
array_typ3 (ca downto 0, cb downto 0, cc downto 0) ); -- XST: Fehler / Synplify: OK / XST mit -use_new_parser yes: OK end PackageTypedef; architecture Behavioral of PackageTypedef is begin b1: for i in 0 to ca generate tt1(i) <= din(i); end generate b1; h1: for i in 0 to
-
Thread
Signal initialisieren
Du könntest den Test auch nochmal mit der XST-Option "-use_new_parser" durchführen. Duke
Duke Scarring schrieb im Beitrag #2284683: > Du könntest den Test auch nochmal mit der XST-Option "-use_new_parser" > durchführen. Kaum zu glauben. So ein wichtiger Schalter nicht in der GUI... :-/
-
Thread
Kann Daten in WIreshark nicht sehen
beiden Programmen verwende ich die gleiche IP-Adresse. Client: [c] ... TcpClient tcpclnt = new TcpClient(); tcpclnt.Connect("192.168.0.101", 8001); // use the ipaddress as in the server program ... [/c] Server: [c] ... IPAddress ipAd = IPAddress.Parse("192.168.0.101"); //use local m/c IP address, and use the same in the client /* Initializes the Listener */ TcpListener myList = new TcpListener(ipAd, 8001); ... [/c]
-
Thread
Brötje ISR Plus Kommunikation / LPB
there is an accumulation of heat power. 7- the shortest length of Hp-ON, in blue, is 8 minutes, the new setting of "2842". 8- the shortest distance of Hp-ON, in blue, is 10 minutes, the new setting of "2843". I am very Happy. Silvio. http://www.bing.com/maps/ 46.006120 12.704750
auf BSB_lan liegen, Support dafür gibt's im FHEM-Forum: https://forum.fhem.de/index.php?topic=29762.new;topicseen#new Gruß, F.
-
Thread
STM32 Eclipse Entwicklungsumgebung
ist mir noch folgendes: Unter der Anleitung YAGARTO wird beim C/C++ Build -Settings der GNU Elf Parser aktiviert und nicht wie im Demo-Projekt den Elf Parser. Welchen Unterschied haben diese Einstellungen ? Vielen Herzlichen Dank für die Unterstützung aller. Nun kommt noch die Knochenarbeit
Plugin for Eclipse http://sourceforge.net/projects/gnuarmeclipse/ über Eclipse -> Help -> Install New Software + Installation: GDB Hardware Debugging http://www.eclipse.org/cdt/downloads.php über Eclipse -> Help -> Install New Software wie auf dem ersten Bild von http://deneb.homedns.org/things
-
Thread
Bidirektionaler I/O will nicht
habe ich eben auch festgestellt. Hier nochmal der aktuelle komplette Code: [vhdl] library IEEE; use IEEE.STD_LOGIC_1164.all; use IEEE.STD_LOGIC_ARITH.all; use ieee.numeric_std.all; use IEEE.STD_LOGIC_UNSIGNED.ALL; -- -- onewirebit -- onewirebit is the implementation of the lowest protocol
ein Pegel wird das Signal ja immer haben... In der Hardware schon. Aber nicht im Simulator. > use IEEE.STD_LOGIC_ARITH.all; > use IEEE.STD_LOGIC_UNSIGNED.ALL; > use ieee.numeric_std.all; http://www.mikrocontroller.net/topic/161722 >>> WARNING:Xst:1710 - FF/Latch <invalue> has a constant
-
Thread
Buderus EMS-"Gateway" mit PIC18F / Sammelbestellung
sense that they not only act when a service is requested, but also when events like time-outs or new packets arrive. The Stack is modular in design and written in the C programming language. Typical implementations will use 30-60 Kbytes of code ..." ... und da ist noch kein HTTP-Server dabei
als C10 hab ich einen Elko genommen, + an den Eingang. Wichtig ist: www.ebay.de/itm/5pcs-New-SOP8-SO8-SOIC8-TO-DIP8-adapter-PCB-conveter-board-/171071352965
-
Thread
Wittig(welec) DSO W20xxA Open Source Firmware (Teil4) Gesperrt
so many and such that I make it hard to use the oscilloscope. It is as if I were using a new DSO and I have to read the instruction manual for understand how to use it. Options and settings are significantly increased compared to a few previous
Sonntag Hayo and guys all! @Hayo and all who involved in the Welec project: I installed the new 1.2.BF.3.0_C4 release and I played with it. For the way I use the DSO I have not found defects, the new 1.2.BF.3.0_C4's release works like a charm. It is fast, stable and for me it is also a lot less
-
Thread
XMega bleibt "hängen"?
t AccelRaw_i16_m1024__1g[3]; int32_t AccelVectorLength; uint8_t UseAccelForFilterFlag = 1; int16_t GyroRaw_i16_m14d375__deg_d_s[3]; int32_t FilterWeight = 41; // Complementary filter weighting value int32_t
"); freemem = get_mem_unused (); Debug_i16 (freemem); Debug_Str ("\n"); // Check for new LIS values if (UpdateLISSensorValues ()) { Debug_Str ("LIS: "); freemem = get_mem_unused (); Debug_i16 (freemem); Debug_Str ("\n"); if ( (AccelVectorLength > (629146
-
Thread
20Euro Embedded System mit ARM, 128MB ram und 256MB Flash
war das grafikfähige übrigens ein vt240. Ansonsten: http://www.mikrocontroller.net/topic/187115#new
5 [ 146.671339] usb 1-1.2: New USB device found, idVendor=0403, idProduct=6001 [ 146.678265] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber =3 [ 146.685635] usb 1-1.2
-
Thread
Elektronik Lager und die vielen Kisten (Verwaltung)
Component already exist. Want you goto this record? Strings.26=Component already exists. Do you want to use this record? frmMain.spBestelltFilterHint=Filter on the current status frmMain.spBestelltFilterHint=Filter on current status Strings.45=Insert a new description, please: Strings.45=Enter
das die 4te. Hier mal das, was es sonst so gibt: 1.) http://www.mikrocontroller.net/topic/89071#new 2.) http://www.mikrocontroller.net/topic/158404#new 3.) http://www.mikrocontroller.net/topic/135284#new Warum tut Ihr Euch nicht zusammen?
-
Thread
Vodafone Webby Webradio
Linux Plug and Play Support v0.97 (c) Adam Belay SCSI subsystem initialized usbcore: registered new interface driver usbfs usbcore: registered new interface driver hub usbcore: registered new device driver usb NET: Registered protocol family 2 IP route cache hash table entries: 1024 (order: 0,
xdevel.com:8232 (La città dei suoni e della parole) Picked the second one for now. Enjoy! :) Happy New Year (& Epifania)!
-
Thread
Wittig(welec) DSO W20xxA Open Source Firmware (Teil3) Gesperrt
stable, the trigger works fine even at high frequencies and in all circumstances!!! Is really how to use a different DSO, a new DSO!!! No words, RESPECT!!! Gute Sonntag an alle Vielen Dank!!! Gruß Luc
Avarage on -> 195 Frames/min This is really very impressive! As I already got to write, the new firmware is light years away from the Welec, it is another world. It is as how to use a different DSO, a new more better DSO! RESPECT and thank You very much Hayo!!! Hayo W. schrieb: >Was ganz
-
Thread
Open source Autoradio
unter Windows als RS232-Port erkannt. Ich hab mein Board gerade mal kurz angesteckt: usb 2-1.4: new high speed USB device using ehci_hcd and address 6 usb 2-1.4: New USB device found, idVendor=045b, idProduct=0020 usb 2-1.4: New USB device strings: Mfr=0, Product=0, SerialNumber=3 usb 2-1.4: SerialNumber
sicher mit einem VirtualBox. > Ich hab mein Board gerade mal kurz angesteckt: > > usb 2-1.4: new high speed USB device using ehci_hcd and address 6 > usb 2-1.4: New USB device found, idVendor=045b, idProduct=0020 > usb 2-1.4: New USB device strings: Mfr=0, Product=0, SerialNumber=3 > usb 2-1.4
-
Thread
[KiCad] Bibliotheksaufbau - Konzeptideen gesucht
Martin S. schrieb im Beitrag #1731936: > Schuh mit dem Parser Naja, der "Parser" ist bisher kaum mehr als ein "grep DEF" in Python-Form. Der nächste Schritt wäre das Herstellen von Grafiken, um auch mal was zu sehen. Ansonsten das Einlesen in eine DB. (Aber
. Das Parsing von kicad->XML ist fuer Libraries schon relativ weit fortgeschritten, dank SimpleParse. Kann/sollte bald mal ins SVN... Gruesse, - Strubi
-
Thread
CP/M auf ATmega88
dmm_vga.c:150: error: 'PB2' undeclared (first use in this function) ../dmm_vga.c: In function 'main': ../dmm_vga.c:215: error: 'PD5' undeclared (first use in this function) ../dmm_vga.c:215: error: 'PD6' undeclared (first use in this function)
Basis des Z180 gibt es jetzt einen einen Thread. http://www.mikrocontroller.net/topic/329265?goto=new#new
-
Thread
Basic-Interpreter auf einem AVR
java verwenden und auf der nanovm lauffen lassen ?? aka http://www.mikrocontroller.net/topic/29337#new lg roman
ifndef __UBASIC_CONFIG_H__ #define __UBASIC_CONFIG_H__ // AVR-spezifischen einschalten #ifndef USE_AVR #define USE_AVR 1 #endif // regulaere Standardausgabe #if USE_AVR #define PRINTF(...) usart_write(__VA_ARGS__) #else #define PRINTF(...) printf(__VA_ARGS__) #endif // grml
-
Thread
Syntaktische Analyse mit Flex/Bison
und was soll die stmt_seq da sein? > jmp_stmt: JMP '('label_stmt')' stmt_seq END > {$$ = newStmtNode(JmpK); > $$->child[0] = $3; > $$->child[1] = $5; > } Das denke ich nicht. Bei einem Jump kannst du dir beim Parsen nur merken, wie das Label heisst, welches es anzuspringen
and compiler.l from the below links. flex-bison.http://bitbucket.org/matrix/changed-tiny If i use this input to parse a = 5; b = 6; print(a); scan(b); compiler.y works fine and output the parse tree. I am facing the problem to parse the if condition in the above compiler.y when But i run
-
Thread
Pollin MOTOROLA VIP1710
@Martin V.: Thanks for the new version how can i use the languages in the etc folder? in osd vdr i only can use english the plugrc have a bug .. we should add this before mounting mnt rw --- rm /etc/fstab
after making an new channel list use telnet on the IP of the box and type "sync" before rebooting the box. CAOS
-
Thread
Proxyserver per Java auslesen (PAC Script)
Programm, dass die default Proxysettings des Systems ausliest: [code] System.setProperty("java.net.useSystemProxies", "true"); List l; try { l = ProxySelector.getDefault().select(new URI("www.google.com")); Proxy proxy = (Proxy) l.get(0); ... [/code] Diese Variante funktioniert ausgezeichnet
gemacht). Ein alternativer Weg wäre die Adresse des Skriptes aus der Registry zu lesen und selbst Parsen. PS: Ja ich weis das damit (mit Registry und Co.) die Plattformunabhängigkeit weg ist, Java ist aber vorgegeben. Danke im Vorraus
-
Thread
USB IR Remote Receiver (V-USB + IRMP)
For this I uploaded a beta for Atmega168(p) and Atmega8. Flash this HEX file on the device and use the new included 'USB_IR_Remote_Receiver_Demo.exe' from the archive. Each received IR code will be stored in a text file 'IRMP_Log.txt' located in the same folder like the exe. This text file can be
on my receiver anymore as I've finally installed it into my HTPC, so I'm sorry but I can't try the new hexfile. After a few more tries I gave up trying to make the RC6 PowerOn function work, so I programmed RC5+RC6 codes and currently use another remote (RC5) to power ON/OFF the HTPC. But I can tell
-
Thread
IRMP - Infrared Multi Protocol Decoder
es: [code]int main(void) { uchar i; wdt_enable(WDTO_2S); /* Even if you don't use the watchdog, turn it off here. On newer devices, * the status of the watchdog (on/off, period) is PRESERVED OVER RESET! */ DBG1(0x00, 0, 0); /* debug output: main starts */
IRMP_USE_CALLBACK # define IRMP_USE_CALLBACK 0 // 1: use callbacks. 0: do not. default is 0 #endif #endif /* _WC_IRMPCONFIG_H_ */ [/c] Frank M. schrieb im Beitrag #2749332
-
Thread
IEEE.STD_LOGIC_ARITH.ALL obsolete
Von mir aus: [VHDL] LIBRARY IEEE; use IEEE.std_logic_1164.all; --use IEEE.std_logic_unsigned.all; --use IEEE.std_logic_arith.all; use IEEE.NUMERIC_STD.ALL; [/VHDL]
Klaus S. schrieb im Beitrag #6603396: > Seitdem sehen meine Header soLIBRARY IEEE; > USE IEEE.STD_LOGIC_1164.ALL; > USE IEEE.STD_LOGIC_SIGNED.ALL; > USE IEEE.NUMERIC_STD.ALL; > oder so ausLIBRARY IEEE; > USE IEEE.STD_LOGIC_1164.ALL; > USE IEEE.STD_LOGIC_UNSIGNED.ALL; > USE IEEE.NUMERIC_STD.ALL
-
Thread
Einfacher Interpreter für Komandozeilen/Befehlszeilen
156: error: 'UCSRC' undeclared (first use in this function) ../AVR_CMD_INTERFACE.c:158: error: 'UBRRH' undeclared (first use in this function) ../AVR_CMD_INTERFACE.c:158: error: 'UBRRL' undeclared (first use in this function) make: *** [
Kommandozeilen Interpreter zu machen. Zu finden unter hier : http://www.mikrocontroller.net/topic/175946#new Bei meinem Parser ist die Syntax frei wählbar (also nicht beschränkt af Befehl Op1, Op2, Op3, Op4, Op5), ebenso die Anzahl der maximal möglichen übergebenen Parameter ist einstellbar. Ansonsten
-
Thread
Was ist aus dem Thread der MeteoData geworden? Gesperrt
http://www.mikrocontroller.net/topic/61886#new
aktuellen Daten der letzten vier Tage einfach auf eine HTML-Seite. Die kann dann jeder der möchte, parsen. Brauch nicht viel Bandbreite.