Search:

Type: Posts; User: shifu

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    8
    Views
    2,670

    thank guy for the help once again.i will try it...

    thank guy for the help once again.i will try it out and let u get know. im not using visual c to program it im using IAR workbench to program my code.so i do not know it will work not. so will update...
  2. Replies
    8
    Views
    2,670

    im using window.ya if i use sleep(); what do i...

    im using window.ya if i use sleep();

    what do i need to use for the header? is it conio.h? or some other thing?because i try putting in the sleep(); bu they prompt me with warning.

    "function...
  3. Replies
    8
    Views
    2,670

    how to add a delay??

    Any way to put a delay into this.:

    my code is this:



    HR1 = 92160/pulseperiod;
    ADDR1 = 1;

    if(HR1 < 40)
  4. Replies
    38
    Views
    4,485

    adak.:) ya can i ask u 1 more question how do i...

    adak.:) ya can i ask u 1 more question how do i put in a delay? i try putting in



    sleep(1);


    but it prompt warning "function sleep declared implicitly".

    any other way to put i a delay?
  5. Replies
    38
    Views
    4,485

    adak, i find it weird..i delete all the code for...

    adak, i find it weird..i delete all the code for conversion because i cant get it. so i download back the code to the board and it work!!!!! miracle....here's the code can u tell me how come it can...
  6. Replies
    38
    Views
    4,485

    Heartbeat rate per minute = 1/[pulseperiod/(3 ´...

    Heartbeat rate per minute = 1/[pulseperiod/(3 ´ 512 ´ 60)] = 92160/pulseperiod.

    pulseperiod is used for the calculation of heart-rate per minute and reset.
  7. Replies
    38
    Views
    4,485

    This is the original code. #include ...

    This is the original code.



    #include <msp430xG43x.h>
    #include "math.h"
    #include <stdlib.h>
    #include <ctype.h>

    //defines
  8. Replies
    38
    Views
    4,485

    1/512 second delay if im not wrong.

    1/512 second delay if im not wrong.
  9. Replies
    38
    Views
    4,485

    #include #include "math.h"...

    #include <msp430xG43x.h>
    #include "math.h"
    #include <stdlib.h>
    #include <ctype.h>

    //defines
    #define PB_2_0 (1 << 0) // Push Button on P2.0
    #define PB_2_1...
  10. Replies
    38
    Views
    4,485

    9553 okie this is my device and the code that...

    9553

    okie this is my device and the code that i paste is being build into this device. is a heart rate board with a wireless transmitter attach to this device.

    "Worry about getting one char...
  11. Replies
    38
    Views
    4,485

    thank droseman , ya this project is giving to me...

    thank droseman , ya this project is giving to me recently only.i will read up the library source to find out more. but i just need some help in putting the outside as a seperate number. example
    ...
  12. Replies
    38
    Views
    4,485

    hello, ya i have change my program to a hard code...

    hello, ya i have change my program to a hard code to try it out 1st. it something like this.


    if(char_gen[(heartrate & 0xf0) >> 4]>4 || char_gen[(heartrate & 0xf00) >> 8]<2)
    {

    ...
  13. Replies
    38
    Views
    4,485

    thank adak i will go and try and update u...

    thank adak i will go and try and update u again.:) thank for taking ur time.
  14. Replies
    38
    Views
    4,485

    this code is like only sent out 1 data after that...

    this code is like only sent out 1 data after that it hang.



    if(char_gen[(heartrate & 0xf0) >> 4]>4 || char_gen[(heartrate & 0xf00) >> 8]<2)
    {
    num = 92160/pulseperiod;
    ...
  15. Replies
    38
    Views
    4,485

    adak sorry, is quite confusing.i donnoe which 1...

    adak sorry, is quite confusing.i donnoe which 1 to put in to my code. can u help me in putting the code together in 1 than i can straight away copy paste into my code and compile to try? thank alot....
  16. Replies
    38
    Views
    4,485

    ya adak, i get what u mean. thank anyway for the...

    ya adak, i get what u mean. thank anyway for the great help. okie now i show u the previous work i done.it only can read 2 digit.



    if(char_gen[(heartrate & 0xf0) >> 4]>4 ||...
  17. Replies
    38
    Views
    4,485

    opps sorry i didnt clarify my question clearly...

    opps sorry i didnt clarify my question clearly sorry.cos now this code that im writing now is to put inside a heart rate board. so i need to sent out a hexadecimal value to my PC and i already...
  18. Replies
    38
    Views
    4,485

    my num is declare as integer int num=0. num...

    my num is declare as integer int num=0.


    num = 92160/pulseperiod;


    92160/pulseperiod, the pulseperiod is a measurement taken through a heart rate board that measure our heart rate. so is a...
  19. Replies
    38
    Views
    4,485

    num = 92160/pulseperiod; div1=16; ...

    num = 92160/pulseperiod;
    div1=16;
    while ((num>0)&&(div1>0))

    { ctr--;
    output[ctr]=dataset[(num%div1)];
    num=num/div1;
    }
    for (int i=1;...
  20. Replies
    6
    Views
    1,273

    delphi code is about the same as c/c++ so i post...

    delphi code is about the same as c/c++ so i post it on this board so that u guy can help with the code for the counter.
  21. Replies
    6
    Views
    1,273

    do u all know any if statement to make that...

    do u all know any if statement to make that counter?

    can u show me some code for me to try it out.
  22. Replies
    6
    Views
    1,273

    Question about Delphi 7

    How to implement a counter from 1 to 1800 whereby once the count reaches the maximum number being display, a pop-up screen will appear and causing the counter to reset back to 1. Using a if statement.
  23. Replies
    38
    Views
    4,485

    thank you i will try it.

    thank you i will try it.
  24. Replies
    38
    Views
    4,485

    ya this is what i wanna do.i nid to put the two...

    ya this is what i wanna do.i nid to put the two value together.
  25. Replies
    38
    Views
    4,485

    for my TXBUF0, it only can accept value.

    for my TXBUF0, it only can accept value.
Results 1 to 25 of 27
Page 1 of 2 1 2