This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

how to conventer unsigned long to BCD code faster?

just as titleï¼
now i'am use this method:
a=value%1000/100;
b=value%100/10;
c=value%10;
but it's slow,any faster methods?
thanksï¼

Parents
  • Please do not angry, I just started browsing forums abroad. lot of Forum habits i don't know. O(-_-)O~
    design of electronic products not my job. now I am DIY electric bicycle speed table. this is my hobbies. the hall sensor given the pulse so fast that i have to find a fast Conversion code.

Reply
  • Please do not angry, I just started browsing forums abroad. lot of Forum habits i don't know. O(-_-)O~
    design of electronic products not my job. now I am DIY electric bicycle speed table. this is my hobbies. the hall sensor given the pulse so fast that i have to find a fast Conversion code.

Children