6, 7, 19, 21, 22 RESV Reserved. Do not connect. 20 CPOUT Charge pump capacitor connection 23 SCL I C serial clock 24 SDA I C serial data 2, 3, 4, 5, 14, 15, 16, 17NC Not internally connected. May be used for PCB trace routing. Top View C R R P R D C S S U S A L V V T V 24 23 22 21 20 19 CLKIN 1 18 GND
)); // until at least one byte free // tx_out modified by interrupt ! tx_in = i; #endif } [/c]
hier ist so ein UART, das ich mal gebastelt habe. Es läuft über den timer (war, glaube ich, für AT90USB647 geschrieben, aber könnte beim Anpassen auch bei ATtinys funktionieren)... MfG Petr [c] /* * (c) 2013 Petr Tomasek <petr.tomasek@evangnet.cz> This program is free software:
at a time to prevent misaligned ret.v[2] = vTickReading[3]; // memory reads, which will reset the PIC. ret.v[3] = vTickReading[4]; return ret.Val; } [/c] Also
PIC24/dsPIC, and GetSystemClock()/1 for PIC32. Divisor may be different if using a PIC32 since it's configurable. #define TICKS_PER_SECOND ((GetPeripheralClock()+128ull)/256ull) // Internal core clock
alle Kanäle die man braucht. Ein zweckmäßiger Wert für f ist zum Beispiel Baudrate/ISR-Frequenz*256. Damit hat man die Mitte der Bits immer dann wenn der Rest beim durch 256 teilen 128 ergibt.
rcall LCD_command rcall LCD_wait ret ;***************************************************** ; Display at the position in arg the string starting at Z (null-term.) ; LCD4ZTxt: sbr arg,0b10000000 ; Set DD-RAM-Adress rcall LCD_command rcall LCD_wait LCD4ZTxt1: lpm ; Get a char tst R0 ; Null-Char? breq LCD4ZTxtR
) Counter (contact) C 0x11 Decimal PLC. O Counter (coil) C 0x12 Decimal O Counter (present value) C 0x14 Decimal O Data register D 0x04 Decimal O Link register W 0x24 Hexadecimal O File register R 0x84 Decimal O Link special
Lieber Felix, habe einen Fehler in deiner LIB gefunden: in der [c]static inline uint8_t rfm_spi[/c] muss es [c]SCK_PORT &= ~(1 << SCK);[/c] und [c]SCK_PORT |= (1 << SCK);[/c] statt [c]SCK_PIN = (1 << SCK);[/c] und [c]SCK_PIN = (1 << SCK);[/c] heißen
[at] fixxl Ich habe mal eine Frage zu dem Sendebefehl: Wenn ich ihn das erste mal aufrufe wird die Sendung erfolgreich übertragen, er hängt jedoch dann in der Schleife[c]while (!(rfm_cmd(0x28FF, 0) &
Effective per-word program timeWHQV2 ,EHQV2 ) is 13.6 µs/word (typical). 8. Max values are measured at worst case temperature and CC corner after 100k cycles (except as noted). 9. Max values are expressed at -25 °C/-40 °C. 10.Max values are expressed at 25 °C/-40 °C. Datasheet 27 256-Mbit J3 (x8/x16)
gesendeten Puffer-Inhalts zurück. Weitere Info: Wenn ich auf Transfer Complete warte, bleibt der µC stehen, das kommt nicht. Hier mal zusammengekürzt mein Code, der nicht richtig tutet: [c]#define buffer_size 256 volatile uint8_t buffer1_rx[buffer_size]; volatile uint8_t buffer1_tx[buffer_size
läuft der Code dann sogar. (Interessanterweise ohne NVIC-Initialisierung für den tx-Interrupt.) [c] // Interrupt at DMA transfer complete DMA_ITConfig(DMA_Channel_SPI1_TX, DMA_IT_TC, ENABLE); DMA_ITConfig(DMA_Channel_SPI1_RX, DMA_IT_TC, ENABLE);[/c] [c]void DMA1_Channel2_IRQHandler(void)
letzte Maschinensender ist Weltkulturerbe. Er sendet zweimal pro Jahr, Ende Juni und am morgen des 24.Dezember auf 17,2kHz. http://alexander.n.se/in-english/saq-transmission/ > ob der BC548C die volle Verstärkung bringt Der BF494 wird mit einer Transitfrequenz von 120 MHz angegeben, da gehen
n d W. schrieb im Beitrag #3650610: > Er sendet zweimal pro > Jahr, Ende Juni und am morgen des 24.Dezember auf 17,2kHz. Danke für den Link! Wie empfängt man so tiefe Frequenzen? Mit einer abstimmbaren Loop-Antenne mit vielen Windungen? >> ob der BC548C die volle Verstärkung bringt > >
interrupt is executed. In PWM mode, this bit is set when Timer/Counter2 changes counting direction at $00. Timer/Counter Prescaler Figure 64. Prescaler for Timer/Counter2 clk I/O clT2S 10-BIT T/C PRESCALER TOSC1 Clear S / / 2 5 2 T 2 2 S /S 1 c lT lT T T /2 AS2 c c c c kT c PSR2 0 CS20 CS21 CS22 TIMER
+ delta add XH, deltalight cp avglight, XH ; compare brsh TIM0c2 ; is same or higher ? rjmp TIM0chk ; no, do nothing TIM0c2: ori Flag,0b10000000 ; is higher, set nite flag, i.e. set bit7 sbi PORTB, DayLow ;rjmp TIM0chk ; check light every second TIM0chk: sbrs Flag
=UDP/r/n 12ǃAT+SZ_S_C_MODEL= It is for configuring connection form. Adding SERVER and CLIENT behind “=” which respectively represent the module to be server or client. As server: AT+SZ_S_C_MODEL=SERVER/r/n As client: AT+SZ_S_C_MODEL
vorgesehenen Bereichs //#endif buffer[0]=one; buffer[1]=genauigkeit; send(buffer,2); } [/c] Mir fällt auf die schnelle nur enums ein, aber ich will kein enum mit 256 Werten erstellen; structs gehen vllt auch, sind aber meiner Meinung nach unkomfortabel. Der Code ist aus einer Headerdatei
init (x); } void f1 (void) { init (1); } void f10 (void) { init (10); } [/c] Das wirft: [pre] In function 'init', inlined from 'fx' at <stdin>:24:10: <stdin>:17:18: warning: call to 'unknown_x' declared with attribute warning: x ist zur Compilezeit nicht bekannt
16 33 P3.5/UCA0RXD/UCA0SOMI 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 0 1 2 2 3 4 1 2 5 6 7 K A L E O / T/T / C C C A/ T/ C AC C C S S S I . 6.7 . K K 0 0 1 /S K 0 0 0 0 0 0 1 1 1 L L AT C C O L T C C C C A P P P C / N T 3 4/ / 2 7 / / / / C . A
Data Bytes at Higher Figure 9. Read Data Bytes at Higher Speed (FAST_READ) Instruction Sequence and Data-Out Sequence S 0 1 2 3 4 5 6 7 8 9 10 28 29 30 31 C Instruction 24-Bit Address DIO 23 22 21 3 2 1 0 MSB DO High
Marders. :) Hey, gab es das nicht auch als deutschen Artikel? http://s2.quickmeme.com/img/2b/2b801c8b1404aff14b61e9432c86fb9aa43a20b5083b787d62d1570ded4bcaf3.jpg
Moechte man bei 8bit Zaehlumfang bleiben, ist die kleinste Zeiteinheit 5,6125(dez) Minuten. (60Sekx60Minx24Stu)/256=337.5 Sekunden. Da der US-Sound keine 5 Minuten am Stueck fiepen soll, erweitern wir den Zaehlbereich mit einer zweiten Variable auf 16 bit und erhalten als kleinste Zeitscheibe 60x60x24/
+ delta add itemp, deltalight cp avglight, itemp ; compare brsh TIM0c2 ; is same or higher ? rjmp TIM0chk ; no, do nothing TIM0c2: ori Flag,0b10000000 ; is higher, set nite flag, i.e. set bit7 sbi PORTB, DayLow ;rjmp TIM0chk ; check light every second TIM0chk: sbrs Flag
Motzt der Treiber, wenn ich I2C offen lasse ? Oder gibt es einen Treiber ohne I2C ? Oli
Treiber > zu aktivieren. Ich muss das einfach mal ausprobieren. > Motzt der Treiber, wenn ich I2C offen lasse ? Oder gibt es einen > Treiber ohne I2C ? Der TDA1541 hat kein I2C, das geht also. Mit den vorhandenen Treibern kriegst du I2S raus, aber halt keine Masterclock. Grüße, Jörg
auch die Unterstützung für dieses Feature in Basic bzw. bei diesem µC angekommen ist hat der µC Markt bereits wieder zwei Schritte weiter gemacht! Daher ist C mittlerweile einfach notwendig wenn man irgenwie Zukunfstsicherheit haben will. Teilweise geht der Trend ja sogar schon zu C++ selbst auf den kleineren µC. (Wobei ich das selbst eher kritisch sehe, auf den großen µC erkenne ich den Sinn, bei den kleinen finde ich eine zu große Abstraktion eher hinderlich, da ist zumindest
=UDP/r/n 12ǃAT+SZ_S_C_MODEL= It is for configuring connection form. Adding SERVER and CLIENT behind “=” which respectively represent the module to be server or client. As server: AT+SZ_S_C_MODEL=SERVER/r/n As client: AT+SZ_S_C_MODEL
auch hier etwas von Sure Electronics http://www.ebay.com/itm/Wifi-Web-Server-Module-w-TF-Socket-PIC24F-MRF24WB0MB-/251319125731?pt=Bauteile&hash=item3a83c986e3 http://dangerousprototypes.com/2011/04/05/review-sure-electronics-wifi-web-server-module/
z.b. Pic24FJ256GB106 -> usw In der Anlage für die Bolt & Wifi Shield Besitzer Hex für den Bolt ( Bootloader version ) App für Android Phone
selbst klingen. Deshalb darf man hier von Verzerrungen gar nicht reden. Eine Orgel hat normalerweise C - f3 oder C - g3 in Manual (ausnahmsweise C - c4, aber nur kleine Übeorgeln) und C - f1 oder C - g1, bei alten Instrumenten auch C - d1 und sogar C - c1 in Pedal. Für 16' Register C = 32,7 Hz, g3 = 784
selber ein Experiment machen: man spielt Arpeggio auf einem Klavier von unten bis nach oben. Zuerst C-Dur, das endet sich auf c5. Danach D-Dur, aber das endet sich auch auf c5, da ein Klavier d5 gar nicht hat. Trotzdem hört man ganz normale Akkord ohne Verfälschung! :) ). D.h. stupide Rechnung, daß
function in extreme environments, and their crisp display is viewable under most lighting conditions at wide viewing angles. Their ease of installation reduces system integration costs. The EL320.256-F6 and –FD6 are 320 column by 256 row flat panel displays with a resolution of 80 dots per inch. The pixel
the basic shortened cyclic code in binary notation Thus, (m x 15▯ m x 14▯ .... ▯ m) G m x 25▯ m x 24▯ ... ▯ mx10 ▯ c x9 ▯ c x8 ▯ ... 15 14 0 15 14 0 9 8 where c9 (m15 x 0) U (m14x 1) U (m 13x 1) U ... U (1 x 1) U (m0x 0) c (m x 0) U (m x 0) U (m x 1) U ... U (m x 1) U (m x 1), etc. 8 15 14 13 1 0 (
weiss ich auch nicht, was das bedeutet avrdude: Version 5.11, compiled on Aug 30 2011 at 10:24:06 Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/ Copyright (c) 2007-2009 Joerg Wunsch System wide configuration file is "C:\WinAVR\bin\avrdude.conf
; PORTB &= ~(1<<PB0); _delay_ms(100); } } [/c] vorher hatte ich stehen [c] #define F_CPU 8000000UL _delay_ms(1000);[/c] jetzt musste ich es umändern in [c] #define F_CPU 1000000UL _delay_ms(100);[/c] und es ist ein bisschen schneller
flash.bin. Starting upload to STM32F103: Bootloader version 22 Chip id `['0x4', '0x10']' Write 256 bytes at 0x8000000 Write 256 bytes at 0x8000100 [...] Write 256 bytes at 0x8006000 Write 256 bytes at 0x8006100 Read 256 bytes at 0x8000000 Read 256 bytes at 0x8000100 [...] Read 256 bytes at 0x8006000 Read 256 bytes at 0x8006100 Verification OK Done! Now switch Boot0 pin and hit Reset. [/code] Vielleicht ist das ja noch für andere nützlich, daher poste ich die Anleitung mal hier :) (Ehrlich, für rund
) unsigned int _CONFIG3 = (x); /* ** Only one invocation of CONFIG3 should appear in a project, ** at the top of a C source file (outside of any function). ** ** The following constants can be used to set CONFIG3. ** Multiple options may be combined, as shown: ** ** _CONFIG3( OPT1_ON & OPT2_OFF & OPT3
TMR1 = 0; while (TMR1 < 31250) // ~500ms delay if we realy run at 16Mhz FCY. { } putU2(c++); if (c > (0x41 + 25)) { // A-Z should be received on other end. c = 0x41; putU2('\r'); putU2('
schrieb Frank schon im http://www.mikrocontroller.net/topic/329143?goto=3597955#3597955 > Bspw. ein PIC24FJxxxDA der eine GPU hat Schaue ich mir morgen beides mal an. Hast Du den Pic18f8mit dem (p)sram auf einer Platine die schmaler als 43mm ist? Torsten C. schrieb im Beitrag #3598342: > oder soll's
Wenn ich eines der Beispiel-Projekte für den dsPIC33EP256MC506 übersetzen möchte, erhalte ich folgende Fehlermeldungen: (ich habe bereits #include "p33exxxx.h" in ECAN1Config.c ergänzt, ist scheinbar original nur für PIC24 und PIC33F verwendbar) In file
), manche (wie C1RXFUL1) scheint es zu geben, aber der C Compiler kennt sie nicht... Und dann noch die Meldung "space(dma) not supported on this target", wobei der dsPIC33EP256MC506 aber DMA können sollte? Hat
which will setpoint goes to the maximum and the supply delivers a dissipate 340 . 1.8 mA@Tj = −25°C = 612 mW (however rather high power with all the associated effects. Please note this 1.8 mA number will drop at higher operating that this can also happen in case of feedback loss, e.g. a temperatures
endurance and data retention Value Symbol Parameter Conditions Unit Min(1) Typ Max T = –40 to +85 °C (6 suffix versions) N END Endurance A 10 - - kcycles TA= –40 to +105 °C (7 suffix versions) (2) 1 kcycle at TA= 85 °C 30 - - (2) RET Data retention 1 kcycle at TA= 105 °C 10 - - Years 10 kcycles(2at
, length=16, sep='.'): FILTER = ''.join([(len(repr(chr(x))) == 3) and chr(x) or sep for x in range(256)]) lines = [] for c in xrange(0, len(data), length): chars = data[c:c+length] hexStr = ' '.join(["%02x"%x for x in chars]) if len(hexStr) > 24: hexStr = "%s %s"%(hexStr[:24], hexStr[24:]) printable
, length=16, sep='.'): FILTER = ''.join([(len(repr(chr(x))) == 3) and chr(x) or sep for x in range(256)]) lines = [] for c in xrange(0, len(data), length): chars = data[c:c+length] hexStr = ' '.join(["%02x"%x for x in chars]) if len(hexStr) > 24: hexStr = "%s %s"%(hexStr[:24], hexStr[24:]) printable
Verteilerkasten klein als Gehäuse 6€ - 1 Echtzeituhr DS1307 2€ - 1 Treiberbaustein ULN2802 0,50€ - 1 EEProm at24c256 4€ - 1 Max232 - 4 Taster - 1 Netzteil 5/12V Pollin 5€ mit Kleinkram also ca.: 80€ Wenn Dir an einem EMV Gutachten liegt ca. + 2000€ Und ist natürlich nur für Selbermacher ... ...
). Oft liegt die Ursache an einer undichten Stelle wie einem Fallrohr. Dagegen hilft der teuerste µC nicht.