-
Thread
WriteFile und ReadFile
Synchrone = 0 , Parity = None , Stopbits = 1 , Databits = 8 , Clockpol = 0 'Open "com1:" For Binary As #1 'RS232 'Open "com2:" For Binary As #2 'RS232 Open "com3:" For Binary As #3 'RS232 'Open "com4:" For Binary As #4 'RS232 Dim Eingabe As String * 50 Dim Ausgabe As String * 25 Dim String1 As String * 3 Dim String2 As String * 2 Dim X1_position As Integer Dim Y1_position
-
Thread
Hackbarer(?) 21 EUR Quadcopter
Der Thread Owner hat dann aber irgendwie geschrieben: EDIT: I found a way to use the ICP tool as a workaround. Er schreibt aber nicht, welches Hardwaretool er dafür einsetzt und wie er das Ganze dann gemacht hat. Edit: Vielleicht funktioniert das mit dem ICP Tool und mit dem normalen SWD,
Microcontroller mit anderer Typenbezeichnung. Konnte man mit bloßem Auge kaum erkennen. N79E814AS2? ?=Zeichen nicht erkennbar 321002234B?78?2??A
-
Thread
Marderschreck Softwareproblem
system is ATtiny15-compatible and the resulting fast peripheral clock has a frequency of 25.6 MHz (same as in ATtiny15). -> Also wäre ein Setzten der Fuses sicherlich sinnvoll ...
is ATtiny15-compatible and the resulting fast peripheral clock has a frequency of 25.6 MHz (same as in ATtiny15).
-
Thread
Flash programmieren
64 k byte block. Read access occurs within one cycle with no penalty. A 64 k block is organized as 1024 rows of 64 bytes each. A 32 K block is organized as 512 rows of 64 bytes each. An erase page contains eight rows of 64 bytes for a total of 512 bytes. The erase operation also supports mass erase of an entire block. An erased bit reads as one and a programmed bit reads as zero.
-
Thread
SetupDiGetDeviceInterfaceDetail ERROR_INVALID_USER_BUFFER
setupapi.dll", CharSet:=CharSet.Auto)> _ Function SetupDiGetDeviceInterfaceDetail( _ ByVal DeviceInfoSet As IntPtr, _ ByRef DeviceInterfaceData As SP_DEVICE_INTERFACE_DATA, _ ByVal DeviceInterfaceDetailData As IntPtr, _ ByVal DeviceInterfaceDetailDataSize As Integer, _ ByRef RequiredSize As Integer, _ ByVal DeviceInfoData As IntPtr) As Boolean End Function Public Sub init() Dim GUID_DEVINTERFACE_GRMNUSB As System.Guid Dim DIDI As SP_DEVICE_INTERFACE_DATA Dim DIDC As SP_DEVINFO_DATA Dim DIDID As SP_DEVICE_INTERFACE_DETAIL_DATA
-
Thread
Funktionier Antiradarfabe auch beim PKW?
werden immer noch zu viel Fragmente erfasst, so das es für eine Erfassung reicht? Abgesehen davon,d as die Reifen auch beschichtet sein müssen
immer noch zu viel Fragmente erfasst, so das es > für eine Erfassung reicht? > Abgesehen davon,d as die Reifen auch beschichtet sein müssen Bullshit in Reinstform! Old-Papa
-
Thread
Bilder in den SDRAM in VHDL schreiben
1136) Unknown identifier "reset_n". ** Error: vga.vhd(42): Type error resolving infix expression "=" as type std.STANDARD.BOOLEAN. ###### vga.vhd(49): counter_proc: process(vga_clk_25, reset_n) ** Error: vga.vhd(49): (vcom-1136) Unknown identifier "reset_n". ** Error: vga.vhd(49): Expression is
1136) Unknown identifier "reset_n". ** Error: vga.vhd(51): Type error resolving infix expression "=" as type std.STANDARD.BOOLEAN. ###### vga.vhd(68): main_proc: process(vga_clk_25, reset_n) ** Error: vga.vhd(68): (vcom-1136) Unknown identifier "reset_n". ** Error: vga.vhd(68): Expression is not
-
Thread
Windows Embedded oder CE
Was soll das "Kiosk-System" >machen? Das OS (CE oder Embedded) soll ausgesucht werden für dieses as well as für weitere Projekte. Was dieses Kiosk-System angeht, soll ein Ethernet-to-RS485 Interface gebaut werden (1Ethernet auf 16, 32 RS485 Ausgänge), mit einem TFT-Touch zur Konfiguration. Wahrscheinlich
Massenspeichern gestartet werden können. > Das OS (CE oder Embedded) soll ausgesucht werden für dieses as well as > für weitere Projekte. > > Was dieses Kiosk-System angeht, soll ein Ethernet-to-RS485 Interface > gebaut werden (1Ethernet auf 16, 32 RS485 Ausgänge), mit einem TFT-Touch > zur Konfiguration
-
Thread
Arduino pulseIn()-Funktion funktioniert nicht mit Pin D9 (PB1)
verwendet: "OC1A/PCINT1 – Port B, Bit 1 OC1A, output compare match output: The PB1 pin can serve as an external output for the Timer/Counter1 compare match A. The PB1 pin has to be configured as an output (DDB1 set (one)) to serve this function. The OC1A pin is also the output pin for the PWM mode
www.arduino.cc/reference/en/language/functions/digital-io/digitalwrite/) "The analog input pins can be used as digital pins, referred to as A0, A1, etc. The exception is the Arduino Nano, Pro Mini, and Mini’s A6 and A7 pins, which can only be used as analog inputs." Vielleicht wird beim pinMode (A6,OUTPUT)
-
Thread
Gibt es einfach zu handhabende "große" Rams (16/32MB?)
Moin moin miteinander! Ich schildere mal kurz mein Problem, damit ihr wisst umw as es geht: Ich möchte einen Looper für E-Gitarre bauen, d.h. ich spiele eine Phrase ein während ich einen Fusstaster drücke. Lasse ich diesen los, wird die Phrase immer und immer wieder abgespielt,
wenig mehr als Null) Erfahrung habe und C bei mir auch eher ein Nieschendasein fristet würde ichd as ganze eben mit einem 8-Bitter oder einem TTL-Grab eben auch viel schneller lösen können. Für jemanden, der seit Jahren mit Embedded Linux oder ARM oder was weiss ich rummacht ist mein Vorgehen natürlich
-
Thread
Warum gibt es kein Bit-Array in C?
Proof-of-Concept? 1) Nimm dir die GCC-Quellen 2) Definiere einen neuen Address Space __bitmem. Der neue AS ist disjunkt zu allen anderen AS (Hook: TARGET_ADDR_SPACE_SUBSET_P). Es ist also nicht möglich, bei Zeigern den AS-Qualifier "hinzu" oder "weg" zu casten. 3) Beim Lesen wird 1 Bit gelesen
schreibende Variable == 0 ist. 5) "Abgeholt" werden die neuen Lade- und Speicher-Insns für den neuen AS in den mov<mode> insns, also movqi, movhi, etc. Hier wied auch die Adressberechnung ausgegeben und es werden Spezialfälle behandelt, etwa bei direkter Adressierung. 6) GCC neu compilieren
-
Thread
Klatschschalter Beschaltung
Oder hier mit opamp: http://www.produktinfo.conrad.com/datenblaetter/175000-199999/193135-as-01-de-Klatschschalter_mit_Kondensator_Mikrofon.pdf
********* $regfile = "m8def.dat" 'Ddrd = &B00100000 $crystal = 4000000 $baud = 2400 Dim Tmp As Word Dim Firstclap As Word Dim Lastclap As Word Dim Newflag As Bit Dim Clapcount As Byte Clapcount = 0 Newflag = 0 Acsr = &B00000000 Print "Hier bin ich" Sound Portc.0 , 300 , 150 Waitms
-
Thread
ATmega2560 hex File disassemblieren
0.01s avrdude.exe: Device signature = 0x1e9801 (probably m2560) avrdude.exe: safemode: hfuse reads as D8 avrdude.exe: safemode: efuse reads as FD avrdude.exe: reading input file "Data\RSG Firmware\Binary\RealSimGear-Arduino-3.2.4-G1000XFD1.ino.mega.hex" avrdude.exe: writing flash (9618 bytes):
avrdude.exe: verifying ... avrdude.exe: 9618 bytes of flash verified avrdude.exe: safemode: hfuse reads as D8 avrdude.exe: safemode: efuse reads as FD avrdude.exe: safemode: Fuses OK (E:FD, H:D8, L:FF) avrdude.exe done. Thank you. [/code] Danke und schönen Abend.
-
Thread
Port von AtMega16 etweitern? Bascom
Db5 = Portb.1 , Db6 = Portb.2 , Db7 = Portb.3 , E = Portb.5 , Rs = Portb.4 Initlcd Dim A , B As Byte dim result as word A = Pina B = Pind Dim Zahl As Byte Cls Cursor Off Do Cls Zahl = Pina Zahl = Zahl And &B1111111111110000 Zahl = Gray2bin(zahl) Locate 1 , 1 Lcd Zahl
dass man mit einem DIM gleich mehrere Variablen definieren kann. Die gepostete Fehlermeldung "AS expected" an der Stelle an der das Komma steht, unterstützt diese Auffassung noch mal stark. Also DIM A AS BYTE DIM B AS BYTE Vielleicht solltest du mal ein Tutorial über BASCOM durcharbeiten
-
Thread
Bascom - LCD - Zahlen trennen durch Komma
Portd.7 , E = Portd.3 , Rs = Portd.2 Config Lcd = 16 * 2 Config 1wire = Portc.5 Dim Dsid(8) As Byte Dsid(1) = &H10 : Dsid(2) = &H68 : Dsid(3) = &H17 : Dsid(4) = &H25 : Dsid(5) = &H01 : Dsid(6) = &H08 : Dsid(7) = &H00 : Dsid(8) = &H98 Dim Sc(9) As Byte -------------------------->Dim T As Integer Dim T1 As Integer Dim I As Byte Cls Cursor Off Locate 1 , 1 : Lcd "Mein Termometer" Do 1wreset 1wwrite &HCC 1wwrite &H44 Waitus 200 1wverify Dsid(1) 1wwrite &HBE Sc(1) = 1wread(9) If Sc
-
Thread
Solarstrom aus dem Weltall - Spinnerei oder Potenzial?
Thomas U. schrieb im Beitrag #7611970: > Das dazu notwendige Wasser schleppst du im Eimer woher? As dem Meer Pumpen und Entsalzen. Die Länder die den Luxus haben ans ans Meer anzugrenzen sollten sich generell mal eine anschaffen - wenn mal ne richtige Dürre kommt ist es zu spät.
Daniel A. schrieb im Beitrag #7611978: > As dem Meer Pumpen und Entsalzen. Solch ein Wasser ist nur dann sinnvoll, wenn es wieder mit Mineralien angereichert wird, deswegen ist die reine Entsalzung noch lange nicht der Weisheit letzter Schluss
-
Thread
Rotary-Encoder mit Arduino als Konzentrator
sense, it is the only "fake FAQ" in this FAQ. However, it ought to be a FAQ because people use "C/C++" as if it meant something specific and as if they knew what it meant, leading to much confusion and misery. People should ask "What is C/C++?" and then on reflection stop using the term. It does harm.
memcpy. There are people who stick to a restricted subset of C++ for perfectly good reasons, but they (as far as I have noticed) are not the people who say "C/C++".
-
Thread
Lohnt sich ein Studium?
> Noch nicht gemerkt? Hier im Irrenhaus von AS&B lass ich gern mal die Sau > raus. Hier bin ich Sau, hier darfs ich's sein. ;-) tja, da bist Du nur ein kleiner Spinner und man wird Dich auch weiterhin nicht mehr Ernst nehmen - Troll Dich einfach
jeder studiert mit dem Ziel, im Leben möglichst viel Geld zu verdienen. Auch wenn das für etliche in AS&B absolut unvorstellbar zu sein scheint. Insofern lässt sich der Begriff "lohnend" auch noch über den Lohn hinaus verstehen.
-
Thread
Problem mit struct und union
gewünscht mal noch den original Basic-Code (nicht Bascom): [code] Public Structure TFont Header As Word Data As Word Width As Byte Height As Byte Style As Byte LetterSpacing As Byte NumberOfChars As Header.Byte1 IsFixed As Header.Booleans(0) IsVariable As Header.Booleans(1) IsScanX As Header.Booleans(6) IsScanY As Header.Booleans(7) IsExtendedHeader As Header.Booleans(3) End Structure [/code] Die Byte1 und Booleans-Makros stehen hier offenbar schon zur Verfügung. Wie
-
Thread
Programm flashen - "avrdude.exe: verification error"
As String * 6 Dim Gps_anzahl As Byte Dim Gps_teilstring(14) As String * 12 Dim Gps_hoehenteilstring(2) As String * 8 Dim Befehls_zeichen As Byte Dim Befehlsdaten As String * 101 Dim Befehls_header As String * 6 Dim Befehls_anzahl As Byte Dim Befehls_teilstring(5) As String * 21 Dim Temp(9) As Byte Dim X As Byte Dim Celsius As Integer Dim T As Single Dim Temperatur As String * 5 Dim A
-
Thread
Wer hat Zeit? (AVR Programmingtool Problem)
Com1 = Dummy , Synchrone = 0 , Parity = None , Stopbits = 1 , Databits = 8 , Clockpol = 0 Dim S As Single , X As Single X = 0.5 : S = Asin(x) Print S '0.523595867 End
Com1 = Dummy , Synchrone = 0 , Parity = None , Stopbits = 1 , Databits = 8 , Clockpol = 0 Dim S As Single , X As Single X = 0.5 : S = Asin(x) Print S End
-
Thread
Passwort-Manager vs Excel-Tabelle?
#Neuland schrieb im Beitrag #5690108: > Office 2007–2013 verschlüsselt mit einem 128-bit key AES, O2k16 sogar > mit einem 256-bit key - Das ist an sich "sehr sicher". > https://en.wikipedia.org/wiki/Microsoft_Office_password_protection > > Beim PW-Manager kommt es eben auf das Programm an,
Passwörtern, ist also völlig Banane. Ein kompromittierter Recher ist nicht vertrauenswürdig, simple as that.
-
Thread
AVR USBtinyISP Programmer mit atTiny85
> Zudem lässt sich wohl jeder AVR Arduino zum "Arduino as ISP" machen. Joni W. schrieb im Beitrag #6210805: > Habe ich auch versucht, hat jedoch nicht funktioniert. Das klappt aber ganz genau so, wie in der Anleitung beschrieben. Ich habe es mit einem
. schrieb im Beitrag #6210805: > Habe ich auch versucht, hat jedoch nicht funktioniert. "Arduino as ISP" funktioniert. Also hast du was falsch gemacht. KA, was ... Joni W. schrieb im Beitrag #6210805: > Müsste ich für > den Programmer von oben auch etwas in der programmers.txt-Datei > ergänzen
-
Thread
Pic 16f877 Assembler
-2: BLOCK DIAGRAM OF RA4/T0CKI PIN NOTE: On a Power-on Reset, these pins are con- figured as ANALOG inputs and read as '0'. BCF STATUS, RP0 ; BCF STATUS, RP1 ; Bank0 CLRF PORTA ; Initialize PORTA by clearing output data latches BSF STATUS, RP0 ; Select Bank 1 MOVLW 0x06 ; Configure all pins MOVWF ADCON1 ; as digital inputs MOVLW 0xCF ; Value used to initialize data direction MOVWF TRISA Set RA<3:0> as inputs RA<5:4> as outputs ; TRISA<7:6>are always read as ’0’. Weiterhin fehlt das
-
Thread
von pc eine variable in Atmega uebergeben
AMPERE 123 'Command_array(1) Command_array(2) Command_array(3) Dim Ampereeeprom As Eram String * 3 Dim Ampere As String * 3 .. .. .. Case "AMPERE" Ampere = Command_array(3) Ampereeeprom = Ampere Locate 1 , 1 Lcd Ampere ; " " ; Ampereeeprom
Labelampere: Data "999" $data ' Default LCD Pins für den Simulator Config Lcd = 16 * 4 Dim Ampere As String * 3 Dim Command_array(3) As String * 3 Cls Do Command_array(3) = Str(rnd(999)) ' Simulierte Eingabe Locate 1 , 1 Lcd "C_A(): " ; Command_array(3) Readeeprom Ampere , Labelampere
-
Thread
Platine als Kühlkörper
sollte dabei dann aber auch so dünn wie möglich sein, siehe auch dein Link: > provided it is applied as thinly as possible. Ob da die Dicke des Lötstoplackes nicht eher kontraproduktiv ist? Ich würde die Kupferfläche eher mit einem schwarzen Edding bestreichen.
@ Gast (Gast) >> provided it is applied as thinly as possible. Sicher. >Ob da die Dicke des Lötstoplackes nicht eher kontraproduktiv ist? Glaub ich nicht, man kann ja praktisch durchsehen. >Ich würde die Kupferfläche eher mit einem
-
Thread
Optimierung und Schutz eines mehrkanaligen Phasenabschnittdimmers
higher Rg heavily affects the > driver/PWM controller, requiring it to sustain a higher temperature, as > well as dissipating more power to charge the MOSFET input capacitance. It > is also potentially produces cross conduction that may cause system > disruption due to static dv/dt. und weiter
higher Rg heavily affects the driver/PWM controller, requiring it to > sustain a higher temperature, as well as dissipating more power to charge > the MOSFET input capacitance. Diesen Part kann ich zudem nicht ganz nachvollziehen. Das Schaltverhalten/Effizienz verschlechtere ich mit allen Varianten
-
Thread
Bilder unter Ubuntu im Originalformat speichern und nicht als .webp
World-Wide Web global information initiative since 1990. The first version of HTTP, referred to as HTTP/0.9, was a simple protocol for raw data transfer across the Internet. [/pre] So sehe und lerne.
Content-Type parameter (e.g., an "interpreter=" parameter) is found and executed using the message body as input. [/code] https://www.iana.org/assignments/media-types/application/octet-stream Haha. Hahahaha...
-
Thread
Feuerlöscher Gesperrt
pressure than the one you are trying to fill. Standard CO2 cylinders all have liquid in them as long as they are filled but come in two types. Gas and Siphon. Gas cylinders stand upright and releases gas from the evaporation liquid when the valve is opened - this type of cylinder must be
pressure than the one you are trying to > fill. > > Standard CO2 cylinders all have liquid in them as long as they are > filled but come in two types. Gas and Siphon. > > Gas cylinders stand upright and releases gas from the evaporation > liquid when the valve is opened - this type of cylinder
-
Thread
Atmega128 AD-Wandlung
buffer,10), 1, 1, 2, 1, 1, green, black); } } } // Enhanced delay-routine (wait) as as the standard delay routine (_delay_ms) is not able to delay // more than 17 ms maximum as of the used 8-bit-timer (depending on used crystal) void delay_ms(uint16_t period) //delay routine (milliseconds
1, 2, 1, 1, green, black); delay_ms(1000); } } // Enhanced delay-routine (wait) as as the standard delay routine (_delay_ms) is not able to delay // more than 17 ms maximum as of the used 8-bit-timer (depending on used crystal) void delay_ms(uint16_t period) //delay routine (milliseconds
-
Thread
[S] preiswerte Sin/Cos-Encoder
Der AS5115 integriert meinen Lösungsansatz in einem Spezialbaustein. Aus taktischen Gründen könnte es jedoch geschickter sein, einen Standard-Digital-Encoder (ABZ oder SSI) mit einer MCU und zwei DACs zu verheiraten
man den Prototypen im Servomotor, die gelben LEDs sind A/B, blau ist Index. Die Loesung basiert auf AS5304/AS5000-MR20-44. Die Welle wird am vorderen Motorende per Hand gedreht.
-
Thread
Probleme mit DS18B20
= &H4E Const Copy_ram = &H48 Const Recall_ee = &HB8 Const Read_power = &HB4 Dim Family_code As Byte Dim Serial_number(6) As Byte Dim Crc As Byte Dim Scratch(9) As Byte Dim I As Byte Dim Temp As Word Dim Temp1 As Integer Dim Stemp As Single Do 1wreset 1wwrite Read_rom Family_code
= &H4E Const Copy_ram = &H48 Const Recall_ee = &HB8 Const Read_power = &HB4 Dim Family_code As Byte Dim Serial_number(6) As Byte Dim Crc As Byte Dim Scratch(9) As Byte Dim I As Byte Dim Temp As Word Dim Temp1 As Integer Dim Stemp As Single Do 1wreset 1wwrite Read_rom Family_code
-
Thread
Bester Audio OPV
mit Spitzenwerten beim Rauschabstand haben allerdings oft noch diskret aufgebaute Vorstufen mit GaAs-FET vor dem ersten OpAmp. Es grüßt RainerK
mit Spitzenwerten beim Rauschabstand haben >allerdings oft noch diskret aufgebaute Vorstufen mit GaAs-FET vor dem >ersten OpAmp. Hast du einen Link zu einer Schaltung mit GaAs-FETs? Das Rauschärmste, was ich kenne, wurde mal von Götz Corinth mit einem 1:30 Übertrager und einem JFET-Buffer gebaut
-
Thread
ATmega 8515/USART empfängt nicht schneller als 9600 Baud
(Baudrate über ComboBox von 2400-115200 einstellbar) [pre] Public Class Form1 Public baud As Integer Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Label1.Text = "Time:" ComboBox1.SelectedIndex = 0 End Sub Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click Label1.Text = "Time:" Dim diffzeit As Date = DateTime.Now Dim dummybyte(1) As Byte SP.PortName
-
Thread
Overlay und Funktionsübergabe in Bascom
Befehlsbuffer gefüllt, der in einem gemeinsamen Interpreter analysiert werden soll. <code> dim strBuffer1 as string*127 Dim BufferBytes(128) As Byte At strBuffer1 Overlay dim strBuffer2 as string*127 Dim BufferBytes(128) As Byte At strBuffer2 Overlay .. Call sInterpreter(strBuffer1) ... Call sInterpreter
128) As Byte Dim Strtext As String * 127 Dim Strzahl As String * 127 'max. 10 Stellen, aber zum Abfangen von Fehleingaben Do 'Logik: shared RAM lese und wenn neue Bytes
-
Thread
Neuer Lötkolben | Meinungen gefragt
www.reichelt.de/?;ACTION=3;LA=5000;GROUP=D212;GROUPID=549;ARTICLE=33235;START=0;SORT=user;OFFSET=1000;SID=27hAs3BqwQARsAAEzFDDAde4885750aa2621b203661a87fdb207b
=553;ARTICLE=69172;START=0;SORT=user;OFFSET=1000;SID=27hAs3BqwQARsAAEzFDDAde4885750aa2621b203661a87fdb207b :=)
-
Thread
AVR STUDIO ohne REGISTRIERUNG !Link! Gesperrt
version 5... http://www.atmel.com/dyn/resources/prod_documents/as5installer-5.0.1163-full.exe
http://www.atmel.com/Images/as6installer-6.0.1843.exe mfg
-
Thread
Land, indem Ings gesucht werden Gesperrt
"You would have to show exceptional skills within electrical systems and power system modeling, as well as strict time management, but, we doubt, this would scare you. With a such degree you would be able to find a job " mit den Eigenschaften wird man auch in Deutschland sofort genommen zum ordentlichen
You would have to show exceptional skills within electrical systems and > power system modeling, as well as strict time management, but, we doubt, > this would scare you. With a such degree you would be able to find a job > " > > mit den Eigenschaften wird man auch in Deutschland sofort genommen
-
Thread
Bitte um Hilfe (Layout)
In meiner Freizeit habe ich folgende Schaltung (im Anhang) entwickelt. Sie soll in mithilfe des AS5510 von AMS den Durchmesser von 3D-Druck-Filament messen, damit die Drucker-Firmware die Fördergeschwindigkeit kompensieren kann. Dazu wird per i2c die Position des Magneten erfasst und per Attiny85
Müsste bei dem Baustein AS5510 VSS nicht auf GND und VDD auf +3V3 gehen?
-
Thread
Schaltnetzteil reparieren, kann doch nicht so schwer sein !
Du Dich bei der Fehlersuche anlehnen. http://www.datasheetcatalog.com/datasheets_pdf/I/C/E/2/ICE2AS01.shtml MfG Paul
gegangen. Schließlich funktioniert das Netzteil wieder. Also ich denke es war von Anfang an der ICE2AS01 defekt. Vielen Dannk für die Hilfe !!
-
Thread
Uhrenquarz an Atmega8
void isr_init(void) { ASSR = (1<<AS2); TIMSK |= (1<<TOIE2); TCCR2 = (1<<CS22)|(1<<CS21); sei(); } //..... ISR(TIMER2_OVF_vect) { TCNT2 = 128; //.......Minute erhöhen }
Disable the Timer/Counter2 interrupts by clearing OCIE2 and TOIE2 2. Select clock source by setting AS2 as appropriate 3. Write new values to TCNT2, OCR2, and TCCR2 4. To switch to asynchronous operation: Wait for TCN2UB, OCR2UB, and TCR2UB 5. Clear the Timer/Counter2 Interrupt Flags 6. Enable interrupts
-
Thread
Problem in Bascom mit Variablen
'Strom Dim Daten4 As Word At &H84 Overlay 'Drehzahl Dim Daten5 As Word At &H86 Overlay 'Temperatur Dim Daten6 As Word At &H88 Overlay 'Empänger Spannung Dim Daten7 As Word At &H8A Overlay
'Strom > Dim Daten4 As Word At &H84 Overlay 'Drehzahl > Dim Daten5 As Word At &H86 Overlay 'Temperatur > Dim Daten6 As Word At &H88 Overlay 'Empänger Spannung > Dim Daten7 As Word At &H8A Overlay
-
Thread
SerialPort abfragen (VB2008)
könnte schon mal Danke Micha [c] Imports System.IO.Ports Public Class Form1 Dim Daten As Integer 'Daten empfangen Private Sub btnOK_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnOK.Click SerialPort1.PortName = "com4" SerialPort1
System.IO.Ports Imports System.Windows.Forms Imports System Public Class Sim Dim Verbindung As Double Dim Daten As String Private Sub btnOK_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnOK.Click SerialPort1.PortName = "com4" SerialPort1
-
Thread
Colibri T20 von Toradex - EW2012: wer hat ein Board bekommen?
using rtc device, m41t00, for alarms [ 8.091339] rtc-ds1307 0-0068: rtc core: registered m41t00 as rtc0 [ 8.129070] tegra_rtc tegra_rtc: rtc core: registered tegra_rtc as rtc1 [ 8.135685] tegra_rtc tegra_rtc: Tegra internal Real Time Clock [ 8.141793] tps6586x-rtc tps6586x-rtc.0: rtc core: registered tps6586x-rtc as rtc2 [ 8.150375] i2c /dev entries driver [ 8.154296] lirc_dev: IR Remote Control driver registered, major 251 [ 8.158996] usb 1-1: new high speed USB device using tegra-ehci and address 2
-
Thread
SPI Kommunikation mit Target über USBasp
- usbInputBufOffset, len); #if USB_CFG_HAVE_FLOWCONTROL if(usbRxLen > 0) /* only mark as available if not inactivated */ usbRxLen = 0; #else usbRxLen = 0; /* mark rx buffer as available */ #endif } if(usbTxLen & 0x10){ /* transmit system idle */
have the "ISR_NOBLOCK" attribute set (see "avr/interrupt.h") or be written in assembler with "sei" as the first instruction. [/c] Mit *ISR_NOBLOCK* sollte also alles im grünen Bereich sein. Gruß Oliver
-
Thread
Nachfolger des RP2040/Raspberry Pi Pico
value to customers of long term availability of product and therefore aims to continue supply for as long as practically possible. We expect RP2040 to remain in production until at least January 2041. https://datasheets.raspberrypi.com/rp2040/rp2040-product-brief.pdf Seite 3
value to customers of long term availability of product and therefore aims to continue supply for as long as practically possible. We expect RP2040 to remain in production until at least January 2041." https://www.raspberrypi.com/products/rp2040/specifications/
-
Thread
Eagle 5.0 ist da
Totale Katastrophe. "Run as freeware" produziert nur nen Fehler, danach kommt er mit nem Dialog, wo man den Schluessel angeben soll. OK, den "freeware.key" genommen produziert wieder nen Fehler. Sowas wie Qualitaetskontrolle is
>Totale Katastrophe. "Run as freeware" produziert nur nen Fehler.. Habe es gerade ausprobiert unter openSUSE 10.3 funktioniert als Freeware einwandfrei. Hab mal das kleine Demo Projekt geöffnet. Geht soweit auch, nur beim
-
Thread
Suche Mitwirkende für Universal-FPGA board
, weil sie wenige Pins am FPGA braucht. Mir haben die P/MODS bisher wenig genutzt, weil es kein AES3, S/PDIF oder ähnliches als PMOD gab. Kann man aber durchaus selber verdrahten, was bei meinen 768kHz S/PDIF nicht so einfach ist, wegen der Bandbreite. Ich denke, irgendwie kriegt man das Gewollte
unsere Wege sich gut zusammen tun. Meine derzeitige I/O digitale Module: XLR, RCA, TosLink alle AES/EBU und ADAT fähig, und dann noch MIDI. Eingänge sind galvanisch geschieden. XLR und RCA haben feste (teil) Kabel Neutralisation. Materialkosten sind jetzt sind (5x8 Prototyp I/O Module) weniger als
-
Thread
USI auf Tiny84 bricht Übertragung ab, bei negativem Flankenwechsel
USI_TWI_Master_Initialise( void ) { PORT_USI |= (1<<PIN_USI_SDA); // Enable pullup on SDA, to set high as released state. PORT_USI |= (1<<PIN_USI_SCL); // Enable pullup on SCL, to set high as released state. /* Achtung: ATTiny24 & Co haben im TworWire Mode die internen Pull-ups deaktiviert
werden!!! */ DDR_USI |= (1<<PIN_USI_SCL); // Enable SCL as output. DDR_USI |= (1<<PIN_USI_SDA); // Enable SDA as output. USIDR = 0xFF; // Preload dataregister with "released level" data. USICR = (0<<USISIE
-
Thread
Lazarus + Synaser
Value of 3 ScrollBars is sended by RS232 to my Arduino. At 3 LedBars, the values are displayed as (0-255) values. ( gonna be in 0 to 8 led's later as is it showing an audio-level-indicater ) In Lazarus the refresh rate is 10/sec. Only the value of the last changed Scrollbar is sended to Arduino. At my Lazarus INIT al of the 3 wil be sended! I'm using 1 byte as LedbarNumber and 3 bytes as LedBarValue. The string 'el' (end-line) is added as delimiter. I'm very happy I got this far programming RS232. Next step is to controll my robotArm by PC-RS232