-
Thread
Programm bearbeiten. wie?
= "m8def.dat" $crystal = 16000000 $baud = 4800 Config Lcd = 16 * 2 Cls Cursor Off Dim C As Byte Dim I As Byte Dim Time As String * 6 Dim Av As String * 2 Dim Lat As String * 8 Dim Ns As String * 2 Dim Lon As String * 9 Dim Ew As String * 2 Dim Spd As String * 6 Dim Crs As String * 6 Dim Leng As Byte Dim Mrk As String * 2 Dim Xx As Bit Declare Sub Wait_for_string(byval S As String) Declare Function Read_string() As String Wait 1 Upperline Lcd "WAITING FOR DATA" Wait 3 Mrk
-
Thread
PIC 32 schneller Basic Interpreter
Wire. These can be used to communicate with many sensors (temperature, humidity, acceleration, etc) as well as for sending data to test equipment. Built in commands to directly interface special devices such as infrared remote controls, the DS18B20 temperature sensor, LCD display modules, battery backed
28-pin chip that runs MMBasic. It has most of the features of Maximite but is intended to be used as a powerful but easily programmed microcontroller for electronics projects.
-
Thread
Mega8 Temperatur Drehzahlregler
Umrechnung auf RPM/min. $regfile = "m8def.dat" $crystal = 8000000 Declare Function Lopulse() As Word Dim Value As Word Config Lcd = 16 * 2 Config Lcdbus = 4 Config Lcdpin = Pin , Db4 = Portd.4 , Db5 = Portd.5 , Db6 = Portd.6 , Db7 = Portd.7 , E = Portd.3 , Rs = Portd.2 Cursor Of Config
sinnvoll timer2 zu benutzen. $regfile = "m8def.dat" $crystal = 8000000 $baud = 9600 Dim 1count As Long At &H60 Dim Wcountlo As Word At &H60 Overlay Dim wcounthi as word at &h62 overlay Dim Grad As Word Dim Rpm As Word On Icp1 Oncapture On Ovf1 Onoverflow 'Display Einstellungen-------
-
Thread
VHDL Grundlagen Pin Zustand lesen, Flankenerkennung
momentarily during switching between on and off states. Consequently, CMOS devices do not produce as much waste heat as other forms of logic". Die älteren von uns erinnern sich vielleicht noch an den CMOS-RAM, der extra als batteriegepufferter Langzeitspeicher in den PC's der achtziger verbaut war
etwas angegraut: Tin max = 250 ns) * https://www.xilinx.com/support/answers/39681.html (Spartan 6): "As long as the design can meet timing with the input signal *once it has gone past the Vih or Vil point* in its transition, the signal should be detected correctly."
-
Thread
Fake Transistoren
recommended output not exceeding 30W, this index will be very good. Of course, it can 40W output, as long as you do later-stage low pass." Bei den Bildern sieht man dann noch einen 40 dB Unterschied vom Nutzsignal zur ersten(?) Oberwelle. Natürlich mit Tiefpass.
C1971, aber mit einem anderen Pin-Layout auf. Da bleibt doch nurnoch ein einziger Schluss übrig: "as fake as fake can be" Da brauche ich keinen Transistortester um das festzustellen. Okay, in meinem Fall arbeitet der Substitut zu meiner Zufriedenheit. Auch in meiner Testschaltung macht er einen
-
Thread
Logic Analyzer bauen
simpl was hätten wir an vorschlägen was bauteile betrifft... XC9536XL oder XC9572XL =>cpld AS7C3256A =>sram avr/arm =>controller CY22393/CY22394/CY22395 =>clockgen interfaces cpld=>controller : spi,i2c controller=>pc : rs232(,usb,ethernet)
Available MP bedeutet, verschließt sich mir. Der Preis ist natürlich top. Alternative Farnell: AS7C34098-12TCN (256K X 16; Zeit, Zugriff:12ns;) für 13,17 wäre das nahe liegenste, oder eben AS7C31026B-12TCN (64k x 16, 12ns) für 4,99 . Viele Grüße Olaf
-
Thread
verrückte Digital Audio frage
andere Komplexität... Außerdem ist ein Cat5 in der Regel schon zigmal besser als das, was man so an AES/EBU-Mikrofonkabel verkauft bekommt, und günstiger ists obendrein. Die AES arbeitet aktuell auch an einem Standard, um 2x AES3 plus Fast Ethernet zusammen über ein Cat5 zu übertragen. So abwegig ist die Idee mit AES3 über Cat also nicht, sollte das die Intention von Boris sein.
-
Thread
Ätznatron auf dem Index?
Zeugs raus. War nicht vor Jahren die ganze HF-Branche kurz vor dem geplanten (!) Aus, weil da in GaAs etwas Arsen verbaut ist? "Die Dosis macht das Gift!"
#7609863: > War nicht vor Jahren die ganze HF-Branche kurz vor dem > geplanten (!) Aus, weil da in GaAs etwas Arsen verbaut ist? Beleg?! Oder wolltest du einfach mal wieder einen raushauen?
-
Thread
Atmega8L: Warum geht Timer0 Interrupt nicht?
poste: $regfile "m48def.dat" $crystal = 10000000 $baud = 9600 Config Portb = Output Dim A As Integer 'Winkel Alpha Dim B As Integer 'Sin- Wert von Alpha Dim C As Integer 'Ein- Zeit der PWM (indirekte Spannung) Dim D As Integer 'Winkel Dim E As Integer Dim W As Byte 'PWM- Timer ==================================================================== Config Timer1 = Pwm ,
-
Thread
Warum ist das Universum nicht zu einer Singularität kollabiert?
Was auch nur eine Theorie ist. Es gibt mittlerweile so einige Ansätze, die darüber hinaus gehen... "As is well known, the main features of quantum mechanics, like the Schrödinger equation, for example, have only been postulated, but never derived from some basic principles. (Cf. Murray Gell-Mann: “Quantum
correct theory must fit.”) Even in causal interpretations of the quantum mechanical formalism, such as the de Broglie-Bohm theory, the quantum mechanical wave function, or the solution of the Schrödinger equation, respectively, is taken as input to the theory (sometimes even as a “real” ontological field
-
Thread
Suche Browser unter Windows, welcher Multiscreen - Vollbild beherscht.
Eigenen"? Hier in VB basierend auf Webview2: [code] Public Class frm_Main Private isFullscreen As Boolean = False Private normalBounds As Rectangle Private normalBorder As FormBorderStyle Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load WebView.Source
(sender As Object, e As KeyEventArgs) Handles WebView.KeyDown If e.KeyCode = Keys.F11 Then ToggleFullscreen() e.Handled = True End If End Sub End Class [/code]
-
Thread
AS6 Probleme mit debug agent
Hallo Ich habe ein Problem mit dem debug agent. Ich kann nicht vernünftig debuggen, weil immer der debug agent aussteigt. Das habe ich erst seit dieser Woche. Das einzige update das installiert wurde ist ein neues asf. Aktuelle Konfiguration: Atmel Studio 6 (Version: 6.0.1996 - Service Pack 2) AVR Toolchain 8Bit (3.4.1.830 - GCC 4.6.2) AT90CAN - debug über JTAG Kann jemand etwas zu dem Problem mit dem Debug Agent beitragen und mir helfen?
-
Thread
Temperaturkalibrierung InGeAs Photodiode
einige Anregungen bezueglich meines Problems zu bekommen. Ich moechte ganz gerne mit einer InGaAs Photodiode die Temperatur messen. Leider hat mein Versuchsaufbau einige Restriktionen, so dass Infrarot Sensoren nicht in Frage kommen, da diese unter anderem einen zu grossen Spotdurchmesser haben.
-
Thread
AS1100 (oder so) programmieren
Hallo erstmal. Ich wollte eine 7-Segment steuerugn bauen. Dafür hatte ich an den AS1100 (odere spätere Modelle) gedacht. Mein problem ist jetzt, dass ich keine Ahnung habe, wie man diesen programmiert bzw. ansteuert. Ich hab mir das Datenblatt angesehen und weiß jetzt zwar, dass man
-
Thread
FYI Heise: AES auf AVR ATmega
Cryptography Engineering, Teil 4: AES auf AVR ATmega http://heise.de/-1442338
-
Thread
AS6C4008 ansteuern
74hc595 wieder auszugeben. Das Problem ist, dass immer nur dass rauskommt, was ich als letztes in den AS6C4008 geschrieben habe. Ich vermute, dass der Schreibvorgang gar nicht erst funktioniert hat, sondern der Atmega32 nur den Datenbus ausliest und dort immer noch dass drin steht, was eigentlich als letztes geschrieben werden sollte. Im Anhang ist der Quellcode in C und das Datenblatt des AS6C4008. Anmerkungen: PORTC = Datenbus, PORTD(PIN 0,1,2) = 3 kaskadierte 74hc595 für die Adressierung an den AS6C4008, PORTD(PIN 3,4,5) = WE, OE, CE für die Steuerungspins des SRAMs, PORTD(PIN
-
Thread
Funk Controller für AS-Motor
Hallo Experten, ich muss als Hausarbeit eine Drehvorrichtung entwerfen. Doch das soll nicht der springende Punkt sein. Zum Antrieb soll ein Asynchronmotor verwendet werden, da eine stufenlose Drehzahlregelung erfolgen soll. Ich habe mir diesen hier herausgesucht: http://www.orientalmotor.de/de/sites/produkt_4.php?ida=1&idser=106&idpr=3085&sgid=88 Zu diesem ist auch ein Controller. Nun würde ich gern den Motor über eine Fernbedienung steuern (an, aus und Geschwindigkeit) und bräuchte dazu, wie ich gelesen habe, einen Funk-Controller, den es wohl als Steckmodul geben soll und alles in allem
-
Thread
Magnet für AS5045 gesucht
Hallo ich suche einen Magneten für den AS5045 Drehgeber. Im Datenblatt steht dass dieser 45- 75 mT haben soll. wo bekomme ich so einen her.
-
Thread
hat jemand Erfahrung mit dem Drehgeber AS5045?
Hallo hat schon mal einer von euch etwas mit dem Drehgeber AS5045 realisiert? Kann ich den Serial out an einen belibigen Pin meines Mega8 anklemmen? Dürfen die Leitungen wirklich nur 6 cm lang sein? Wie siehts da mit der Auswertung aus? Seit ihr generell zufrieden
-
Thread
AES, Rijndael, WinAVR, Library
Hallo *, hier ist eine AES Library fuer den ATMega644 mit Demoapplikation und Uart Ausgabe. Die Verschlüsselungsroutinen sind im Original von B.Poettering in Atmel Assembler codiert gewesen. Ich habe sie auf den WinAVR portiert
-
Thread
Grundig Prüfsender AS 2 Zubehör
Hallo, vielleicht kann mir jemand hier helfen. Ich suche das Zubehör für den AS 2. Genauer das Breitband-Symmetrieglied Typ 6046 und den UKW-Abschwächer -60db Typ 6044. Ev. noch die künstliche Antenne Typ 6045 und das Verbindungskabel Typ 6047 MfG. Bernd
-
Thread
Kontaktloser Drehzahlsensor AS5020-E
hallo, hat jemand zufällig schon Erfahrung mit dem kontaktlosen Drehzahlsensor AS5020-E von austriamicrosystems. Ich will damit meine Drehzahl anhand des Magnetfeldes messen. Als Schnittstelle will ich eine SSI Schnittstelle verwenden , meine Frage jetzt ob ein Programm dafür bereits
-
Thread
Suche Magnetic Sensor AS5311
Moin ! Hat jemand noch so ein AS5311-TS_EK_AB Sensor Board rumliegen, braucht das nicht mehr und verkauft ohne Mindestbestellwert und und und.....? Danke
-
Thread
IAR Projekt mit AS7 öffnen
Servus, kann ich irgendwie ein IAR Projekt für AVR (AVR449) ins Atmel Studio übernehmen? Danke im Voraus!
-
Thread
Audio frequenz erkennung
Config Pind.6 = Output Config Timer1 = Timer , Prescale = 64 , Capture Edge = Rising Dim Wtime As Byte Dim Timercounter As Word On Capture1 Captmr Wtime = 100 Timercounter = 0 Enable Interrupts Enable Capture1 Do 'Set Portd.6 Waitms Wtime 'Reset Portd.6 Waitms Wtime
regfile = "ATtiny2313.dat" $crystal = 10000000 $framesize = 32 $swstack = 32 $hwstack = 32 Dim A As Word 'int0 teller Dim B As Word 'tijdelijke int0 waarde Dim C As Byte
-
Thread
Usart (Fleury) Übertragungsprobleme.
uart1_putc( (unsigned char)c ); } } } // 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
delay_ms(1000); put_s("Test"); } } // 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
-
Thread
Atmega 328p und FT232RL Problem
translated into instructions / language the uController will understand. 3) Code into uCcontroller As you might understand, when writing sourcecode, translate it into binary code, will still not make the uController work as you like. The sourcecode needs to be stored / written into the uController. Upto
more than a "USB to serial port" converter. It's not a programmer, it's just a tool which can act as a front-end for a programmer (in this case). P.S.3. I'm sure there are people who like to add info about what I wrote. Feel free, to do so, in order to make things more clear for Tony and other people
-
Thread
SUCHE - Netzwerkkarte mit RTL8019 Chipsatz
oha davon hätt ich auch gerne 2 ... also die netzwerkkarte mit dem RTL8019AS Danke im voraus .... Schöne Grüße
Nabend, eine Karte mit RTL8019AS habe ich noch als Reserve liegen, bei Interesse einfach melden. Sirko
-
Thread
/var/log/debug für Joachim B.
aber immer so aus (weitere Argument weggelassen) [code] /usr/bin/synergy-core --client -f --run-as-uid 1000 --display :0 --debug DEBUG [/code]
sieht aber immer so aus (weitere Argument > weggelassen) /usr/bin/synergy-core --client -f --run-as-uid 1000 > --display :0 --debug DEBUG Kannst du eventuell den Aufruf "/usr/bin/synergy-core --client -f --run-as-uid 1000 --display :0 --debug ERROR" direkt ins Unitfile einsetzen, statt dem synergy-service
-
Thread
Externe Soundkarte bei Audiobearbeitung
die Stückzahlen niedrig und die Schmerzgrenzen hoch ;) Aber mal von internen Karten für multiples AES3 oder MADI-IO (zB. RME HDSPe AES/MADI) abgesehen, ist deren Zeit eigentlich auch schon abgelaufen. Und selbst AES3/MADI wird langsam obsolet, Dante/Ravenna/AES67 über Netzwerk ersetzt den teuren Audiokabelkram
Firmware, und bis 48kHz. RME laufen die PCI, PCIe und Mini-Express-Karten (auf analog IO, MADI,AES, ADAT ...). Diese auch bis 192kHz Und die sind die schnellsten, weil USB protokollbedingt immer noch 1 bis 2 ms zusätzlich braucht. MADI an USB gibt es noch das MADI UB Digico Madi UB, wieder bis
-
Thread
IAR for ARM - IRQ-Funktion nur kompiliert wenn im Code referenziert
TIM2_IRQn); __enable_irq(); TIM2->CR1 = TIM_CR1_CEN; } int main() { /* Set System-Clock as high as possible */ RCC->CFGR = RCC_CFGR_SW_1 | RCC_CFGR_PLLMULL_3 | RCC_CFGR_PLLMULL_2 | RCC_CFGR_PLLMULL_0; RCC->CR = RCC_CR_HSION | RCC_CR_PLLON; /* Set GPIO C13 as High-Speed PushPull
MemManage_Handler ; MPU Fault Handler ... DCD DMA2_Channel5_IRQHandler ; DMA2 Channel 5 DCD AES_IRQHandler ; AES DCD COMP_ACQ_IRQHandler ; Comparator Channel Acquisition dann folgen die *schwachen* Definitionen: ... PUBWEAK SysTick_Handler SECTION .text:CODE:REORDER(1
-
Thread
Knacknuss Text aus PDF extrahieren
könnte: https://stackoverflow.com/questions/3488042/how-can-i-extract-embedded-fonts-from-a-pdf-as-valid-font-files
fonts may be made without reference to a character collection by using an "identity" encoding, such as Identity-H (for horizontal writing) or Identity-V (for vertical). Such fonts may each have a unique character set, and in such cases the CID number of a glyph is not informative;" wenn es keine
-
Thread
Merkwürdige Compileroptimierung, wo liegt (mein) Denkfehler
constraints imposed by language standards. This may cause non-conforming programs to no longer work as expected, such as SPEC CPU 2006 464.h264ref and 416.gamess. A new option, -fno-aggressive-loop-optimizations, was added to disable this aggressive analysis. In some loops that have known constant
gesehen. Zitat: > If the member used to read the contents of a union object is not > the same as the member last used to store a value in the object, > the appropriate part of the object representation of the value is > reinterpreted as an object representation in the new type ... > This might
-
Thread
PIC18f1330 - Konfiguration
Reset bzw. nach Power-On so aus: > ---01111 > und bei bit 3-0 steht die '1' für: Port is configured as RAx > Passt also soweit. Aus dem Datasheet: DS39758C-page 81 Note: On a Power-on Reset, RA0, RA1, RA4 and RA5 are configured as analog inputs and read as ‘0’. RA2 and RA3 are configured as
Datasheet: DS39758C-page 81 > > Note: On a Power-on Reset, RA0, RA1, RA4 > and RA5 are configured as analog inputs > and read as ‘0’. RA2 and RA3 are > configured as digital inputs. Mh, sehr seltsam. In dem gleichen Datasheet ist in der Tabelle aus Seite 42 aber was ganz anderes geschrieben.
-
Thread
LED Dimmer mit ATiny13 und einem Taster
"Attiny13.dat" $crystal = 1200000 $hwstack = 10 $framesize = 17 $swstack = 0 Dim Hell As Word Dim An As Word Dim Aus As Word Dim Pressed As Word Dim Neu As Word Dim Heller As Word Dim Dunkler As Word Dim Pwm As Word Dim Analog As Word Dim Dimm As Word Const Starthelligkeit
= "Attiny13.dat" $crystal = 1200000 $hwstack = 10 $framesize = 17 $swstack = 0 Dim Hell As Word Dim An As Word Dim Aus As Word Dim Pressed As Word Dim Neu As Word Dim Heller As Word Dim Dunkler As Word Dim Pwm As Word Dim Analog As Word Dim Dimm As Word Const Starthelligkeit
-
Thread
STM32F407VGT6 China Board not working Tips?
project. I have a sample code which works on the Discovery and i flashed the code with my Nucleo Board as programmer into the China Board which was a success. I tried two ways, first the SWD Header on the Nucleo like here: (https://developer.mbed.org/questions/7974/F401RE-Cut-off-ST-LINK/) i also soldered
------------- 2.2.12 Clocks and startup On reset the 16 MHz internal RC oscillator is selected as the default CPU clock. The 16 MHz internal RC oscillator is factory- trimmed to offer 1% accuracy over the full temperature range. The application can then select as system clock either the RC oscillator
-
Thread
Problem Zufallsgenerator
start , you must set this correctly for Stack out SPL,r16 ldi Temp, Wza ; Switch Port B as bit 0 -3 Output , bit 4 as input out DDRB, Temp ldi Temp, Wza ; All LEDs off out PortB,Temp ldi temp,0b00110000 ;turn on sleep mode and power out MCUCR,temp ;down plus
************************** longDelay: mov temp,speed clr T1 ;T1 used as delay 2nd count clr T2 ;T2 used as delay 3d count delay_1: dec T2 brne delay_1 dec T1 brne delay_1 dec temp
-
Thread
Einfache CPU, einfacher Rechner, nur zum Lernen, Erfahrung?
Hausmeister in Staatsdiensten??? Wie mein alter Mentor einst dreideutig sagte: "Comparisons are as bad as clichés."
Lizenz (defacto Public Domain). Mit welchem Assembler kann man das assemblieren? Ich vermute AS65 geht nicht.
-
Thread
Jtagice mkII und ATMega644
Hallo, ich versuche hier gerade verzweifelt ein Programm mit dem AS 4.19 auf einen ATMega644 mit dem JTAGICE mkII zu spielen und bekomme ständig diverse Fehlermeldungen: Versuch ichs über den den Connect Dialog, poppt das Fenster immer wieder von neuem auf, egal ob
auch nur am USB hängt und trotzdem funktioniert. Gibt sonst noch irgendwelche Einstellungen im AS, die man vornehmen muss, damit das Ganze funktioniert? Danke! Grüße
-
Thread
DS1820
4000000 Config 1wire = Portb.4 'use this pin Dim Ar(2) As Byte , A As Byte , I As Byte , Temperatur As Integer Dim Halb As Byte Config Lcdpin = Pin , Db4 = Portd.0 , Db5 = Portd.1 , Db6 = Portd.2 , Db7 = Portd.3 , E = Portd.5 , Rs = Portd.4 'These settings
festlegen, Schnittstelle wird von BASCOM durch Software realisiert Config 1wire = Portd.3 Dim Dsid(8) As Byte Dim I As Byte Dim Nr As Byte Nr = 1 Cls ' Ersten angeschlossenen DS1820 finden und Adresse auslesen Dsid(1) = 1wsearchfirst() Locate 1 , 1 : Lcd "DS1820 Nr " ; Nr : Nr = Nr + 1 Locate
-
Thread
LWL Schnittstelle Halb-Duplex (nur ein LWL!)
Steckern und korrekten Abschlüssen habe ich schon über 200m damit überbrückt. > Fuer mehr sollte man AES3 unbalanced verwenden? AES ist balanced und damit störunanfälliger als SPDIF per Koax. Was meinst Du mit AES3 unbalanced? Georg P. schrieb im Beitrag #8073134: > Eventuell kann man Steckverbinder
schon über 200m damit überbrückt. > Es soll ja moeglichst billig sein. >> Fuer mehr sollte man AES3 unbalanced verwenden? > > AES ist balanced und damit störunanfälliger als SPDIF per Koax. > Was meinst Du mit AES3 unbalanced? > Steht so bei Wikipedia (englisch!). > Georg P. schrieb im
-
Thread
Projekt Signal-Auswertung mit High-Speed-ADC
limited to 16K or 32K locations, depending on the Chip Select pin being used. Disabling PMCS2 and PMCS1 as Chip Selects allows these pins to function as address lines PMA15 and PMA14, increasing the range to 64K addressable locations. A dedicated I/O pin is required to function as the Chip Select and the
function of this pin. To interface to memory devices larger than 64K, use additional available I/O pins as the higher order address lines A16, A17, A18, etc., as shown in Figure 13-46.
-
Thread
Warum BWL-Manager Ingenieuren intellektuell unterlegen sind
Engineers and scientists will never make as much money as business executives and sales people. Now we have a mathematical proof that explains why this is true: Postulate 1: Knowledge is Power. Postulate 2: Time is Money. As every engineer
: Work Money = ---------- Knowledge Thus, as Knowledge approaches zero (like in the social sub-group indicated from above), Money approaches infinity regardless of the amount of Work done! Gefunden auf 8052.com
-
Thread
define DATE "01.12.2015" trennen
Makros: http://stackoverflow.com/questions/11697820/how-to-use-date-and-time-predefined-macros-in-as-two-integers-then-stri Gruß JensM
aus dem C-Standard selbst: [pre] In this International Standard, ``shall'' is to be interpreted as a requirement on an implementation or on a program; conversely, ``shall not'' is to be interpreted as a prohibition. [/pre] Ich finde das /etwas stärker/ bindend als die im Deutschen übliche
-
Thread
Bascom: Hex per Software UART ausgeben
$framesize = 40 $swstack = 10 $hwstack = 32 $crystal = 14745600 $baud = 9600 Dim S As String * 23 Dim Bytes_to_send(23) As Byte Bytes_to_send(1) = &HA0 Bytes_to_send(2) = &H15 Bytes_to_send(3) = &H01 Bytes_to_send(4) = &H88 Bytes_to_send(5) = &H77 Bytes_to_send(6) = &H48 Bytes_to_send
jetzt der BASCOM Experte zu sein. Ich kann mir nicht vorstellen, das das hier [code] Dim S As String * 23 Dim Bytes_to_send(23) As Byte .... S = Bytes_to_send(23) [/code] von den Datentypen her passen wird. Ich könnte noch nicht einmal sagen, was diese Zuweisung für eine Operation
-
Thread
7-Segment Anzeige ansteuern (Gray-Code und ATmega32)
avr.stack = 64 '--------------------------------------- ' define I/O Portpins #define INPUT0 as portA.0 #define INPUT1 as portA.1 #define INPUT2 as portA.2 #define LED_OUT as portd '--------------------------------------- ' setup I/O Portpins INPUT0.mode = input, nopullup INPUT1.mode
-------------------- ' Belegung der LED Segmente ' Wahl des LED Typs #define LED_COMMON_ANODE as 0 #define LED_COMMON_KATHODE as 1 #define LED_COMMON_TYPE as LED_COMMON_KATHODE ' Belegung der LED Segmente am Port LED_OUT ' LED_SEG_DP = Bit7 wird nicht bedient. const LED_SEG_A = (1<<0)
-
Thread
Atmega8 wird nicht richtig erkannt und kann nicht geflasht werden!
0x00, 0x50, 0x00, 0xe4 avrdude: safemode read 3, lfuse value: e4 avrdude: safemode: lfuse reads as E4 avrdude: usbasp_cpi_cmd(0x58, 0x08, 0x00, 0x00)... avrdude: usbasp_transmit("USBASP_FUNC_TRANSMIT", 0x58, 0x08, 0x00, 0x00) <= [00] [58] [08] [99] avrdude: usbasp_cpi_cmd() => 0x00,
0x00, 0x50, 0x08, 0xff avrdude: safemode read 3, efuse value: ff avrdude: safemode: efuse reads as FF avrdude: safemode: Fuses OK (H:FF, E:99, L:E4) avrdude: usbasp_close() avrdude: usbasp_transmit("USBASP_FUNC_DISCONNECT", 0x00, 0x00, 0x00, 0x00) avrdude done. Thank you. [/code]
-
Thread
6 stellige Zahl auf Ram schreiben
= 61935 Dim A As Byte Dim B As Byte Dim Lesen As Byte '----------= HAUPTPROGRAMM =---------- Cls 'LCD, Inhalt löschen I2cinit 'Anschaltung
Dim Minute As Long sollte helfen ohne den Rest jetzt angeschaut zu haben.
-
Thread
Serialisieren von 64 32 Bit words
Utilization: Number of Slice Registers: 16,060 out of 301,440 5% Number used as Flip Flops: 16,059 Number used as Latches: 1 Number used as Latch-thrus: 0 Number used as AND/OR logics: 0 Number of
1,638 Number used as ROM: 0 Number used as Memory: 0 out of 58,400 0% Number used exclusively as route-thrus: 1,728 Number with same-slice register load:
-
Thread
LookUp Tabelle erstellen
habe es jetzt einfach mit einer Tabelle und der Interpolation gelöst. [code] Sub Mapping(WertIn as word, WertOut as Single,byval Map as String * 10) Dim Wert_Min as Single Dim Wert_Max as Single Dim ADC_Min as Word Dim ADC_Max as Word Dim ADC_DIFF as Word Dim Wert_Diff as single Dim Wert_Min_Diff as Word Dim Delta as single Dim DeltaRound as long Dim ReadOut as String * 20 Dim Trenner as Byte Dim Wert as Single Dim ADC as Word Dim ADCS as String * 5 Open Map For binary As #66