-
Thread
eigenartige Warnung beim erstellen des Timing reports
of TEST is signal Di : STD_LOGIC_VECTOR(7 downto 0); begin process (CLK,RESET) begin if RESET = '0' then Di <= (others => '0'); elsif CLK = '1' and CLK'event then Di <= not Di; end if; end process; O <= to_bitvector(std_logic_vector(Di)); end VERHALTEN
erstelle (generate Timing) bekomme ich zwei Warnungen die ich mir nicht erklären kann: WARNING:Cpld:310 - Cannot apply TIMESPEC TS1000 = PERIOD:PERIOD_CLK:0.000 nS WARNING:Cpld:2 - Cannot apply TIMESPEC AUTO_TS_F2F = Wenn ich anstatt "Di <= not Di;" ersatzweise "Di <= Di + 1;" einsetze bekomme ich
-
Thread
vs1011 bzw. vs1001 Testprogramm
int i = 1; int g = 0; Mp3DeselectControl(); Mp3SelectData(); while(g<=512) { if(i == 32 ) { printf(" wait\n"); while (!DREQ_PIN & (1<<DREQ)); i=1; } else { delay(10); spi (*data++); // send 32 bytes delay
Hallo, Hab nach dem FET von AUK FDV310N gesucht hab ihn aber nirgends gefunden... Kann mir einer ein vergleichbares Model nennen, welches bei Reichelt zu haben ist..? Kann man da in beide Richtungen arbeiten? Also von 3,3 nach 5 Volt
-
Thread
DCC Decoder
a Train. The NMRA protocol has strict 'rules' about timing, bits and bytes. It is very difficult if not impossible to control a train with the NMRA protocol in BASIC! What is the problem if you don't focus on the strict timing of the NMRA protocol.Use your own protocol ! Think of items like asking
8 for the function (speed and lights). It decodes the 2-bytes, refreshes the PWM (if the address byte equals the trainnumber) and...waits for the 10 millisecond startbit. Yes, if I miss a pulse, the train ERRORS.. So what, I transmit the same info about 5 times in a row. So I can
-
Thread
Handykamera MCA-25 ansteuern
wie immer für 1 Euro + (zu hohe) Portokosten bei ebay. Ich hab jetzt auch meine Kameras und ollem T310 und werde mich jetzt auch mal daran versuchen.
9120906145 sie kann 14-208 Bilder speichern und ist für das SonyEricsson T68i, T68ie, T300 und T310 gedacht. Nur zur Vollständigkeit: die MCA-25 passt an T68, T68i, T300, T310, T230, T290i Vermutlich sind sie doch ähnlich. Hat schonmal jemand getestet?
-
Thread
Einfacher und billiger Webserver mit AtMega32
kommt auch keine Meldung. Wo könnte denn da der Fehler liegen? Hier der Code aus der httpd.c if ( memcmp(File_Name,"setup.htm",9) == 0) //Wenn Setup { pointerold = Page6; //Lade Seite mit Passwortabfrage valid=1; //Passwortabfrage freigeben } if (valid==1) {
" name=\"ABC\" value=\"1\" %CHK_ABC>" ----- in tcp.c dann auf den neuen Platzhalter überprüfen: if (strncmp_P("CHK_ABC",(pointer+1),7) == 0) und entprechend einer Bedingung richtig setzen: if ('Bedingung') memcpy(&buffer[result16], "checked",7); else memcpy(&buffer[result16], " ",7); -
-
Thread
Nokia 6100 Ansteuerung in C
Tja, ein wirklich leidiges Problem. Ich habe es über Makro realisiert. .macro out_ port value .if (_SFR_IO_ADDR(\port) > 63) sts \port, \value .else out _SFR_IO_ADDR(\port), \value .endif .endm .macro in_ value port .if (_SFR_IO_ADDR(\port) > 63)
macro working we have to reassign // register defines, such as above .macro movw_ dst src .if (\src - \dst) .if ((\src | \dst) & 0x01) .if ((\src - \dst) & 0x80) mov \dst +1, \src +1 mov \dst , \src .else
-
Thread
probleme bei simulation/debugging
simulation/debugging von meinem C-source. ich verwende winavr-20030913 und avr-studio V4.08 build 310. wenn ich das programm step-by step (F10) durchsteppe, sehe ich im watch-fenster den inhalt der variablen nicht. ich habe z.b. zuweisung i=inp(PINA), und i ist lt. quickwatch immer 0 ... interrestanterweise dürfte der programmablauf korrekt verlaufen, da in die jeweiligen if-verzweigungen richtig gesprungen wird. beim setzen der port-pins, muß ich die pins im PORTA register setzen, damit das äquvalente bit im PINA auch gesetzt bzw. gelöscht wird. ist das normal? da
-
Thread
Timer funktioniert nicht ( M32C83 )
Quellcode und als ANlage die notwendigen Startfiles und Header. Compilierung brachte mit Compiler NC308WAV310r1 keine Fehler. Nach Flashen der CPU leuchtet LED an port p5_0 ständig. Könnt Ihr mir helfen ? Gruß Dietmar /* Evaluation Borad mit M30833FJFP
Timer count down tabsr = 0x01; // Timer start flag bit } void timerA0Int(void) { if(timer10msec != 0) {timer10msec--;} } void delay(unsigned short t) // Zweck Zeitverzögerung um time*10msec { timer10msec=t; while (timer10msec != 0) {} // Solange noch nicht heruntergezählt ist
-
Thread
16-Bit Zahl auf LCD
] = za % 10 + '0'; if (--komma == 0) buffer[--len] = '.'; za /= 10; } while (len > 1); return buffer; } if (TCNT0<0xff) { goto retmin1; } if (TCNT0=0xff) { sekunde++; TCNT0=0x00;
"); _delay_ms(50); if (GET(PINC,T1)) { miss_60_sekunden(); } else if (GET(PINC,T2)) { miss_30_sekunden(); } else if (GET(PINC,T3)) { miss_10_sekunden(); }