Search:

Type: Posts; User: fortune2k

Page 1 of 7 1 2 3 4

Search: Search took 0.01 seconds.

  1. articles?

    articles?
  2. google my be my friend but i can find nothing on...

    google my be my friend but i can find nothing on delay, timers, or anything that is importance to what im trying to do :( 20 pages and nothing




    i could make my lgiths flash using this code:...
  3. lol im really new to programming for micro...

    lol im really new to programming for micro controllers do u know any reading material or tutorials about hardware timers soo i can mess around with them so i can understand them. Im a newbie sorry
  4. hmmmm i have sent a messege nothing back what...

    hmmmm i have sent a messege nothing back

    what im after is

    while 1
    {
    LIGHT ON
    delay 0.5 secs
    LIGHT OFF
    delay 0.5 secs
  5. hi int hours, mins, secs, ticks,...

    hi



    int hours, mins, secs, ticks, times; /*Global Variables for returning values*/
    unsigned char *tflg2, *pact1, *tmsk2;
    @interrupt void timer(void){
    ticks++;
    if (ticks==30){...
  6. right my compiler doesnt use timer.h next...

    right my compiler doesnt use timer.h next option :(:( any more ideas?
  7. i shall have a look and test it out, cheers

    i shall have a look and test it out, cheers
  8. its a motorola hc6811 i may of mis typed it ....

    its a motorola hc6811 i may of mis typed it . yea im trying to find info about hardware timers
  9. i pulled that code off the net and dont have a...

    i pulled that code off the net and dont have a clue yea it looks kinda what im after but i need to find some reading material on it sooo i can implement it into my code anyone got any links? i...
  10. unfortunately my tutor is away and i have no 1...

    unfortunately my tutor is away and i have no 1 and my hand in date is on friday :( all i remember in the past is someone mentioning using the hardware timer, or tweaking a while look . but my...
  11. agh well scrap that idea then sorry. well i...

    agh well scrap that idea then sorry.
    well i need to make a function to delay my program by 0.5 seconds i tried adaks idea using :
    #include <dos.h> that seems what i need but i dont have the...
  12. well that code doesnt run sooo i cant see how its...

    well that code doesnt run sooo i cant see how its working whats missing then i can play around with it and maybe get somewhere
  13. right i dont think i can use that way i get ...

    right i dont think i can use that way i get cannont open dosh.h sooo maybe a hardware timer should be used because sometimes i have 1 light running out of time

    i have found an example of a...
  14. i use a .bat file for called CRAM which compiles ...

    i use a .bat file for called CRAM which compiles my .c files and allows me to upload them to the board. Im going into school in a bit to test it out i shall let u know how i get on

    thankyou
  15. how would i use the delay() command in my example...

    how would i use the delay() command in my example do i need any special header files? how would i call it ect ect??
  16. oh sorry yea its in a while(1) loop so its a...

    oh sorry yea its in a while(1) loop so its a infinity loop but it has loads of other bits and bobs in so its actually like this:



    //depending on the mask this will make the lights flash on or...
  17. 1 flash per second , micocontrollers, while loop

    H,i im using micro controllers ( the 68hc11 board) to make some lights flash ect and i have to have it

    1 fps – flashes per second. 1fps = 0.5 secs. on, 0.5 secs off,





    //depending on the...
  18. Replies
    8
    Views
    5,155

    yea i have used fedora,ubuntu , ubuntu live and...

    yea i have used fedora,ubuntu , ubuntu live and red hat 5 i need it running on redhat but the program is unrealiable its like a 50% chance i will get the number of process i ask it to do ...
  19. Replies
    8
    Views
    5,155

    right i have still got the same problem after...

    right i have still got the same problem after reading your ideas the program seems to jump out the loop then try n go back in and add more processes to the pipe but its closed
  20. Replies
    8
    Views
    5,155

    right im heading to bed good night all i will...

    right im heading to bed good night all i will pick up on this 2moz thanks for help hopefully i can sort this its a pain
  21. Replies
    8
    Views
    5,155

    heres my read function on the despooler.c ...

    heres my read function on the despooler.c


    void read_pipe(FILE *fifo, char* nxt, char* tok){
    nxt[0] = fgetc(fifo);//read one character from pipe

    if(nxt[0] == '*'){//if asterix is read,...
  22. Replies
    8
    Views
    5,155

    i have been messing around changing values and...

    i have been messing around changing values and still dont get it sometimes it works and somtimes it doesnt why is this happening?


    ./spool 9
    Pipe created, waiting for despooler to read......
  23. Replies
    8
    Views
    5,155

    crazy pipe/fork

    hi i have a problem with either my forking or pipe which i cant spot or get my head around . Right here is my fork code:


    right what this is supposed to do is when I run the program "./spool...
  24. i am ment to make a simple burgalar alarm ...

    i am ment to make a simple burgalar alarm disarmd : all 6 zones (6lights 6 switches) off, armed : all the zones or 1 of them will have the lights flashing at 0.5 seconds constant, and then when a...
  25. C keep a loop going whilst program continues on

    hi im making a c program for the 68hc11 and to out put flashing ect ect on 6 lights on a O/I board i need to use a while loop to keep my lights flashing but i need program to continue on

    heres my...
Results 1 to 25 of 156
Page 1 of 7 1 2 3 4