-
Thread
Elektor Vorschau 15 W verstärker nur aus OPV´s
!!! Ein NE5532 kann 600R Lasten treiben. 10Veff and 600R ergibt einen Spitzenstrom von rund 24mAs. Wenn ein NE5532 600R Lasten treiben kann, dann braucht man rund 600R/8R = 75 Stück um eine 8R Last treiben zu können. Kai Klaas
> 38mA, bei hohen Sperrschichttemperaturen wahrscheinlich deutlich unter > 30mA. 64 x 30mA ist 1,9As, also 1,3Aeff. An einem Impedanzdip von 3R > können also maximal 5W umgesetzt werden. Bei einer rein ohmschen Last > von 8R und geschönten Verhältnissen sind es dagegen rein rechnerisch > 24W.
-
Thread
GNUBLIN www.gnublin.org
Hallo, die Spannungen werden von AS1324 erzeugt. Ich glaub 0,6V höher muss die Spannung sein. Für die 1,8V und 1,2V ist das kein Problem. Mit etwas weg löten und Brücken einbauen kann man auch mit 3,3V die Schaltung versorgen.
.: enabled Wieso wird eigentlich /dev/video0 verwendet und nicht input: UVC Camera (046d:0825) as /devices/platform/lpc-ehci.0/usb1/1-1/1-1:1.0/input/input0 ? Das Device habe ich neulich nach der Anleitung von Phil J. angelegt. Gruß Rudi
-
Thread
Embedded / Hardware - Raum München
Wüll mal in älteren Forumsthread: https://www.google.de/search?hl=de&as_q=Embedded+Firmen+M%C3%BCnchen&as_epq=&as_oq=&as_eq=&as_nlo=&as_nhi=&lr=&cr=&as_qdr=all&as_sitesearch=mikrocontroller.net&as_occt=any&safe=images&as_filetype=&as_rights=#hl=de&as_qdr=all&q=Suche+Firmen
-
Thread
Seltsames Verhalten einer HD
and with larger timing/positioning margins than ordinary user data. The drive then uses those marks as its position reference for the rest of its life. 2. **There is massive spatial redundancy.** The head does not rely on one “servo block.” It sees servo wedges many times per revolution, on every
describe rewriting or correcting servo sectors under controlled conditions, but this is not the same as a user-level refresh and is not generally exposed to the OS. ([Google Patente][5]) The important difference from user data is this: **user data can be read, ECC-corrected, and rewritten elsewhere;
-
Thread
Habe Timer Problem
Db7 = Porta.0 , E = Porta.4 , Rs = Porta.5 Config Lcd = 24 * 2 Initlcd Cursor Off Dim Minuten As Byte Dim Sekunden As Byte Dim Zeit1 As Byte Dim Zeit2 As Byte Config Timer1 = Timer , Prescale = 256 Const Timervorgabe = 3036 On Timer1 Timer_irq Enable Interrupts Minuten = 0 Sekunden
hwstack = 32 $swstack = 20 $framesize = 40 $baud = 9600 Config Portb.3 = Input Dim Minuten As Byte Dim Sekunden As Byte Sekunden = 0 Config Timer1 = Timer , Prescale = 256 Const Timervorgabe = 3036 Timer1 = Timervorgabe On Timer1 Timer_irq Enable Interrupts Do If Pinb.3 = 1 Then
-
Thread
Picoamperemeter Elektor
vom AATIS sehr zufrieden. Und der Preis passt ins Hobbybudget. https://www.aatis.de/content/bausatz/AS608_pA-Messverst%C3%A4rker
im aati-Dokument viel besser aus. Siehe hier: http://dl3hrt.darc.de/AATiS-Praxisheft_28-Dateien/AS608-Aufbauhinweise.pdf Und Flussmittelreste sieht man auch noch bei Dir. Gründlichst! abwaschen und dann die Platien mindestens über Nacht auf einen Heizkörper trocknen lassen. Du bist zufrieden
-
Thread
Ohne Passwort Windows Dateien einsehen.
für einfache Office-Rechner älteren Datums akzeptabel schnell. Manche Mikrocontroller haben ja sogar AES-Beschleunigung :)
Zahlenreihen liefert Es ging ja um die Beschleunigungsfunktionen für die HDD-Verschlüsselung, also die AES-NI Befehle. Da spielen Zufallszahlen keine Rolle, das Ergebnis der AES-Verschlüsselung ist deterministisch, man kann also Prüfen, ob die CPU dasselbe Ergebnis wie eine andere oder eine Software-Implementation
-
Thread
2 Eingänge 2 Ausgänge
warten am ausgang geht nicht... [c] $regfile "m8def.dat" $crystal = 8000000 Dim Status_taste_auf As Byte Dim Status_taste_zu As Byte Dim Zaehler As Word ' Pinkonfiguration ************************************************************* Eingang_auf Alias Pind.0 Eingang_zu Alias Pind.1 Ausgang_auf
eine optimale lösung ist...? [c] $regfile "m8def.dat" $crystal = 8000000 Dim Status_taste_auf As Byte Dim Status_taste_zu As Byte Dim Zaehler As Long ' Pinkonfiguration ************************************************************* Eingang_auf Alias Pind.0 Eingang_zu Alias Pind.1 Ausgang_auf
-
Thread
bascom uhr-datum
Alias Portd.2 Led2 Alias Portd.3 On Timer1 Timer_irq Const Timervorgabe = 3036 Dim Ijahr As Integer Dim Imonat As Integer Dim Itag As Integer Dim Istunde As Integer Dim Iminute As Integer Dim Isekunde As Integer Ijahr = 2008 Imonat = 9 Itag = 25 Istunde = 10 Iminute = 7 Isekunde
Alias Portd.2 Led2 Alias Portd.3 On Timer1 Timer_irq Const Timervorgabe = 3036 Dim Ijahr As Word Dim Imonat As Byte Dim Itag As Byte Dim Istunde As Byte Dim Iminute As Byte Dim Isekunde As Byte , Letzte_sekunde As Byte Dim Monat_array(12) As Byte Monat_array(1) = 31 Monat_array(2)
-
Thread
LED-Blitzer mit Bascom und ATtiny13
Config Print0 = Portb. 0 , Mode = Set Config Pinb. 0 = Output 'set the direction yourself Dim Resp As String * 10 [/pre] Aber im Zweifel: DDRD = &H20 oder DDRD = &B00100000
500000 $hwstack = 32 $swstack = 10 $framesize = 40 Config PortD = Output Dim Warten as Byte Dim Zuwarten as Byte Warten = 150 Zuwarten = 250 Do PortD = &B0010000 Waitms Warten PortD = &B0000000 Waitms Zuwarten . Loop End
-
Thread
Font von 6x8 auf 12x16 ändern in bascom / S65
Zeichen gespeichert. Hier der Code zum auslesen eines Zeichens: [pre] Sub S65_zeichen(byval Lx As Byte , Byval Ly As Byte , Byval Bcol As Word , Byval Fcol As Word , Byval Lcd_text As String * 1) Local R As Integer Local A As Byte Local B As Byte Local C As Long Local D As Byte Local E As
pset) Ausserdem läufts bei mir mit Hard-SPI. Gruss Gerhard Sub S65_big_zeichen(byval Lx As Byte , Byval Ly As Byte , Byval Bcol As Word , Byval Fcol As Word , Byval Lcd_text As String * 1) Local A As Byte Local B As Byte Local D As Byte Local E As Byte Local Ee As Byte Local F As Byte
-
Thread
Code from 328pdef to Attiny45
the chip Start Adc 'With STOP ADC, you can remove the power from the chip 'Stop Adc Dim W As Word , Channel As Byte Config Portb.5 = Output Dim X As Integer Dim Y As Integer Dim Z As Integer Dim T As Integer X = 0 Y = 0 Z = 0 'now read A/D value from channel 0 Do Z = 0
[pre] Dim W As Word , Channel As Byte Config Portb.5 = Output Dim X As Integer Dim Y As Integer Dim Z As Integer Dim T As Integer X = 0 Y = 0 Z = 0 'now read A/D value from channel 0 Do Z = 0
-
Thread
Bascom GETKBD Routine ändern
so ist, dann mußt Du das Byte, in das GETKBD seine Werte hinein- schmeißt, umdrehen. Dim Erwin as Byte Dim Erwin_umgedreht as Byte Erwin=Getkbd() Erwin_umgedreht.0 = Erwin.7 Erwin_umgedreht.1 = Erwin.6 . . . Erwin_umgedreht.7 = Erwin.0 Print "MfG Paul"
riesen Problem wäre da ne kleine Funktion dazwischen zu klabustern ... funktion get_keyboard () as byte local z as byte local y as byte Portx =0 portx.4 = 1 z=pinx and &B11101111 y=0 if z=0 portx.4 = 0 portx.5 = 1 z=pinx and &B11011111 y=1 endif if z=0 portx.5 = 0 portx.6 = 1
-
Thread
Aufwandschätzung für Cross-Assembler
Du koenntest Dir den "Macroassembler AS" anschauen (lass Dich nicht durch den generischen Namen taeuschen): http://john.ccac.rwth-aachen.de:8000/as/ Der unterstuetzt bereits so um die verschiedene 50 Prozessoren, vielleicht ist Deiner
Ich würde http://john.ccac.rwth-aachen.de:8000/as/cpulist.html verwenden und eine Woche Urlaub machen. Robert
-
Thread
AS6: "Failed to start debugging session."
Schon mal AS6 geschlossen und neu gestartet? Ich habe manchmal selbiges, allerdings kommt vorher noch eine Fehlermeldung "Bad Allocation" oder so. AS6 schliessen und wieder starten dauert, aber hilft...
mein Dragon auf - bisher war alles mit Neustarts/stromlos-machen reparabel. Allerdings mache ich mit AS6 nur den AVR32f für die 8-bitter nehme ich noch AVR-Studio 4.
-
Thread
89C51 & RTL8019AS
Got a P89C668 working with a RTL8019AS. Sources in C and in Bascom-8051. UDP, Telnet and webserver all working at the same time on the same board. check http://members.home.nl/bzijlstra
Hello If you are looking for a source for the RTL8019AS, check www.edtp.com. At the moment they are selling 10 B-choice for 20 dollar 10 pieces. Thats 1,65 euro a piece.... Bye Ben Zijlstra http://members.home.nl/bzijlstra
-
Thread
[VB.nwt] option As String -> Wie parametrieren?
folgendes deklarieren: [code] Public Class DefaultProductAttribute Public Property id As Integer Public Property name As String Public Property option As String End Class [/code] Natürlich geht das nicht, wegen dem Bezeichner "option". Da aber im Code der Bezeichner
-
Thread
Punkte eines Kreises berechnen
x1 += a; x2 -= a; if (fgcolor != NONE) glcdLine2(x1, y1, x2, y2, fgcolor); uint16_t as = a * a, bs = b * b; int32_t dx = 0, dy = as, ee = bs; dy *= b; ee += as / 4; ee -= dy; dy += dy; while (dx < dy) { if (fgcolor != NONE) glcdSetPixel4(x1, y1, x2,
x2++; a++; dx += bs; dx += bs; ee += dx; } dy -= as; dy -= as; ee += as; ee -= dy; } } void glcdEllipse(glcdCoord_t x1, glcdCoord_t y1, glcdCoord_t x2, glcdCoord_t y2, glcdColor_t fgcolor, glcdColor_t bkcolor) { if
-
Thread
ATmega328P Funktionsadresse in Register speichern und aufrufen
stack, it takes 3 bytes * instead of 2 for the other ATmega* chips. * * Store 0 as the top byte since we force all task routines to the bottom 128K * of flash. We do this by using the .lowtext label in the linker script. * * In order to do this properly, we would
soon. */ *pxTopOfStack = 0; pxTopOfStack--; #endif /* Next simulate the stack as if after a call to portSAVE_CONTEXT(). * portSAVE_CONTEXT places the flags on the stack immediately after r0 * to ensure the interrupts get disabled as soon as possible, and so ensuring
-
Thread
komische Mail 1 Jahr nach eBay-Kauf
und "we ask that you provide withdrawal of the equipment from the market and provide sales records as soon as possible". Habt ihr sowas schon mal erlebt? Die Email-Adressen scheinen mir echt zu sein, von daher ist es wohl kein Scam. Andererseits würde ich erwarten, dass da ein Brief kommt, wenn es
"we ask that you provide withdrawal of the > equipment from the market and provide sales records as soon as > possible". > Klingt jetzt nicht sooo unplausibel. War das vieleicht ein Prototyp von irgendwas? Da haben es Unternehmen durchaus nicht gern, wenn sowas nach aussen dringt weil das mit
-
Thread
Lichtschranke mit Zähler
www.order.conrad.com/cgi-perl/lshop.cgi?action=showdetail&wkid=1267994838&ls=d&nc=&rubnum=d63.at48.i51.as72&artnum=153470&file=&gesamt_zeilen=Tshowrub--d63.at48.i51.as72&shop= http://www.order.conrad.com/cgi-perl/lshop.cgi?action=showdetail&wkid=1267994838&ls=d&nc=&rubnum=d63.at48.i51.as72&artnum=153805&file=&gesamt_zeilen=Tshowrub--d63.at48.i51.as72&shop= Und als IR Emitter diesen? http://www.order.conrad.com/cgi-perl/lshop.cgi?action=showdetail&wkid=1267994838&ls=d&nc=&rubnum=&artnum=153741&file=&gesamt_zeilen=0Tsuche--IR%20Emitter%20850nm
-
Thread
AD-Wandler Messrate und Auflösung
sehr genau messen. Der weiter oben genannte https://www.sciosense.com/wp-content/uploads/documents/AS6040_SC-000854-DS-2-1.pdf sieht nach einer 1-Chip Lösung aus.
erkennen können möchtest. Der andere Baustein https://www.sciosense.com/wp-content/uploads/documents/AS6040_SC-000854-DS-2-1.pdf kann Zeitbereiche zwischen 10 us und 1 ms messen, also zwischen 100 kHz und 1 kHz. Das aber mit einer besseren Auflösung von 22 ps.
-
Thread
Probleme mit "falschem Hacker"
Dictionary attacks work because many computer users and businesses insist > on using ordinary words as passwords. Modern dictionary attacks use a > wordlist as a base then try combinations of words and permutations with > common substitutions, such as replacing an "e" with a "3." These tools > can
steckt im Sumpf der ständigen Abwärtskompatibilität. Wenigstens hat mit dem Open Document Container AES256 einzug gehalten.
-
Thread
GPL und kommerzielle Nutzung ?
Selbstkostenpreis) zu bekommen. Insbesondere heisst das, daß du · Freie Software verkaufen kannst ("Free as in /freedom/ not as in /free beer/ "). · Ein Dritter, die die Binaries nicht (auf rechtmässigem Wege) von der bekommen hat, hat kein Anrecht auf die Quellen. Du kannst Software /mit/ GPL-Software
Lizenzen verwenden und nicht-OSS dagegen linken 3), zum anderen wird eine LGPL-Ausnahme vereinbart "As a special exception to the GNU Lesser General Public License version 2.1, the object code form of a "work that uses the Library" may incorporate material from a header file that is part of the Library
-
Thread
VBnet/VS2020 - Konvertierungsproblem / Format Exception String -> Integer/Byte
das falsche Format."[/code] Das ganze sieht so aus: [code]Public Class Form1 Public v1 As Integer Public v2 As Byte = Convert.ToByte(v1, 16)[/code] und hier tritt der Fehler auf: [code]Private Sub Button3_Click(sender As Object, e As EventArgs) Handles Button3.Click Dim
BYTESUB1 As Byte 'soll substring1 als byte sein Public BYTESUB2 As Byte 'soll substring1 als byte sein[/code] ##Code im Button# [code] Private Sub Button1_Click(sender As Object, e As EventArgs) Handles
-
Thread
Erfahrungen zu B&R?
diesbezüglich vorhanden sind. Ich habe im letzten Jahr die folgenden Kurs im HQ Eggelsberg absolviert: AS Training: Basic AS Workshop: IEC61131-3 ST & LAD AS Training: Speicher/Datenverwaltung AS Training: Motion AS Workshop: Integrierte Antriebstechnik (Mehrachssysteme) Insgesamt 10 Tage am Stück
vorhanden sind. > > Ich habe im letzten Jahr die folgenden Kurs im HQ Eggelsberg absolviert: > AS Training: Basic > AS Workshop: IEC61131-3 ST & LAD > AS Training: Speicher/Datenverwaltung > AS Training: Motion > AS Workshop: Integrierte Antriebstechnik (Mehrachssysteme) > > Insgesamt 10 Tage
-
Thread
8 Kanal Dimmer - Softwarefrage
Config Timer0 = Timer , Prescale = 8 On Timer0 Dimmer_isr Enable Timer0 Enable Interrupts Dim A As Byte Dim I As Byte Dim Zuendwinkel_triac1 As Byte Dim Zuendwinkel_triac2 As Byte Dim Zuendwinkel_triac3 As Byte Dim Zuendwinkel_triac4 As Byte Dim Zuendwinkel_triac5 As Byte Dim Zuendwinkel_triac6 As Byte Dim Zuendwinkel_triac7 As Byte Dim Zuendwinkel_triac8 As Byte Dim Zuendtimer As Byte Zuendtimer = 174 ' 250 Interrupts innerhalb einer Halbwelle
-
Thread
Diskussion zum Artikel "Single Chip Frequenzumrichter" für den 2. MC Wettbewerb
DEAD_TIME_HALF is used as deadband, and the resulting deadtime * will be DEAD_TIME_HALF clock cycles times 2. * * \param compareValue desired compare value * \param compareHighPtr Pointer used to return high side compare
Zettel. ok, habe ich mittels vb-programm probiert: Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click Dim i, step_width, zg, st_length As Integer step_width = TextBox2.Text st_length = TextBox1.Text
-
Thread
Problem mit Bascom
ich hab in Bascom diesen Code geschrieben: $regfile = "attiny13.dat" $crystal = 1200000 Dim B As Byte Dim I As Integer Open "comd.0:19200,8,n,1" For Input As #2 For I = 1 To 60 B = Inkey(#2) If B = 126 _ Then Else If B = 255 _ Then End If End If
$regfile = "attiny13.dat" $crystal = 1200000 $hwstack = 8 $swstack = 2 $framesize = 5 Dim B As Byte Dim I As Integer Do Open "comb.0:19200, 8,n,1,Inverted" For Input As #1 Open "comb.1:19200, 8,n,1,Inverted" For Output As #2 Do B = Inkey(#1) Loop Until B > 0
-
Thread
Arbeiten am Projekt
a common place which is constantly in front of us as to what should have happened by particular dates. This will give us visibility and help us to keep on track or find ways to catch up if we are slipping behind. I have discussed with you all over the
Daniel D. schrieb im Beitrag #4863898: > Gentlemen, > As I have stressed several times this year ( and last) we MUST meet > every deadline on our projects. Das ist oftmals nicht mehr als ein frommer Wunsch. > This is not negotiable. Die Realität
-
Thread
Welchen Sinn hat dieser Widerstand
aufgibt. Das habe ich aber bisher noch nicht beobachtet, und die in den Oszillatoren verwendten GaAs-Transistoren sind auch schon kräftiger, als die der Eingangsstufen.
NXP und STM nichts im Programm, das hinsichtlich der Rauschzahl den > kompletten 5 Euro LNBs mit GaAs das Wasser reichen könnte. BFU910F Hemts ihr nix anderes zu tun?
-
Thread
Mit VB 2005 Express einen AVR mit RTL8019AS steuern
Ne2000_init , Ne2000_poll , Ne2000_udp_tx 'Dimention some variables for the libary. Dim Host_mac(6) As Byte Dim Host_ip(4) As Byte Dim Host_port As Word Dim My_mac(6) As Byte Dim My_port As Word Dim My_ip(4) As Byte Dim Udp_data(128) As Byte At &H270 'overlay the string s over the array Udp_data() just to make things easy later. Dim S As String * 128 At &H270 Overlay 'helper varible Dim X As Byte Init: ' include the waitms 10 even if you don't have a LCD as the cls will load the required ' _waitms routine from the MCS.LBX
-
Thread
AVR231: AES Bootloader Frage zu "TYPE_PREPARE" Record
} part1; #if KEY_COUNT > 0 struct { unsigned char m_tempbuf[256]; // Temp buffer for aesInit. } part2; #endif } sharedbufs; #define rxBuffer sharedbufs.part1.m_rxBuffer #define pageBuffer sharedbufs.part1.m_pageBuffer #if KEY_COUNT > 0 #define tempbuf sharedbufs.part2.
-
Thread
AMS AS5600 Problem bei Sensorauswertung 0..5V
Ich betreibe einen AS5600 Winkelsensor an einem Arduino am Analog-Eingang. Der Sensor liefert 0..5V je nach Winkel; der Arduino macht daraus 0..1024 (10 Bit A/D-Wandler) Ansich ganz einfach und schnell aufgebaut, aber der
The connector board permits a simple and quick assessment of the AS5600 revolving attractive position sensor in the lab or along with a current framework https://www.dqfansurvey.org/
-
Thread
SatDump Hilfe
probes. * Live decoding of supported satellite links such as APT, LRPT, HRPT, LRIT, HRIT and many more. * Image and data decoding from satellites such as NOAA 15-18-19, Meteor-M, GOES, Elektro-L, Metop, FengYun, etc. * Calibrated and georefrenced L1b products output on select satellites, such as Sea Surface Temperature, Microphysics, etc. ready to use for scientific applications such as numerical weather forecasts. * Support for projecting the satellite imagery over a map, including
-
Thread
xmega USART Baudrate
/#define BAUDRATE 115200 #define BAUDRATE 921600 PORTE.DIRSET = PIN3_bm; // PE3 (TXE0) as output. PORTE.DIRCLR = PIN2_bm; // PE2 (RXE0) as input. USARTE0.CTRLA = USART_RXCINTLVL_MED_gc; USARTE0.CTRLB = USART_RXEN_bm | USART_TXEN_bm; USARTE0.CTRLC = USART_CMODE_ASYNCHRONOUS_gc
// Baudrate 921600 - normal speed mode bei 32MHz PORTE.DIRSET = PIN3_bm; // PE3 (TXE0) as output. PORTE.DIRCLR = PIN2_bm; // PE2 (RXE0) as input. USARTE0.BAUDCTRLA = 150; USARTE0.BAUDCTRLB = 0b10010000; USARTE0.CTRLA = USART_RXCINTLVL_HI_gc; USARTE0.CTRLB = USART_RXEN_bm
-
Thread
Leiterplatten von Hristo Ginov
zdravei i as nosia familiata ginov as sam ot sofia a ti
>zdravei i as nosia familiata ginov as sam ot sofia a ti Hallo, ich auch heisse Ginov und bin selber aus Sofia und Du?
-
Thread
VB Express 2008 Timer
Sub txtTextToSend_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles txtTextToSend.TextChanged End Sub Private Sub TemperaturIst_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs)
gibt eine Überladung von Read für den Umgang mit Byte-Arrays: Public Function Read ( _ buffer As Byte(), _ offset As Integer, _ count As Integer _ ) As Integer und von Write ebenso. Musst halt mal in der MSDN oder Online-Hilfe lesen.
-
Thread
Wie feststellen in C, ob Zahl grade oder ungrade?
capable of representing values from 0 to 2^N - 1 using a pure binary representation; this shall be known as the value representation. The values of any padding bits are unspecified.
> fast_int8_t_promoted_to_int_equals_fast_int8_t_promoted_to_int_divided_by_two_multiplied_by_two_as_fast_int8_t > (fast_int8_t a) >[/c] Mit Sicherheit nicht, weil C nach dem 31. Zeichen bei Funktionsnamen (und Variablen) nicht mehr unterscheidet.
-
Thread
Bleiakkus parallel laden, in Serie betreiben
charger would enter its final >maintenance charge very quickly in order to not overcharge the battery, as >it charges at all stages at a higher amperage. Again, it would work, but >for your case a G7200 would do just fine for both the 100Ah battery and the smaller one as well.
The way you have it set up is actually very efficient and will create a > better balanced system as opposed to attempting to charge all four at the > same time with a 48V charger. Wie schon oben beschrieben (Rückmeldung NOCO), macht schnelleres Laden von Akkus dieser Größe keinen Sinn.
-
Thread
Warum Keil (oder andere unfreie Compiler) statt SDCC?
mir einfach mein Geschriebenes > wegstreichen? Ein C-Compiler darf (nicht: muß!) Dinge unter der as-if-Regel streichen, wie das im C-Standard vorgesehen ist. Wenn Du den C-Standard nicht kennst, d.h. Du kannst kein C, ist das Dein Problem und nicht das des Compilers.
Klar, der C-Standard äußert sich nicht zu Optimierungen, die sind da "out of scope", da gilt die "as if"-Regel.
-
Thread
Elektronisches Roulette CD4017
AS116 aus dem AATiS-Praxisheft 16. Lange ists her. Sehr lohnenswertes Heft, da auch ein Beitrag von mir drin ist. :-)
Walter T. schrieb im Beitrag #6748415: > AS116 aus dem AATiS-Praxisheft 16. Lange ists her. Sehr lohnenswertes > Heft, da auch ein Beitrag von mir drin ist. :-) Deine Bescheidenheit rührt mich.
-
Thread
klassische Netzteil-Berechnung Gesperrt
C hat nicht die Einheit As, sondern As/V. Damit stimmen dann auch die Einheiten in der letzten Zeile.
ArnoR schrieb im Beitrag #4374323: > C hat nicht die Einheit As, sondern As/V. Damit stimmen dann auch > die > Einheiten in der letzten Zeile. Danke.
-
Thread
Serielle Kommunikation zwischen Python und µC
(ser.readline()) else: ser.write(str(chr(13))) except Exception as e: print(e) [/c]
print(ser.readline()) > else: > ser.write(b"1") > except Exception as e: > print(e) > [/c] Besser: [code] try: ser = serial.Serial(...) except Exception as e: print(e) # oder traceback.print_exc() sys.exit() while(ser.isOpen()): try:
-
Thread
Hilfe! VB 2010 Express
Imports System.IO.Ports Public Class Form1 Private Sub TextBox1_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TextBox1.TextChanged End Sub Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
SerialPort1.Close() End If End Sub Private Function SerialPort1() As Object Throw New NotImplementedException End Function Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click SerialPort1
-
Thread
php: bestimmte Werte aus array
($array as &$value) { foo_bar($value); } [/code]
Format? Dann sparst du dir das ganze umwandeln in PHP. SELECT DATE_FORMAT(datenspalte, 'format') AS datum
-
Thread
Kennt ihr bessere Alternativen zu GNU bc (basic calculator) für die Konsole?
paar nützliche Module automatisch laden: $PYTHONSTARTUP: [pre] from math import * import numpy as np import matplotlib.pyplot as plt from scipy import constants as const from pprint import pprint as pp [/pre] Das erfüllt deine Anforderungen wie folgt: 1. help(x) 2. pp(locals()), auch
schrieb im Beitrag #6936757: > > $PYTHONSTARTUP: > [pre] > from math import * > import numpy as np > import matplotlib.pyplot as plt > from scipy import constants as const > from pprint import pprint as pp > [/pre] > ...(gekürzt) Danke, ich werde das mal mit Python ne Weile versuchen.
-
Thread
ST Visual Develop STM8 compiler error - was mach ich falsch?
for(i = 0; i < ms; i++){ nop(); } } } void main() { GPIOC->DDR|=(1<<7); //PD3 as Output GPIOC->CR1|=(1<<7); //PD3 as Push Pull initADC(); while(1){ uint16_t adc_value = readAnalogValue(); if(adc_value > 0){ GPIOC->ODR |= (1<<7);//turn PD3 on delay_ms
for(i = 0; i < ms; i++){ nop(); } } } void main() { GPIOC->DDR|=(1<<7); //PD3 as Output GPIOC->CR1|=(1<<7); //PD3 as Push Pull initADC(); while(1){ uint16_t adc_value = readAnalogValue(); if(adc_value > 20){ GPIOC->ODR |= (1<<7);//turn PD3 on
-
Thread
Warum gibt es keinen Euro-Schuko Adapter mit FI drin?
Schuko-Adapter mit FI im Adapter, also quasi sowas: http://www.baustoffpiraten.de/beleuchtung-led/1923-as-schwabe-personenschutzstecker-personenschutz-stecker-fi-schalter-leitung.html mit Euro-Stecker eingangsseitig?
auch im Link, den ich im Eröffungspost hatte: > http://www.baustoffpiraten.de/51378-thickbox_default/as-schwabe-personenschutzstecker-personenschutz-stecker-fi-schalter-leitung.jpg > Nur eben nicht mit Eurostecker Eingangsseitig. Sehr Gut, hatte ich zuerst nicht gesehen.
-
Thread
Beurteilung meines Sicherheitskonzeptes | Raspberry Server
eigenes ersetzt und denkst jetzt das ist sicherer? > Weiterhin wird jede Kommunikations mittels AES-Encryption verschlüsselt. > Somit dürfte ich von Angriffen von einem "Man In The Middle" > weitestgehen geschützt sein. AES authentifiziert das Gegenüber nicht. Gegen MITM-Angriffe hilft das also
von einem Verschlüsselungsverfahren wie bpsw. AES und dem verwenden eines bewährten Programms wie gnupg oder dessen Libs das sich für die Verschlüsselung und Entschlüsselung bewährt hat. Du fütterst gnupg mit einer Datei und raus kommt das entschlüsselte