Hello
First, I'm sorry if my English is bad, I'm a French student (in electronic) and I have to realize a project to success my exam so it's very very important for me . I searched on the net to find a solution to my problem and this forum seems to be the best to help me.
I'll try to explain my project ..
I use a pic 16f88, in input I have two electrics signals. I'll treat every single signal one after the other. I have to do the same thing with both signals so i'll explain with only one of them.
I have to mesure how long the signal is on high level and compare it with a value (1,5ms).
If the signal's high level is longer than 1.5ms then I have to send the same signal on output 1 and a low level (0) on output 2.
If the signal's hign level is shorter than 1.5ms then I have to send the same signal on output 2 and 0 n output 1.
I think it would be simple for someone who knows Picaxe but I don't ... and my teacher doesn't really help me...
I hope you will understand my problem even if my english is very bad... If it's too bad to understand the problem you can contact me at this e-mail address :
yunie68@hotmail.fr
Thank you very much,
Mary.
First, I'm sorry if my English is bad, I'm a French student (in electronic) and I have to realize a project to success my exam so it's very very important for me . I searched on the net to find a solution to my problem and this forum seems to be the best to help me.
I'll try to explain my project ..
I use a pic 16f88, in input I have two electrics signals. I'll treat every single signal one after the other. I have to do the same thing with both signals so i'll explain with only one of them.
I have to mesure how long the signal is on high level and compare it with a value (1,5ms).
If the signal's high level is longer than 1.5ms then I have to send the same signal on output 1 and a low level (0) on output 2.
If the signal's hign level is shorter than 1.5ms then I have to send the same signal on output 2 and 0 n output 1.
I think it would be simple for someone who knows Picaxe but I don't ... and my teacher doesn't really help me...
I hope you will understand my problem even if my english is very bad... If it's too bad to understand the problem you can contact me at this e-mail address :
yunie68@hotmail.fr
Thank you very much,
Mary.