We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
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ï¼
Yes, people browse forums when they have free time.
But see it this way: If a student has a problem at school, he may ask the teacher for help. After he has received help, should he then find another teacher and once more ask for help with the same problem - just checking that the two teachers gave the same answer?
Wouldn't that waste the time for the teachers - time that they could have used to help someone else?
That is the reason why you should always add links between the forums if you post a question on multiple sites.
Since you had received two possible solutions to your question, you could have linked to this forum, and asked at 8052.com: Anyone know any better solution than these two, or how they can be rewritten to better take advantage of my specific processor?
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.
Hi ou fuqiang,
I don't know the Latitude and longitude of my location.
I am in southern Taiwan.
You do not need to produce a display update for every pulse you get. Our human brain has a limited capacity - it takes a lot of time for us to read, and if you update too often then the last digit(s) on the display will be hard to see because every reading will vary a bit, making the last digit(s) constantly change value.
If you have a sensor that produces a lot of readings, then you may decide to measure the time of 5 pulse periods instead.
if you wish,you can install google earth to find you Latitude and longitude. it's funny.
it's funny
Ho, yeah.