-
Thread
Kicad: Fragen zu Bibliotheken
habt, habe ich nun Fragen zu Programm. alter Thread: https://www.mikrocontroller.net/topic/339509#new Auch wenn ich in den letzten Tagen viel Zeit mit Tutorials verbracht habe, bleiben noch Fragen offen ;-). Vielleicht könnt ihr etwas Licht ins Dunkel bringen. - Welchen Vorteil bringt das neue
Welchen Vorteil bringt das neue Dateiformat "Pretty" gegenüber dem > alten System mit lib und mod? New and improved bugs. Das alte System war sicher nicht gut, daher ersetzt man es durch ein schlechteres. > - Warum werden unter Kicad die Schaltplansymbole und die Footprints > getrennt gespeichert
-
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
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
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
Handycamera MCA-25 ansteuern - ip webcam mit mega32
wire tmp sensoren einlesen und loggen s.h. http://www.mikrocontroller.net/forum/read-4-248219.html#new dann hätte man den perfekten wetterserver mit livecam!
servo doch wenigstens ruckeln oder so. Das was mich so wundert ist das er ÜBERHAUPT NIX macht. USE_SERVO ist auf 1
-
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
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
Einfacher und billiger Webserver mit AtMega32
) mmc.c:54: error: 'MSTR0' undeclared (first use in this function) mmc.c:54: error: 'SPR00' undeclared (first use in this function) mmc.c:54: error: 'SPR01' undeclared (first use in this function) mmc.c:55: error: 'SPSR0' undeclared (first use
: error: 'SPIF0' undeclared (first use in this function) mmc.c: In function 'Write_Byte_MMC': mmc.c:169: error: 'SPDR0' undeclared (first use in this function) mmc.c:170: error: 'SPSR0' undeclared (first use in this function) mmc.c:170
-
Thread
Handykamera MCA-25 ansteuern
use in this function) mal gucken was da los ist. Viele Grüße Roland
code fuer den webserver:http://www.mikrocontroller.net/forum/read-4-251170.html#new
-
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
Unixtime zu Localtime OHNE Library
Jahren (uiii...) mal etwas gebaut/angepasst und gepostet: https://www.mikrocontroller.net/topic/109425#new In der Zip Datei sind zwei Files mit Routinen zum arbeiten mit Timestamps. Für Dich wäre wohl die Routine gettime(..) die Funktion der Wahl, rechnet einen Timestamp in eine Date/Time Struktur um
".txt" am Ende jeweils weglassen für JSON output. Für den µC ist aber plain-Text einfacher zu parsen, denke ich. Und ja: Da wird nicht wie bei NTP die Netzwerk-Latenz ausgeglichen. Auf <1 Sekunde Abweichung wird man aber trotzdem von fast überall her kommen..
-
Thread
ATmega328P Funktionsadresse in Register speichern und aufrufen
im Hintergrund permanent eingelesen. Der Parser muß also nirgends warten, sondern schickt gleich die Antworten. Als Schmankerl gibt es noch eine Autosend-Funktion. Der Master schickt dazu den Parameternamen und das gewünschte Intervall. Dann muß
, tendenziell machen alle globalen Variablen ohne Mutex Probleme. Und da man zum Beispiel kein "new Serial", oder "Serial val()" sondern "Serial.begin()" schreibt, wird es sicher irgendwo Kauderwelsch geben... Nutzen die in den Bibliotheken pthread?
-
Thread
Padauk MCU für 0.038 USD aus Taiwan
schon vor einiger Zeit jemand auseinandergesetzt: https://www.mikrocontroller.net/topic/449689#new
Währung gemeint ist, ist es ja auch sinnvoll, die Bezeichnungen Allerdings heisst die Währung auch "New Taiwan Dollar" (TWD).
-
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
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
EthernetUDP Zeit von Raspberry Zeitserver abholen,
Udp NTP Client Get the time from a Network Time Protocol (NTP) time server Demonstrates use of UDP sendPacket and ReceivePacket For more on NTP time servers and the messages needed to communicate with them, see http://en.wikipedia.org/wiki/Network_Time_Protocol created 4 Sep 2010
instance to let us send and receive packets over UDP EthernetUDP Udp; void setup() { // You can use Ethernet.init(pin) to configure the CS pin Ethernet.init(10); // Most Arduino shields //Ethernet.init(5); // MKR ETH shield //Ethernet.init(0); // Teensy 2.0 //Ethernet.init(20); /
-
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
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 Bash Datei in ein Pyton Programm überführen
Ist das nicht genau derselbe Quark wie hier? https://www.mikrocontroller.net/topic/579696#new
#7922247: > Ist das nicht genau derselbe Quark wie hier? > https://www.mikrocontroller.net/topic/579696#new Nein. Ähnlicher Kontext, aber andere Frage.
-
Thread
PIN-Code Algorithmus von Blaupunkt Radio
calc(w[8], calc(w[7], calc(w[6], w[9]))), calc(w[6], w[9]))), calc(w[5], w[0])) ].join(""); const parse = (prefix, serial) => (prefix+serial).split("").map(v => parseInt(v, 10)) // prefixes: // 7 612 300 5** - 300 // 7 612 330 5** - 330 // 7 612 360 5** - 360 // real codes found online, for tests
xread(fi, in, in_len, 0); if (in_len < out_len) { /* decompress - use safe decompressor as data might be corrupted * during a file transfer */ lzo_uint new_len = out_len; r = lzo1x_decompress_safe(in, in_len, out, &new_len, NULL
-
Thread
ATtiny13 und "mySmartUSB light" einfache ISP Programmierung funktioniert nicht!
frühreif... "R-T-F-AVR-T" (Meine zukünftige Standardantwort, kann der Admin die bitte in den Parser einbauen?) [/Frust] http://www.mikrocontroller.net/articles/AVR-Tutorial Hier geht es um den megaAVR, die Resetbeschaltung passt aber auch auf Tiny. Und benutze erst eine wirklich zuverlässige
(0x64) avrdude: initialization failed, rc=-1 Double check connections and try again, or use -F to override this check. [/code] Grüße, mythbu
-
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
Besteht Interesse an einfacher Experimentierplatine fuer den Xmega128a1? Gesperrt
bin auch Besteller dieser Platine.. MfG Achim http://www.mikrocontroller.net/topic/139529#new http://www.mikrocontroller.net/topic/16644#new http://www.mikrocontroller.net/topic/136702#new
Benutze deshalb meinen "alten" AVR ISP mkII. Siehe http://www.mikrocontroller.net/topic/123232#new
-
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
Transcend Wi-Fi SD Card - Technische Details / Hacken?
zu finden. [c] <*> Atheros mobile chipsets support < > Atheros ath6kl SDIO support (NEW) < > Atheros ath6kl USB support (NEW) [ ] Atheros ath6kl debugging (NEW) [/c]
max_req_size=32768 init bomb irq req irq 40 (1000000) req irq 43 (40) req irq 41 (43) ka_sdhc_drv_init use cmd9 preset val mmc0: card lacks mandatory switch function, performance might suffer. bw = 22 mmc0: new SD card at address 1234 wsd to sd wsd to sd umount: can't umount /mnt/sd: Invalid argument
-
Thread
Wer hat Erfahrung mit HAP?
-> CCU -> GUI-Symbol P.S.: siehe kurz vorm Ende http://www.mikrocontroller.net/topic/150234#new
head1 NAME hap-dbreorg.pl - The Home Automation Project delete old status item script =cut use warnings; use strict; use FindBin (); use Getopt::Long; use lib "$FindBin::Bin/../../lib"; use HAP::Init; my $c = new HAP::Init( FILE => "$FindBin::Bin/../../etc/hap.yml" ); my $Module = undef