-
Thread
Windmesser 4-20mA
über den ADC vom Atmega32 auswerte. Hier die Berechnung aus dem Bascom Codeauszug: Dim ADCWert As Word Dim Volt_ausgabe As Single dim DivWert as single dim OffSet as single dim Factor as single dim WindMS as single dim KMh as single dim LCDStr as String * 16 ______________________________
-
Thread
Entprellen (kein AVR) Gesperrt
Karl B. schrieb im Beitrag #6218862: > AVR hat da noch ein As im Ärmel: Das T-Flag. Gegenüber den Möglichkeiten des C-Flags beim 8051 sieht das T-Flag schlichtweg erbärmlich aus und nicht wie ein Ass. Man kann keine IO-Bits nach T moven, verodern, anden oder
Peter D. schrieb im Beitrag #6218893: > Karl B. schrieb: > AVR hat da noch ein As im Ärmel: Das T-Flag. > > Gegenüber den Möglichkeiten des C-Flags beim 8051 sieht das T-Flag > schlichtweg erbärmlich aus und nicht wie ein Ass. Man kann keine IO-Bits > nach T moven, verodern
-
Thread
89C2051 Bascom Reset durch RS232 !
das Proggi für den Micro: $regfile = "89c2051.dat" $crystal = 11059200 $baud = 9600 Dim A As Byte Dim C As Byte Print "Xport RS232 I/O Extension V1.0" Print "(c) JK 04/2005" Print " " Print "Aux2=p1.6, Aux1=P1.5, CPU=P1.4, P1.3= RI, P1.2=BW, P1.1=LE, P1.0=FW" Print "" P1 = 0 Do A =
a as byte dim a_Str as string*1 If A <> 0 Then A_str = Chr(a) select case A_str
-
Thread
Bascom + RC5
4194304 $baud = 9600 $lib "mcsbyte.lbx" Config Rc5 = Pind.2 Enable Interrupts Dim Address As Byte , Command As Byte Print "Waiting for RC5..." Do Config Pind.2 = Input Getrc5(address , Command) If Address = 0 Then Print Address ; " " ; Command End If Loop End
Probier mal das Programm aus. Config Rc5 = Pind.2 Portd.2 = 1 Enable Interrupts Dim Address As Byte , Command As Byte Print "Waiting for RC5..." Do Getrc5(address , Command) Print Address Print Command Loop End MFG Dieter
-
Thread
Eigenartiges Verhalten von Li-Batterien
viele "Sendezyklen" dieser liefern kann. Das habe ich mit dem LIC versucht. Dieser speichert 70As. Werden die Batterie entnommen, arbeiten der Funksensoren noch einige Minuten während Kontakte ständig geöffnet und geschlossen werden. Der im Diagramm https://www.mikrocontroller.net/attachment/
erreicht. _Das liegt im Bereich der rechnerischen Abschätzung_ : 2 x 2,6 Ah = 5,2 Ah = 18720 As Ein Telegrammaustausch verbraucht 0,5 As => 18720 x 2 = 37440 Derher sollten ca. 37000 Telegramme ausgetauscht werden können. Rechnet man den Grundverbrauch des MSP430 im Sleep-Modus und die
-
Thread
Fraunhaufer: Volksverschlüsselung
einNetzwerk > darstellt. Daten werden aber sehr selten asymmetrischer Verschlüsselt. Sie werden z.b. per AES verschlüsselt und das ist am ende wieder nur ein "Passwort". Dafür muss man nicht mal mit Primzahlen rumrechnen.
[...] bevorzugt TLS mit RSA- und AES- oder Camellia-Verschlüsselung [...]
-
Thread
Kondensator gesucht, Abmaße wichtig
von TI findet sich der klare Hinweis: Ceramic capacitors can be used, but due to their low ESR (as low as 5 mΩ to 10 mΩ), they may not meet the minimum ESR requirement previously discussed. If a ceramic capacitor is used, a series resistor between 0.1 Ω to 2 Ω must be added to meet the minimum ESR
6A66 schrieb im Beitrag #2876491: > Ceramic capacitors can be used, but due to their low ESR (as low as 5 mΩ > > to 10 mΩ), they may not meet the > > minimum ESR requirement previously discussed. If a ceramic capacitor is > > used, a series resistor between 0.1 Ω > > to 2 Ω must be
-
Thread
Attiny13A Stromverbrauch im Standby vermindern - wie?
// Enable Pin Change Interrupts PCMSK |= _BV(PCINT3); // Use PB3 as interrupt pin PCMSK |= _BV(PCINT1); // Use PB1 as interrupt pin // ADCSRA &= ~_BV(ADEN); // ADC off //ACSR = (1<<ACD); ADCSRA &= ~(1<<ADEN);
// Disable interrupts PCMSK &= ~_BV(PCINT3); // Turn off PB3 as interrupt pin PCMSK &= ~_BV(PCINT1); // Turn off PB1 as interrupt pin sleep_disable(); // Clear SE bit // ADCSRA |= _BV(ADEN);
-
Thread
winAVR + atmega328pb
iom8a.h> # #elif ... # # If no device macro is defined, AVR-LibC uses __AVR_DEV_LIB_NAME__ # as fallback to determine the name of the device header as # # "avr/io" + __AVR_DEV_LIB_NAME__ + ".h" # # If you provide your own specs file for a device not yet known to # AVR-LibC, you can now
grundschüler schrieb im Beitrag #4642339: > studio geht nicht Mit AS6.2 klappt es nicht, den 328PB direkt zu verwenden. Mit AS7 ist es hingegen kein Problem: einfach auswählen. Wie Du immer wieder angedeutet hattest, dürfte ein Cortex-M0 letztlich die bessere Wahl
-
Thread
Messung von Einzelevents mit 100ps zeitlicher Auflösung
brauche in einer Periode eher so 10-100 Ereignisse. Dann reichen ja 100 TDCs aus :-) Sieh Dir den AS6501 an, ob er für die gewünschte Pulsfrequenz schnell genug ist. Wenn nicht, rechne aus, wieviel Du von diesen Teilen brauchst. Der Rest ist Fleißarbeit.
deine Impulse im Abstand schneller als 10µs, funktioniert das natürlich nicht. Dann kannst du noch den AS über LVDS auslesen aber auch da brauchst du Zeit zum Auslesen, das Fifo ist begrenzt. Suchst du etwas käufliches, suche nach "Time Interval Analyzer".
-
Thread
Thyristorschaltung in KFZ-Batterieladegerät
Payday loans have been yon as far as something decades, but with the money-making crisis that the Collective States is overlay today, it is flexible to omit condign how in demand and commonplace they actually are. As a service to
luck because it can indeed steal them when they hare effectively of cash before their next payday. As a service to others, payday loans are troublesome indebtedness instruments that run sway of help consumers. This is singularly true recompense those who do not experience a good history of secure skill
-
Thread
Verständnisfrage zu DSL
lesen und verstehen. "Category 5 cable is used in structured cabling for computer networks such as Ethernet over twisted pair. The cable standard provides performance of up to 100 MHz and is suitable for 10BASE-T, 100BASE-TX (Fast Ethernet), 1000BASE-T (Gigabit Ethernet), 2.5GBASE-T, and 5GBASE-T.
verstehen. >> >> "Category 5 cable is used in structured cabling for computer networks >> such as Ethernet over twisted pair. The cable standard provides >> performance of up to 100 MHz and is suitable for 10BASE-T, 100BASE-TX >> (Fast Ethernet), 1000BASE-T (Gigabit Ethernet), 2.5GBASE-T, and
-
Thread
WOW, gibt es PGA schon so lange aus den 60er JAhren?
Terminal neben der AS400. Im Slot steckte eine Karte in der o.a. Technik, die mit einem dicken Kabel an der AS400 hing. Schwank zu IBM: Wir wollten die AS400 von 1Mb Hauptspeicher auf 2Mb ausbauen lassen. Der IBM Techniker öffnete die AS400, zog einen Jumper und grinste uns dann an: "Jetzt sinds 2 Mb".
-
Thread
Mit welchem Programm programmiert ihr Controller?
Ach so, die Frage war ja eine andere, also C, vim, make, gcc, binutils und Macroassembler, vim, as (http://john.ccac.rwth-aachen.de:8000/as/as_EN.html)
-
Thread
Nicht auffindbarer Fehler in Code für Roboter (Bascom)
unterscheiden sich im Typ des ersten Parameters (direc_l). Declare Sub Exc_drive(byval Direc__l As String , Byval Pwm__l As String , Direc__r As String , Byval Pwm__r As String) Sub Exc_drive(byval Direc_l As Integer , Byval Pwm_l As String * 3 , Direc_r As String * 1 , Byval Pwm_r As String *
As String * 3 'Dim Direc_r As String * 1 'Dim Pwm_r As String * 3 Dim Drive_command(4) As String * 15 Declare Sub Exc_drive(byval Direc_l As String , Byval Pwm_l As String , Direc_r As String
-
Thread
Ingenieure mit Depression Gesperrt
May be, we have to teach him the words and sentences, which might have been written in such thing as "user manual for children". Conclusions: a) Never treat a frustrated person as a patient, who has to give up his self responsibily, obeying only the commands of his doctor passivly. Instead, ask him for his actual and most important objective. Help him to reach it. As soon as it comes to be realized, he might tell you a new and better goal. Let him be in control. b) Of much higher importance than the theory of the therapy is the personality of the therapist.
-
Thread
10W Bitcoin miner mit 450GH/s für Raspberry Pi
are 4 temperature sensors (T0 to T3), including 1 for inlet and outlet, and 2 for connection chips, as shown in Figure 4-3.
:?}", e); // continue; // } // // let mut temp_data = ((data[0] as u16) << 4) | ((data[1] as u16) >> 4); // // if temp_data > 2047 { // temp_data -= 4096 // } // // info!("read temp{}: {}", i + 1, temp_data); // //
-
Thread
ESC-Sequenzen von Rechenr an Drucker decodieren
, _ ByVal hSrcDC As Long, ByVal xSrc As Long, ByVal ySrc As Long, _ ByVal nSrcWidth As Long, ByVal nSrcHeight As Long, ByVal dwRop As Long) As Long Dim Modus As String Public CmoWork As Boolean Public RxBuffer As String Public IdleCount As Long Dim Inhalt As String Dim AktPos As Long Dim AktChar As String * 1 Dim SeiteNr As Integer Dim CurX As Long Dim CurY As
-
Thread
Willtek Schlumberger Stabilock 4031 4032
must first change the modules and look for the error messages to narrow down the defect module. As Mike wrote the faulty module displayed is usually not the defective module. Most errors in such modules are VCOs that are not working or with false frequency. Look for corroded traces or vias round
crt. It was completely burnt and cracked in half. The schematic shows it just to the right of R107 as a 470 1/2w resistor. I replaced it and still didn't have a picture. I also found R317 inside the flyback area to be burn as well. This was replaced but still no picture. All other components
-
Thread
Dimmbares Lauflicht
Poti zwischen VCC und GND CONFIG ADC = SINGLE, PRESCALER = AUTO, REFERENCE = AVCC dim gedrueckt as bit dim taster as bit dim pwm as byte dim intensity as byte dim row_led(3) as byte dim leds_pin(3) as byte row_led(1)=6 row_led(2)=5 row_led(3)=3 leds_pin(1)=8 leds_pin(2)=24 leds_pin(3)=56
-
Thread
gcc crosscompile unter linux für mips
--disable-libssp \ --disable-hosted-libstdcxx\ --with-gnu-ld --with-gnu-as Hier muss ein Fehler im System sein. Wenn ich es richtig lese, hapert es an der -libstdc++. Hier habe ich alles installiert was ich zu diesem Thema finde. Da der Leidensweg bis der Fehler kommt
binutils aus? Was macht --disable-hosted-libstdcxx ? Wozu brauchst du --with-gnu-ld und --with-gnu-as ? Erste Anlaufstelle für solche Fragen ist die gcc-help@ Mailing-Liste.
-
Thread
.NET einfachster HTTP-Server gefragt
System.ComponentModel Imports SN = System.Net Class MainWindow Private WithEvents Listener1Worker As New SCM.BackgroundWorker() Private Listener1 As SN.HttpListener = Nothing Private Sub MainWindow_Loaded(sender As Object, e As RoutedEventArgs) Handles Me.Loaded If Not SN.HttpListener.IsSupported
) Dim responseText As String = "<html><body>Hello from HttpListener.</body></html>" Dim buff As Byte() = ST.Encoding.UTF8.GetBytes(responseText) With context.Response
-
Thread
Wer kennt dieses Bauteil
bypassen? > > Bei KNX ist dazu eine Drossel eingebaut. Etwas mehr schon. https://i.sstatic.net/gkAsN.png
> >> Bei KNX ist dazu eine Drossel eingebaut. > > Etwas mehr schon. > https://i.sstatic.net/gkAsN.png Der Link führt mich zu keinem Ziel. Error 1011 Access Denied.
-
Thread
DeepPCB: KI-basierter Autorouter Gesperrt
in the real world and work closely with hardware partners such as Nvidia (we’ve recently been upgraded to preferred partner) and Intel (we’re part of the AI Builder Program). In our opinion, having no-human in the loop is critical to accelerate PCB development cycles
Nabil Chouba wrote: >work closely with hardware partners such as Nvidia routing Nvidia graphics cards or using their hardware to run the AI ? Just kidding, I know the answer. >If you can tell us where you want to put the plane and also the width >you wish for
-
Thread
sehr schnell sehr viele LEDs ansteuern
Auswahl. Gemultiplexte Systeme sind hier zu langsam. Einer der schnellsten Treiber die ich kenne ist der AS1112: http://www.austriamicrosystems.com/AS1112 Wenn du doch eine Matrix bauen willst schau dir mal den AS1130 an: http://www.austriamicrosystems.com/AS1130 Videos: http://www.youtube.com/watch
-
Thread
Länge von UART-String begrenzt, BASCOM, Atmega8
'cls ist wichtig und MUSS nach den Definitionen kommen! Declare Sub Anzeigen(byval Text As String) 'Text auf LCD anzeigen Declare Sub Anzeigen2(byval Length As Byte) 'Länge des empfangenen Textes anzeigen Dim Uart As String * 10 Dim Lange As Byte Do If Pind.5 = 1 Then
End If Waitms 1000 'kurz warten Loop Sub Anzeigen2(byval Length As Byte) Locate 2 , 1 Lcd Length End Sub Sub Anzeigen(byval Text As String) Locate 1 , 1 Lcd Text End Sub [/code] ---------------------------------------------------------------------------
-
Thread
Wie aktuell ist K&R C?
Sprachdefinitionen von C) wird das Dangling-Else-Thema in einem einzigen Satz abgehandelt: [pre] As usual the ‘‘else’’ ambiguity is resolved by connecting an else with the last encountered elseless if. [/pre] Viel mehr gibt es dazu eigentlich auch nicht zu sagen. Vermutlich wurde dieser Satz
interessant, aber nicht zum Lernen geeignet: [pre] Disclaimer: This ``tutorial'' is presented as a historical document, not as a tutorial. [/pre] Es beschreibt den Stand von C lange /vor/ der ANSI/ISO-Normierung, d.h. insbesondere, dass Funktionsdefinitionen noch – wie auch in der ersten
-
Thread
230V Schaltausgang am Receiver
Andreas Hilgart schrieb im Beitrag #3438511: > Subwoofer Canton AS22 Der AS22 schent aber ein passiver Subwoofer zu sein, was möchtest du da schalten? Mit einer Musikleistung von 120W ist der aber auch nicht so ein Stromfresser, das die Netzzuleitung zum Denon zu
Matthias Sch. schrieb im Beitrag #3439342: > Der AS22 schent aber ein passiver Subwoofer zu sein Der AS22 ist ein aktiver Subwoofer. Dieser ist jetzt an einer der Receiver-Steckdosen angeschlossen. Da diese aber nicht ausschalten wenn der Receiver
-
Thread
konvertierung enum zu integer erlaubt/definiert
vereinbaren. Zitat aus dem C99-Draft: [pre] The identifiers in an enumerator list are declared as constants that have type int and may appear wherever such are permitted.107) An enumerator with = defines its enumeration constant as the value of the constant expression. If the first enumerator has
other values in the same enumeration.) The enumerators of an enumeration are also known as its members. [/pre]
-
Thread
Crimp-Kontakt? Wie heißt der richtig Bezeichnung.
#5876678: > Derartige Kontakte dürfte es in alten Telephonen gegeben haben, so etwas > nannte sich "AS-4"-Technik. Nö, die sehen deutlich anders aus.
Kabelschuhgröße: A wu 18 - 22 und ??? ?-? (mehr ist nicht lesbar). Also kann ich sagen: für " "AS-4"-Technik. Das wurde vor Einführung von TAE verwendet. " ?
-
Thread
PIC erste versuche (blinkled) mit 16F630 klappt nicht!
int main() { unsigned char i; ANSEL = 0b00000000; //All I/O pins are configured as digital CMCON0 = 0b00000111; //Coperators turned OFF PORTC = 0x00; //write 0 to port C TRISC = 0x00; //set RC0 as output pin / set TRIS register BIT
// Disable inerupt WPUA = 0x0; // pull-up disable CMCON = 0x07; // port as Digital IO //TRISC2 = 0; // Led pin as output TRISC = 0x0; // alle Ports als Ausgang def. PORTC = 0x1111111; // alle Ausgänge einschalten while(1) {
-
Thread
Reichelt Qualität
gleichen Typen dort mit kyrillischer Beschriftung gesehen. Von Alfa sind Bauteile mit dem Suffix AS (AS324, AS358, AS317...) Integral verwendet das Suffix IN (IN74AC14) Logo ist ein gespiegeltes N Die drucken oft kein Logo oder typisches Suffix. Manchmal erkenne ich sie am verwendeten Font. Wenn
-
Thread
Durchschnitts Strom / Leistungsmessung mit minimalen Aufwand
Tastverhältnis: das wären z.B. 1,2A für 50ms und 15mA für 950ms. Also ergeben sich theoretisch 60 mAs + 14 mAs = 74 mAs. Weil du jetzt aber nur auf 10mA auflösen kannst, ergeben sich 60 mAs + 9,5 mAs = 70 mAs. Und von realen 74 mAs auf berechnete 70 mAs sind es grade mal 5,7% Abweichung. Weil
-
Thread
(avrdude) fuses auslesen
:00000001FF avrdude: safemode: lfuse reads as 75 avrdude: safemode: hfuse reads as FD avrdude: safemode: Fuses OK avrdude done. Thank you. [/c] aber wie wird - zu <stdout> ? ist das dokumentiert oder vorhersehbares verhalten?
kannst ja das direkt auswerten? avrdude: Device signature = 0x1e9007 avrdude: safemode: lfuse reads as 75 avrdude: safemode: hfuse reads as FD
-
Thread
attiny1 / atmega0 Usart und Loop-Back-Mode
the transmitter is disabled, it will no longer override the TxDn pin, and the pin direction is set as input automatically by hardware, even if it was configured as output by the user. Disabling the transmitter is insufficient. The TXCIF flag has to be set explicitly in order to re-enable the output
says, that the RX pin isn't used. The question is: is it possible to use the RX Pin in this case as a gpio oder analog input pin?” Yes, your understanding is correct. When the USART in ATtiny412 is used in Loop back mode by setting LBME bit, the Rxd pin is not used and it is available as GPIO
-
Thread
Library für EA-DOGM Grafikdisplays inkl. Font-Generator
/Do not use 0 here, only LCD_NOP is allowed! }[/c] kommt folgender error: "void value not ignored as it ought to be" Kann jemand bitte die minimale Befehlsfolge posten, sodass mit dieser Lib überhaupt irgendwas einmal am DOGM dargestellt wird? Danke.
relativ langer String angezeigt. Ich habe 2 Projekte und nutze bei beiden eine ATXmega das mit dem AS6 kompilierte läuft perfekt und bei dem mit AS6.2 tritt der Fehler auf. Hast Du evtl. eine Idee an was das liegen könnte? Vielen Dank Daniel
-
Thread
Entwurf Schaltung für Erweiterung Türschlossantrieb
schlicht nutzlos. Das hat folgenden Grund: Die Kommunikation mit dem Türschlossantrieb wird mit AES-128 verschlüsselt/abgesichert. Wenn man einen User im Türschlossantrieb registriert, so wird für jeden dieser User beim Registrieren ein eigener AES-128-Schlüssel erzeugt. Diesen AES-Schlüssel benötigt
beiligenden QR-Code gespeicherten Informationen Benutzer registrieren und deren benutzerspezifischen AES-Schlüssel anzeigen lassen, den das eigentliche Türschlossantrieb-Steuerungs-Tool zwingend benötigt. Mal schauen, jetzt, wo immerhin noch 1-2 Andere Interesse bekundet haben, werde ich mir vielleicht
-
Thread
ISM Empfänger mit kleinstem Standby
nur der erste den Google ausgespuckt hat: http://www.ams.com/eng/Products/RF-Products/Low-Frequency/AS3930 "Low power listening modes (1.37 μA typ.)"
Ich bin dieses Wochenende noch nicht fertig geworden. Was ich gerade mache: [code]For Channel As Integer = 0 To 125 For Power As Integer = 0 To 3 For AddressID As Integer = 0 To Addresses.Length - 1 For Speed As Integer = 0 To 2 For PayloadID As Integer
-
Thread
Akkumaster C4 - Prozessor defekt - Tausch
Converter Input Ports The analog input ports (AN0 to AN7) of the SAB 80515/80535 can only be used as analog Inputs for the A/D converter. The analog input ports (P6.0 to P6.7) of the SAB 80C515/80C535 can be used either as Input channels for the A/D converter or as digital inputs Außerdem wird die
-
Thread
Radarwarner
leider Gottes oft realitätsfern. Warum 130 fahren, wenns auch 200 tun? Wenn wenig Verkehr ist, istd as doch oft kein Problem, nur dass sich die Schilder am Rand halt nicht nach dem Verkehr richten. Und zu guter Letzt befasst man sich schon wegen dem technischen Pioniersgeist damit, wie man die Polizei
Servus Leute Hätte eine frage, mich haben sie schon as zweite mal geblitzt und jetzt wollte ich mir so ein Radarwarner einbauen. Ist des jetzt verboten das man so ein Gerät einbaut oder nicht Bitte um Antwort MFG Markus
-
Thread
Frage zu einer Codezeile in C
Haskell has allowed us to easily meet very tight deadlines with reliable results. BAE Systems As part of the SAFE project, BAE has built a collection of compilers, interpreters, simulators, and EDSLs almost entirely in Haskell. [/pre] BAE Systems: Redesigning the Computer for Security http
Jobst Q. schrieb im Beitrag #4732113: > Da ist ja eine großartige Effizienz zu erwarten. Haskell as fast as C: working at a high altitude for low level performance https://donsbot.wordpress.com/2008/06/04/haskell-as-fast-as-c-working-at-a-high-altitude-for-low-level-performance/ [pre] yes, we
-
Thread
Datumsachse Excel
Jaja, es war nach Excel gefragt: [code]## Bibliotheken import pandas as pd import locale locale.setlocale(locale.LC_TIME, "de_DE") import matplotlib.pyplot as plt import matplotlib import numpy as np import datetime as dt import matplotlib.dates as mdates from matplotlib import rcParams import matplotlib.ticker as ticker ## Plot formatieren plt.rc('text', usetex=True) plt.rc('text.latex', preamble=r'\usepackage{underscore}') plt.rc('font', family='serif') plt.rcParams.update({'font.size': 8}) plt.rcParams
-
Thread
AT89C51AC2 mit AS3935
folgende Elementen benutze: * Ein AT89C51AC2 (http://www.atmel.com/Images/doc4127.pdf) * Ein AS3935 http://www1.futureelectronics.com/doc/AUSTRIAMICROSYSTEMS/AS3935.pdf * Ein 16x2 LCD Display * Ein MAX 232. Ich muss nun den MCU(AT89C51AC2 ) mit dem IC (AS3935 ) mit Hilfe eines I2C
-
Thread
Sourcecode für "USB Stick Disguised as a Keyboard"
coole Projekt gestoßen: http://www.elektor-labs.com/project/elektorpost-no-10-usb-stick-disguised-as-a-keyboard.13216.html Es geht dabei um einen ATTiny, der ein USB Device Simuliert, bzw eine USB-Tastatur, auf Grundlage der V-USB Libary. Die Hardware hatte ich auch schon aufgebaut, jetzt fehlte
-
Thread
[S] MB90F867AS 3000Stück
Bei ic-direct.com: https://www.ic-direct.com/de/bauteilsuche/?q=MB90F867AS in ungeahnten Mengen. Seriöse Firma.
dass die ehemaligen Fujitsu MB90xxx Teile mitlerweile CY90xxx heisen, also in deinem Fall MB90F867AS -> CY90F867AS Dann wäre es natürlich noch wichtig zu wissen, welches Package du verwendest, ASxxx (PMC, PFV, ..) Und dann könnte es dir auch weiterhelfen, dass es die gleichen Teile auch noch als
-
Thread
use of cast expressions as lvalues is deprecated
Huhu, Der GCC Compiler gibt die Fehlermeldung [pre] use of cast expressions as lvalues is deprecated[/pre] bei folgender Codezeile aus: [C] ((uint8_t*)pHandle->pCurrentByte)++; [/C] Der Sinn ist einfach, dass ein void* um 1*1 byte hochgezählt wird. Warum ist das deprecated
-
Thread
avr-g++/avr-as: __gcc_isr not supported
das Programm, dass die specs erzeugt (gen-avr-mmcu-specs.c auf build) erlaubt via [c]#ifdef HAVE_AS_AVR_MGCCISR_OPTION fprintf (f, "*asm_gccisr:\n%s\n\n", "\t%{!mno-gas-isr-prologues: -mgcc-isr}"); #endif // have avr-as -mgcc-isr[/c] Aufschluß darüber, zu welchen Schlüssen configure so gekommen ist; hier also ob HAVE_AS_AVR_MGCCISR_OPTION gesetzt war oder nicht. http://gcc.gnu.org/viewcvs/gcc/trunk/gcc/config/avr/gen-avr-mmcu-specs.c?revision=256169&view=markup#l228 http://gcc.gnu.org/viewcvs/gcc/trunk/gcc/configure.ac
-
Thread
Energieaufnahme - µC mit Batterie
komme in meinem Szenario auf gerademal 2% Anteil des Gesamtverbrauchs. Rechnung: 50mA @100ms -> 5mAs (=50mA*100ms) 20µA @4900ms -> 98µAs Summe: 5.098µAs (für 5s). hochgerechnet auf 1h => 5.098µAs/5s * 3600s = 3670mAs = 1.02mAh eine MignonZelle mit 2000mAh würde demnach grob nach 1500..2000h verbraucht
>hochgerechnet auf 1h => 5.098µAs/5s * 3600s = 3670mAs = 1.02mAh >eine MignonZelle mit 2000mAh würde demnach grob nach 1500..2000h >verbraucht sein (2..3Monate). Sieht gut aus. Wenn du dann noch bedenkst das die Kapazität für Entladung
-
Thread
Verwendete Algorithmen für effizientes Staubsaugen
' if __name__ == '__main__': try: print(exec(CODE)) except Exception as e: print(str(e)) finally: print('-----------------------------------') try: print(exec(compile(CODE, 'string', 'exec'))) except Exception as e: print
print(exec(bo, g, l)) print(g) print(l) except Exception as e: print(str(e)) finally: print('-----------------------------------') [/code] HF, YMMV! ;-)
-
Thread
Probleme mit for-Schleifen
Bit 0 PDI, SPI Serial Programming Data input. During serial program downloading, this pin is used as data input line for the ATmega64. RXD0, USART0 Receive pin. Receive Data (Data Input pin for the USART0). When the USART0 Receiver is enabled this pin is configured as an input regardless of the value
fuse ausgeschaltet? interessant auch: "When the USART0 Receiver is enabled this pin is configured as an input regardless of the value of DDRE0.". pumpkin