Discussion and help about my framework Thank you for clarifing clawons,
in effect i don't know Windows programming, but i know what you tell me.
I have studied Java at the university, so I know this as event...
Thursday, 16 June 2016 - 12:27
Discussion and help about my framework clawson wrote:
Let's see some code. If you know win16/win32 and the lparam and wparam then you will know that two pretty general parameters can be used for passing all kinds of...
Thursday, 16 June 2016 - 09:35
Discussion and help about my framework Hi awneil, thank you so much for the reply!
I think I've solved this problem!! :)
Now i use a reference (operator &x) to the data in the message object and i send the message...
Thursday, 16 June 2016 - 09:23
Count multiple pulse width Ciao David!
Yes, i'm sure! I think that the problem are the float pin that don't have all the pullup on:
PORTA |= (1<<ECHO_1); // pull-up on -->...
Tuesday, 29 September 2015 - 19:00
Count multiple pulse width Ciao David! :)
Your comment confuse me! But maybe it's a good thing!
I have this setting on the portA:
#define ECHO_1 3 // pin 3 of the portA is for...
Tuesday, 29 September 2015 - 11:46
Count multiple pulse width Yes, more or less!
My idea is: reset the port, send a pulse, send the state of the port that detect the first edge (rising) of the echo, and after 50 ms repeat this steps.
I...
Tuesday, 29 September 2015 - 09:43
Count multiple pulse width Hi David!
Yes, there is also in my init function.
I have used the repetition because so have advised me on the forum some time ago, look at this:
https://www.avrfreaks.net/...
Tuesday, 29 September 2015 - 08:16
Count multiple pulse width Hello to all!
I have read some post and articles about this problem, i think there are some serious problem using this way to solve my problem..
https://github.com/...
Tuesday, 29 September 2015 - 06:47
Count multiple pulse width Hi skevee, David!
It seems to me that if the first ISR in #20 causes an LED to blink, the second should also.
Are there unshown differences?
Also, my code was likely...
Monday, 28 September 2015 - 19:19
Count multiple pulse width Hi to all!
I have done some experiments in these days. First of all i have double checked the hardware and it work fine. Using my lib for one HC-SR04, all the sensors work...
Monday, 28 September 2015 - 10:37
Count multiple pulse width Hi Kartman, i have try the sound card oscilloscope, but it don't works well.
Now i will try using the software, like advice of skevee and you..
Thursday, 24 September 2015 - 08:16
Count multiple pulse width Hi skeeve, thank you so much for the reply!
I noticed PINA used multiple times in the ISR.
Probably a bad idea.
Each instance represents a separate fetch.
They do not have...
Thank you for clarifing clawons, in effect i don't know Windows programming, but i know what you tell me. I have studied Java at the university, so I know this as event...
clawson wrote: Let's see some code. If you know win16/win32 and the lparam and wparam then you will know that two pretty general parameters can be used for passing all kinds of...
Hi awneil, thank you so much for the reply! I think I've solved this problem!! :) Now i use a reference (operator &x) to the data in the message object and i send the message...
Ciao David! Yes, i'm sure! I think that the problem are the float pin that don't have all the pullup on: PORTA |= (1<<ECHO_1); // pull-up on -->...
Ciao David! :) Your comment confuse me! But maybe it's a good thing! I have this setting on the portA: #define ECHO_1 3 // pin 3 of the portA is for...
Yes, more or less! My idea is: reset the port, send a pulse, send the state of the port that detect the first edge (rising) of the echo, and after 50 ms repeat this steps. I...
Hi David! Yes, there is also in my init function. I have used the repetition because so have advised me on the forum some time ago, look at this: https://www.avrfreaks.net/...
Hello to all! I have read some post and articles about this problem, i think there are some serious problem using this way to solve my problem.. https://github.com/...
Hi skevee, David! It seems to me that if the first ISR in #20 causes an LED to blink, the second should also. Are there unshown differences? Also, my code was likely...
Hi to all! I have done some experiments in these days. First of all i have double checked the hardware and it work fine. Using my lib for one HC-SR04, all the sensors work...
Hi Kartman, i have try the sound card oscilloscope, but it don't works well. Now i will try using the software, like advice of skevee and you..
Hi skeeve, thank you so much for the reply! I noticed PINA used multiple times in the ISR. Probably a bad idea. Each instance represents a separate fetch. They do not have...
Pages