-
Thread
PDP11 KL11 SLU in altem CPLD?
angeboten. Im Moment plane ich den Ausbau von meinem Projekt und möchte den J-11 via CPDL (ATF1504AS) mit dem CDP6402 verbinden und so die fehlende Interrupt Logik nachbauen. Sollte kein Problem sein. Es gibt übrigens DVL11 mit programmierbarer Baud-Rate DLV11-E und -F können über Bit12:15 im XCSR
in Angriff aber für die geplanten Funktionen DMA, Bus-Timeout, asynchroner IO Bus reicht ein ATF1504AS definitiv nicht, da werde ich also auf ein ATF1508AS umsteigen müssen. Und zum Schluss habe ich noch eine Idee für das Projekt. Anstelle weitere CDP6402 und ATF1504AS für weitere serielle Schnittstellen
-
Thread
Schrittmotorsteuerung mit Stückliste Reichelt?
/eng/Products/Magnetic-Encoders/Rotary-Encoders/AS5030
> http://www.austriamicrosystems.com/eng/Products/Magnetic-Encoders/Rotary-Encoders/AS5030 Hier müßte aber mit 0,225 Grad Auflösung positioniert werden. Gruß Thomas
-
Thread
Wozu dieser Widerstand?
http://www.ti.com/lit/ds/symlink/tps54202.pdf unter 8.2.3.3: "The 49.9-Ω resistor, R1, is provided as a convenient location to break the control loop for stability testing."
/www.ti.com/lit/ds/symlink/tps54202.pdf unter > 8.2.3.3: > "The 49.9-Ω resistor, R1, is provided as a convenient location to break > the control loop for stability testing."
-
Thread
ELEGOO Ardunio Mega R3 16U2 Bootloader
installation sketch! This version will install HoodLoader2 on your Arduino You selected number 202 as bootloader. If this is not correct upload the program again with different settings Make sure all wires are connected as written in the documentation. Please now insert the 100nF capacitor between
installation sketch! This version will install HoodLoader2 on your Arduino You selected number 201 as bootloader. If this is not correct upload the program again with different settings Make sure all wires are connected as written in the documentation. Please now insert the 100nF capacitor between
-
Thread
Heim Automatisierungswahn Gesperrt
vast majority of data center energy is consumed in small, medium, and large corporate data centers as well as in the multi-tenant data centers to which a growing number of companies outsource their data center needs." https://www.nrdc.org/resources/americas-data-centers-consuming-and-wasting-growing-amounts-energy
Hype Cycle provides a high-level view of important emerging trends that organizations must track, as well as the specific technologies that must be monitored." Key Technology Trends Transparently immersive experiences: Technology will continue to become more human-centric to the point where it
-
Thread
Signaltreue A_-Detektion Gesperrt
The first step was the recognition of sidebands per se..." "...Fleming treats the modulated carrier as a wave of constant frequency but varying amplitude. Stones as late as 1912 says,"There is,in fact,in the transmission of agiven message,(by carrier) but a single frequency of current involved..."" /
Formung der Bandbreite am Sender entscheidend für die Effizienz der Informationsübertragung ist: | | "As we approximate more closely to the ideal [...] The transmitted | signal approaches a white noise in statistical properties. [1, p.454] (c) Es wird eine optimale Bandbreite bzw. Leistungsverteilung
-
Thread
Görtzel Algorithmus, falsche Werte bei DC Offset?
Q_prev2, i; long prod1, prod2, prod3, power; Q_prev = 0; //set delay element1 Q_prev as zero Q_prev2 = 0; //set delay element2 Q_prev2 as zero power = 0; //set power as zero for (i = 0; i < N; i++) // loop N times and calculate Q, Q_prev, Q_prev2 at each iteration { Q = (sample[i]) + ((coeff * Q_prev) >> 14) - (Q_prev2); // >>14 used as the coeff was used in Q15 format Q_prev2 = Q_prev; // shuffle delay elements Q_prev = Q; } //calculate the three products used to calculate power prod1 = ((long) Q_prev
-
Thread
Neue PC-Standards, Exportbeschränkungen, Funkmodule und Messtechnik
individually programmed for the specific application. Various interfaces can also be implemented, such as UART, SPI, I²C, and ADC. Stephano-I comes with high-quality, pre-installed firmware, a complete TCP/IP-Stack, MQTT and HTTP. The versatile module can act both as a station and as a soft access point
Faster 96Gbps bandwidth improves demanding data-intensive, immersive and virtual applications such as AR/VR/MR, spatial reality and light field displays as well as various commercial applications such as large scale digital signage, medical imaging and machine vision. Also included is Latency Indication
-
Thread
Carbon - wie ist Eure Einschätzung?
much like in C++. However, an important difference from > C++ is that types are themselves modeled as values; specifically, > compile-time constant values. This means that the grammar for writing a > type is the expression grammar." > > Jeder Typ ist also selbst wiederum ein Objekt. Wie soll da
Carbon's infrastructure? Carbon is currently bootstrapping infrastructure with the help of Google. As soon as a foundation is ready to oversee infrastructure, such as continuous integration and the CLA, we plan to transfer them so they are run by the community. [/pre] Google steckt also schonmal etwas
-
Thread
VBA, 64-Bit Office, externe 32Bit DLL, Type Missmatch
EveryNSamplesEventHandler, Nothing) //Event Handler Public Function EveryNSamplesEventHandler(ByVal TaskHandle As Long, ByVal eventType As Long, ByVal numSamples As Long, ByVal callbackData As Long) As Long return 0 End Function [/c] Bei "AddressOf EveryNSamplesEventHandler" passiert der type mismatch.
-
Thread
RS232 nach HTTP/HTML Konverter
interpret this as a request for the default index file, which is INDEX.HTM or INDEX.HTML. This, in turn, contains pointers to other files on the server. While the user clicks on pages we've provided, they will only be
<LF> delimiter. The header is separated from the document's contents by a single blank line. As a minimum, the header must identify the HTTP protocol version, the success or failure status, and the content-type of the document (plain text, HTML, GIF graphic). For example: HTTP/1.0 200 OK
-
Thread
void value not ignored as it ought to be - Problem
Fleury zurecht, allerdings bekomme ich die Fehlermeldung: main.c:53: error: void value not ignored as it ought to be Das ist nur eine Kleinigkeit, aber ich komme einfach nicht dahinter. Wer könnte mir bitte kurz helfen? Danke im Vorraus......
Stefan B. schrieb im Beitrag #3538068: > main.c:53: error: void value not ignored as it ought to be > > Das ist nur eine Kleinigkeit, aber ich komme einfach nicht dahinter. > Wer könnte mir bitte kurz helfen? Kannst du mir mal erklären, wie das hier ... [c] Lux1 = ReadLuxes
-
Thread
XBee-Pro 868 Digital Input
Ausgang vom Controller nutzen. [c] $regfile "m8def.dat" $crystal = 3686400 $baud = 9600 Dim S As String * 18 On URXC OnRxD Enable URXC Enable Interrupts Config Portc.5 = Output Portc.5 = 0 Do //Vergleich der Hexwerte Loop End Onrxd: 'S = S + Chr(udr) S = Chr(udr) Return
framesize = 40 ' default use 40 for the frame space Dim S As String * 1 'h für hoch, r für runter Dim E(50) As Integer Dim Pos As Integer Dim Zeichen As Integer Dim Stimmtio As Bit Dim Stimmtzeichen As Bit Pos = 1
-
Thread
ESP32 Tasterauswertutn Probleme
PLAY; x<NUM_OF_BUTTONS; x++) { ESP_LOGI(TAG, "IO %d: %d ", x, button_as[x].gpioNum); gpio_set_direction(button_as[x].gpioNum, GPIO_MODE_INPUT); gpio_input_enable(button_as[x].gpioNum); gpio_set_pull_mode(button_as[x].gpioNum
d", button_as[STOP].state_e); button_as[STOP].stateChanged_b = false; } if (true == button_as[NEXT].stateChanged_b) { ESP_LOGI
-
Thread
Schrittkette
Oh, yes, of course. I forgot the "()" :D Thanks ! But now the Actuator 2 works as long as the delayy :/
Markus O. schrieb im Beitrag #6844208: > But now the Actuator 2 works as long as the delayy Und danach ist er kaputt und "arbeitet" fürderhin nicht mehr? Eine Last ist "eingeschaltet" oder "ausgeschaltet". Die meisten Aktoren "tun" auch was, wenn sie ausgeschaltet sind
-
Thread
Was hat es mit den 'trigraphs' aufsich
Twinax? Nope. Konnst du auch in den PC stecken: http://www.nci-inc.com/Coaxse.pdf Twinax war AS/400.
Funktionstasten (F1..F24?) Es könnte sein dass in Deutsch "DFRG" draufstand. Das System war eine AS/400, Twinax.
-
Thread
AVR Mikrocontroller Sicherheit
Die meisten XMEGAs unterstützen AES hardwareseitig, die AES-Implementierung in Software ist NICHT kompliziert, der Sinn für AES war u. a. "Speziell für den Einsatz in Smartcards sollen geringe Ressourcen erforderlich sein (kurze Codelänge, niedriger Speicherbedarf)." Suche nach AES in der Wikipedia. Es gibt mehrere Application Notes von Atmel wie auch Codebeispiele für AES für MCs, die AES hardwareseitig nicht unterstützen, also für alle ATmegas, Tinys usw. Auch für Bootloader
-
Thread
Ver- und Entschlüsselung mit OPENSSL in C
Parameter nicht klar. Mit AES_encrypt() und AES_decrypt() läuft es bereits, aber welcher Modus wird da verwendet?
"enc" ist ein Flag, AES_DECRYPT oder AES_ENCRYPT, dass sagt, was gemacht werden soll. "ivec" ist der initialization vector. (16 Byte IIRC). Beim ersten Aufruf (beliebig, aber für En- und Decrypt gleich) initialisieren.
-
Thread
ADC auswertung
64 $crystal = 16000000 $baud = 19200 Declare Sub Adc_init() Declare Sub Adc_read() Dim A_h As Word Dim A_l As Byte Dim Adc_ergeb As Word Dim W As Byte Config Com1 = Dummy , Synchrone = 0 , Parity = None , Stopbits = 1 , Databits = 8 , Clockpol = 0 Open "COM1:" For Binary As #1 Call
M644pdef.dat" $crystal = 16000000 $hwstack = 32 $swstack = 32 $framesize = 64 $baud = 19200 Dim Adcv As Word Config Com1 = Dummy , Synchrone = 0 , Parity = None , Stopbits = 1 , Databits = 8 , Clockpol = 0 Open "COM1:" For Binary As #1 Config Adc = Single , Prescaler = 8 , Reference = Avcc Start
-
Thread
Frage zum miniLa (Logic Analyzer)
Hat den jemand von Euch schon gebaut? Wie zufrieden seit Ihr? Wo bekomme ich den XC95288XL und AS7C33128 her? Gruss Andi
allerdings davon aus, dass auch die Anderen zufrieden sind. > Wo bekomme ich den XC95288XL und AS7C33128 her? XC95288XL: Digikey AS7C33128: Bob Grieb hat vor ein paar Tagen im miniLA-Forum (auf sourceforge) welche zum Verkauf angeboten. Frag am Besten mal dort an. > Frage kann man den Sram Cypress
-
Thread
alte Turbo-C-Software unter win95 neu für WIN10.
0.1 # in seconds with Serial(port, speed, EIGHTBITS, PARITY_NONE, STOPBITS_ONE, timeout=timeout) as ser: # prepare data_out data_out = bytearray(11) data_out[0] = 13 # CR data_out[1] = 10 # LF data_out[2] = 4 # Ctrl-D # checksum data_out[10] = sum(data_out
Basic kann nicht nur Strings senden, sondern auch eine Anzahl von Bytes. > Public Sub Write (buffer As Byte(), offset As Integer, count As Integer)
-
Thread
230V an Microcontroller
ring_detector.html beschreibt es so: > The 0.1 capacitor between the internal node and the output acts as an > integrator, so that the AC ringing shows up as one pulse rather than a > sequence of short ones. It also gets rid of smaller and less frequent > activity like dialing pulses. The 10k resistor
ring_detector.html beschreibt es so: >> The 0.1 capacitor between the internal node and the output acts as an >> integrator, so that the AC ringing shows up as one pulse rather than a >> sequence of short ones. It also gets rid of smaller and less frequent >> activity like dialing pulses. The 10k resistor
-
Thread
Verstößt RedHat gegen die GPL?
Sourcecode einfordern. "… accompanied by a written offer, valid for at least three years and valid for as long as you offer spare parts or customer support for that product model, to give *anyone* who possesses the object code …" Michael H. schrieb im Beitrag #7449974: > - Man kann GPL Sourcecode für
Beitrag #7449993: > "… accompanied by a written offer, valid for at least three years and > valid for as long as you offer spare parts or customer support for that > product model, to give anyone who possesses the object code …" Das bezieht sich ausschliesslich auf jenen Abschnitt 6b in dem es steht
-
Thread
Visual Studio - Unicode oder Multibyte?
richtig verstehe: "In the UTF-16 encoding form, code points in the range U+0000..U+FFFF are represented as a single 16-bit code unit; code points in the supplementary planes, in the range U+10000..U+10FFFF, are represented as pairs of 16-bit code units." Quelle: http://www.unicode.org/versions/Unicode5.2.0
verstehe: "In the UTF-16 encoding form, code points in the > range U+0000..U+FFFF are represented as a single 16-bit code unit; code > points in the supplementary planes, in the range U+10000..U+10FFFF, are > represented as pairs of 16-bit code units." Ja, UTF-16 funktioniert ähnlich wie UTF-8,
-
Thread
USI SPI (AtTiny24V)
10.2.1: "MISO: Master Data input, Slave Data output pin for SPI channel. When the SPI is enabled as a Master, this pin is configured as an input regardless of the setting of DDA5. When the SPI is enabled as a Slave, the data direction of this pin is controlled by DDA5." "MOSI: Master Data output, Slave Data input for SPI channel. When the SPI is enabled as a Slave, this pin is configured as an input regardless of the setting of DDA6. When the SPI is enabled as a Master, the data direction of this pin is controlled by DDA6."
-
Thread
nach Takterhöhung an ATtiny25 nur noch Müll aus der Sotware Uart
internal osc. 'and by default the internal 8 divider is enabled resulting in 1 Mhz clock freq. Dim I As Byte Dim B1 As Byte Dim B2 As Word Dim B3 As Word Config Timer0 = Pwm , Prescale = 64 , Compare A Pwm = Clear Down , Open "COMB.4:9600,8,N,1" For Output As #1 Do Pulsein B2 , Pinb , 3
-
Thread
Kapazitätsverbrauch errechnen
pro Impuls werden 150mA*0,8=120mAs verbraucht macht in der Stunde 49080mAs. Das sind 13,6mAh. Ebenso geht es übder mittleren Strom: Die 150mA fliessen für 1/11 der Zeit, der mittlere Strom ist also 13,6mA. Allerdings stimmen solche
Hammm H.Joachim S. schrieb im Beitrag #6912869: > pro Impuls werden 150mA*0,8=120mAs verbraucht > macht in der Stunde 49080mAs. Das sind 13,6mAh. > > Ebenso geht es übder mittleren Strom: Die 150mA fliessen für 1/11 der > Zeit, der mittlere Strom ist also 13,6mA. Klingt korrekt
-
Thread
Voltmeter Software!
Timer , Prescale = 256 Enable Timer0 Enable Interrupts On Timer0 Displayinterrupt Dim Disp(4) As Byte Dim Help As Byte Dim Help2 As Byte Dim Modenvara As Long Dim Modenvarb As Long Dim Modenvarc As Long Dim Modenvard As Long Dim Modenvare As Long Dim Modenvarf As Long Dim I As Integer
'Bitmuster zur Ausgabe Dim Messwert As Long 'kumulativer Messwert Dim Messwert2 As Long 'Zwischenwert zum Ermitteln der Ziffern Dim Digit As Byte
-
Thread
"bad gateway" beim Aufruf von uC.net
Zitat: "Nginx is a free, open-source, high-performance HTTP server and reverse proxy, as well as an IMAP/POP3 proxy server." Nginx wird hier wohl als Webserver und Proxy laufen.
-
Thread
Kondensator vor ADC? Welcher, wenn nicht Tantal?
ganz: "The VCC pin should be bypassed to the ground plane with a 10μF tantalum capacitor with leads as short as possible. If the power supply is clean, the LTC1286/LTC1298 can also operate with smaller 1μF or less surface mount or ceramic bypass capacitors." (Seite 15 des Datenblatts) Da Du 1uF genommen
The VCC pin should be bypassed to the ground plane with a 10µF tantalum capacitor with leads as short as possible. If the power supply is clean, the LTC1286/LTC1298 can also operate with smaller 1µF or less surface mount or ceramic bypass capacitors.
-
Thread
Parallax Propeller
So, all I’ve said so far amounts to just this: Through an exceptional effort, we made the Propeller as electrically robust and efficient as we could. This, still, is not the core quality issue, but a supporting one. The core quality of the Propeller really resides in its architecture. The architecture
thought possible. They are finding the Propeller to be a great vehicle for invention and discovery, as well as the means to realize complex embedded systems that are not possible with any other chip. A few forum members have even said that the Propeller has drawn them back into software and electronics
-
Thread
ATmega88 - Timer2 OVF mittels Uhrenquarz - Probleme beim Konfigurieren
Disable the Timer/Counter2 interrupts by clearing OCIE2x and TOIE2. b. Select clock source by setting AS2 as appropriate. c. Write new values to TCNT2, OCR2x, and TCCR2x. d. To switch to asynchronous operation: Wait for TCN2xUB, OCR2xUB, and TCR2xUB. e. Clear the Timer/Counter2 Interrupt Flags. f. Enable
ASSR->EXCLK muß 0 sein und ASSR->AS2 auf 1 ... fertisch.
-
Thread
Geschickte Programmierung für Phasenanschnitt
debugging Led Alias Porta.2 Config Int0 = Falling On Int0 Int0_isr Enable Int0 Dim Key As Bit Dim Onoff_flag As Bit Dim Dim_flag As Bit Dim Dim_direction As Bit '1 = incr. brightness, 0 = decr. brightness Dim Key_count_flag As Bit Dim Count_0 As Byte 'for timing of the key Dim Bright_min As Word Dim Bright_max As Word Declare Sub Key_count Declare Sub Dimm Declare Sub On_off Ocr1b = 7000 'start triac at x [µs] after zero cross; 0 = full power, 10,000
-
Thread
AVR Potentiometer schwankt total
bis Wandlung beendet ist Was soll denn die Abfrage von ADIF? Datenblatt: ADSC will read as one as long as a conversion is in progress. When the conversion is complete, it returns to zero. Also Frage ADSC ab. ADIF musst du nämlich auch noch per Hand zurückstellen. MfG Spess
Wandlung beendet ist > > Was soll denn die Abfrage von ADIF? > > Datenblatt: > > ADSC will read as one as long as a conversion is in progress. When the > conversion is complete, it returns to zero. > > Also Frage ADSC ab. ADIF musst du nämlich auch noch per Hand > zurückstellen. > > MfG Spess
-
Thread
Tesla / Grohmann
market for Teslas. That said, Tesla’s revenues in the U.S. clearly peaked at $5.6 billion in 4Q2018 as the full federal BEV tax credit for Teslas ($7,500 prior to to January 1st, 2019) expired then. The first quarter is going to be a brutal one for Tesla in terms of profitability— in his report today
row in the U.S. (revenues -34 % and -39%) with no impact from viruses or the like. Also, Teslas, as of January 1st, 2020, are no longer eligible for any U.S. federal tax credit. Die Beratungsfirma veröffentlichte vergangenen Montag ihren Electric Vehicle Index. Demnach stiegen die Verkäufe von
-
Thread
CooCox CoIDE mit STM32F4-Discovery Board
"' ..\obj\stm32f4xx_syscfg.o ..\obj\stm32f4xx_sdio.o ..\obj\stm32f4xx_hash.o ..\obj\stm32f4xx_cryp_aes.o ..\obj\stm32f4xx_hash_sha1.o ..\obj\stm32f4xx_usart.o ..\obj\stm32f4xx_pwr.o ..\obj\stm32f4xx_can.o ..\obj\stm32f4xx_wwdg.o ..\obj\stm32f4xx_hash_md5.o ..\obj\stm32f4xx_dac.o ..\obj\startup_stm32f4xx.o
"' ..\obj\stm32f4xx_syscfg.o ..\obj\stm32f4xx_sdio.o ..\obj\stm32f4xx_hash.o ..\obj\stm32f4xx_cryp_aes.o ..\obj\stm32f4xx_hash_sha1.o ..\obj\stm32f4xx_usart.o ..\obj\stm32f4xx_pwr.o ..\obj\stm32f4xx_can.o ..\obj\stm32f4xx_wwdg.o ..\obj\stm32f4xx_hash_md5.o ..\obj\stm32f4xx_dac.o ..\obj\startup_stm32f4xx.o
-
Thread
pic programmierung
habe diese Zeilen in mplab geschrieben clrf PORTB ; clear PORTB clrf TRISB ; configure PORTB as all outputs clrf testmin2 loop1 clrf min2 loop2 incf min2,F ;increment min2 movf min2,W ;min2 ins Wreg movwf PORTB ;Wreg ins PORTB
outputs werden: clrf STATUS clrf PORTB ; ;clear PORTB bsf STATUS,RP0 clrf TRISB ; configure PORTB as all outputs bcf STATUS,RP0
-
Thread
MCP2515 Interrupt beim Empfang löschen
'INT0 einschalten Enable Interrupts Declare Sub Mcp2515_write_register(byval Adress As Byte , Byval Daten As Byte) Declare Sub Mcp2515_read_register(byval Adress As Byte ) Declare Sub Mcp2515_bitmodify(byval Reg_add As Byte , Byval Reg_mask As Byte , Byval Reg_val As Byte) Dim
'INT0 einschalten Enable Interrupts Declare Sub Mcp2515_write_register(byval Adress As Byte , Byval Daten As Byte) Declare Sub Mcp2515_read_register(byval Adress As Byte ) Declare Sub Mcp2515_bitmodify(byval Reg_add As Byte , Byval Reg_mask As Byte , Byval Reg_val As Byte) Dim
-
Thread
ZigBit ZigBee Meshnetics
hier? (The main language of this forum is German. Use embdev.net for English-language fora. As far as I remember, the µracoli project supposedly supports these modules, thus it also ought to have a pinout mapping. Didn't it even show up above within this thread?)
The source of the internal wiring was found on mikrocontroller.net [see links above] and is working as well with the 2.4GHz and 900 MHz modules. Cheers Axel
-
Thread
uC mit 2 x High Speed USB und AES-Einheit?
genannten Chips gibt, da ich keinen Bock habe 324 Pins zu verlöten?!? Ich bräuchte ca. 5 MByte/s an AES Geschwindigkeit, notfalls auch ohne das USB, falls es einzelne Chips nur für AES gibt? Besten Dank QM
STM32F429 STM32F439 da gibt es einige die 2 mal USB HS und AES können
-
Thread
Arduino & AS5600 i2C lesen ohne Lib
Guten Tag, ich beschäftige mich derzeit mit i2C. Ich möchte mit dem AS5600 den Winkel eine Welle auslesen, klappt auch sowit alles über die Lib für den AS5600. Allerdings möchte ich weg von der Lib und selber alles über i2c machen. Mit dem Hintergrund, dass ich später das
Wire.available()) { // slave may send less than requested char c1 = Wire.read(); // receive a byte as character char c2 = Wire.read(); // receive a byte as character Serial.print(c1); // print the character Serial.print(c2); // print the character } delay(500);
-
Thread
ams OSRAM AS7421 IR-Spektrometer - Wozu ist das gut?
und 1040 Nm abgeben (DS S.11) https://dammedia.osram.info/media/resource/hires/osram-dam-26205769/AS7421_DS000667_1-00.pdf.pdf
-
Thread
std::start_lifetime_as : legales aliasing auf das alle gewartet haben?
Mit C++23 kommt std::start_lifetime_as (https://en.cppreference.com/w/cpp/memory/start_lifetime_as) Mit std::lifetime_as kann man jetzt legal Objekte im Speicher aliasen, wenn man es nur explizit angibt. Beispiel aus dem C++ Paper P2590R2
unique_ptr<char[]> buffer = stream->read(); if (buffer[0] == FOO) processFoo(std::start_lifetime_as<Foo>(buffer.get())); // OK else processBar(std::start_lifetime_as<Bar>(buffer.get())); // OK } [/c] GCC 14 kann es leider noch nicht >_>. Aber sobald dass in den Compilern ankommt, sollten
-
Thread
Wo ist der Stackpointer des Tiny12?!
Aus dem Datenblatt: "Port B as General Digital I/O The lowermost five pins in port B have equal functionality when used as digital I/O pins. PBn, General I/O pin: The DDBn bit in the DDRB register selects the direction of this pin, if DDBn is set (one), PBn is configured as an output pin. If DDBn is cleared (zero), PBn is configured as an input pin. If PORTBn is set (one) when the pin is configured as an input pin, the MOS pull-up resistor is activated. On ATtiny12 this
-
Thread
V : Basic-Compiler FAST-AVR
haben möchte. $Device= m16 $Stack = 32 $Clock = 8 $Baud = 19200 Dim temp1 As Byte Dim temp2 As Byte Dim daten As Byte Dim text_lang As Byte Dim text_anfang As Byte Dim text_lcd As String *16 Declare Sub lcd_char() Declare Sub lcd_string() Declare Sub lcd_command()
-
Thread
Unnütze Registersicherungen in ISR
Größenordnungen einfacher, besser zu > testen und robuster. Man könnte mit weniger Aufwand den avr-as mit einer Schell Versehen, die eine ISR und deren Prolog/Epilog erkennt, den "Payload" untersucht und gegebenenfalls Prolog/Epilog kürzt. Quasi ein Filter. Da hat man nur eine Baustelle.
Carl D. schrieb im Beitrag #5043085: > Man könnte mit weniger Aufwand den avr-as mit einer Schell Versehen, die > eine ISR und deren Prolog/Epilog erkennt, den "Payload" untersucht und > gegebenenfalls Prolog/Epilog kürzt. Quasi ein Filter. Da hat man nur > eine Baustelle.
-
Thread
I2C Display läuft nicht
= 1; } void main() { ANSELC = 0x0; TRISB = 0x0; // Configure PORTB as output TRISC = 0b00000000; // Configure PORTC as output PORTC = 0x0; i2c_master_init(); Delay_100ms(); i2c_master_start(); i2c_send_data(0x72)
= 1; } void main() { ANSELC = 0x0; TRISB = 0x0; // Configure PORTB as output TRISC = 0b00000000; // Configure PORTC as output PORTC = 0x0; i2c_master_init(); Delay_100ms(); i2c_master_start(); i2c_send_data(0x4E)
-
Thread
Fehler bei fputs in Linux
gerne einige Werte in eine Datei schreiben. Dafür habe ich folgenden Code: [c] results = fopen("aes_results.txt", "a"); if(results = NULL){ printf("Fehler beim öffnen von aes_results.txt\n"); break; } #if DEBUG printf("aes_results.txt wurde geoeffnet!\n"); #endif sprintf(put, "EncKey
hoffe mir kann hier jemand helfen. Etwas früher erstelle ich die Datei: [c] results = fopen("aes_results.txt", "w+"); if(results != NULL){ sprintf(put, "AES - Schluessel: \"%s\"\n", AES_KEYDATA); fputs(put, results); fclose(results); #if DEBUG printf("aes_results.txt wurde erstellt
-
Thread
einfache PWM-gesteuerte variable Verstärkung
das mit einem Spezial-IC hinkriegt, ist mir klar, genau das will ich aber vermeiden. ich suche eine "as simple as possible" Möglichkeit, mit geringen Ansprüchen an Signalqualität etc. Irgendwas mit einem Transistor, einem FET, einer Diode (soll ja auch irgendwie gehen)
mit einem Spezial-IC hinkriegt, ist mir klar, genau das will ich > aber vermeiden. ich suche eine "as simple as possible" Möglichkeit Ein OTA *ist* simpel. Im Prinzip ist ein OTA ein OPV, bei dem man die internen Ruheströme (die bei normalen OPV vom Hersteller festgelegt werden) verändern kann. Und
-
Thread
Touch-Lampe Reparatur
English. Speak German (Bairish) but it is easier if I write in English. I am currently frustrated as I have two of the same lamps and one is broken. I recognize it from the picture as I too have it apart trying to get a replacement component. They were cheap but like your lamp's owner, I have grown
then I would like to send my remaining working one to you. I would love to fix the broken one but as they are the matching bedroom reading lights, having broken one is probably more frustrating than not having any (or at least I would have the knowledge that my remaining one went to a make someone happy