Search found 1609 matches
- Sat Jan 10, 2026 7:47 pm
- Forum: General
- Topic: Duration measurement between two pulses
- Replies: 10
- Views: 233
Re: Duration measurement between two pulses
Just looking at the AirMar P66 transducer data - and looks like the speed reading is given by pulse frequency (~5.6Hz at 1knot for example). So rather than measuring the pulse length - measuring the number of pulses over a given period might be an easier option? So count rising edges over 10s (or mo...
- Sat Jan 10, 2026 10:35 am
- Forum: Tips & Tricks
- Topic: Organise your Flowcode projects
- Replies: 2
- Views: 77
Re: Organise your Flowcode projects
Thanks - I did mention the memory was getting less reliable with age!!!
- Fri Jan 09, 2026 9:15 pm
- Forum: General
- Topic: Duration measurement between two pulses
- Replies: 10
- Views: 233
Re: Duration measurement between two pulses
Will be interesting to hear how it goes!
- Fri Jan 09, 2026 9:12 pm
- Forum: Tips & Tricks
- Topic: Organise your Flowcode projects
- Replies: 2
- Views: 77
Organise your Flowcode projects
Another new year's resolution - organise my Flowcode (and other) projects/life generally better. I was looking for a particular project - and memory not being what it used to be - struggled to find the version I was looking for.... Many of my projects just get thrown in the same directory - and if I...
- Fri Jan 09, 2026 3:39 pm
- Forum: General
- Topic: GLCD Display Manager Overhaul
- Replies: 9
- Views: 4019
Re: GLCD Display Manager Overhaul
Thanks Ben,
Yes it would be good if the 'hidden' pins either defaulted to something - I think it's been suggested to have a 'unconnected' pin allowed - that doesn't compile / cause errors?
Thanks Jorgen,
I'll have a play with the LED too - be good to turn the thing off if nothing else!
Martin
Yes it would be good if the 'hidden' pins either defaulted to something - I think it's been suggested to have a 'unconnected' pin allowed - that doesn't compile / cause errors?
Thanks Jorgen,
I'll have a play with the LED too - be good to turn the thing off if nothing else!
Martin
- Fri Jan 09, 2026 3:17 pm
- Forum: General
- Topic: Duration measurement between two pulses
- Replies: 10
- Views: 233
Re: Duration measurement between two pulses
Hi Viktor, A simple example - I've assumed that you want to measure the time the pulse is HIGH - but the same can be applied to a LOW signal. The very simple test signal generator - gives equal time HIGH and LOW (here 2s) - though this isn't necessarily the case (and the measurement 'ignores' the ti...
- Fri Jan 09, 2026 12:16 pm
- Forum: Bug Reports
- Topic: Timer component AVR
- Replies: 4
- Views: 83
Re: Timer component AVR
And adding timer1 into the mix: Tmr1 = 46 tmr1 = 2028 tmr2 = 372ms Tmr1 = 46 tmr1 = 2061 tmr2 = 372ms Tmr1 = 46 tmr1 = 2094 tmr2 = 372ms Tmr1 = 46 tmr1 = 274875840 tmr2 = 372ms Tmr1 = 38 tmr1 = 274875872 tmr2 = 304ms Tmr1 = 3 tmr1 = 274875872 tmr2 = 29ms Tmr1 = 46 tmr1 = 274875936 tmr2 = 369ms Tmr1 ...
- Fri Jan 09, 2026 12:12 pm
- Forum: Bug Reports
- Topic: Timer component AVR
- Replies: 4
- Views: 83
Re: Timer component AVR
I added a second timer - and had timer 1 use Tmr0 and timer2 use Tmr2 - printing both values gives : Tmr1 = 48 tmr2 = 383ms Tmr1 = 48 tmr2 = 383ms Tmr1 = 48 tmr2 = 383ms With a 50ms pulse. Something wrong in the calculation for tmr2 - even allowing for the slight delay in getting the value? Martin
- Fri Jan 09, 2026 11:38 am
- Forum: Bug Reports
- Topic: Timer component AVR
- Replies: 4
- Views: 83
Re: Timer component AVR
There is, however something not quite right... Consider the attached - on an interrupt (on pin d2) - it toggles the LED on pin 13 - and outputs the number of 'ms' since the last (falling edge) interrupt. I also have a scope attached to d2 - and a signal generator. The time displayed (with an input p...
- Fri Jan 09, 2026 10:57 am
- Forum: Bug Reports
- Topic: Timer component AVR
- Replies: 4
- Views: 83
Re: Timer component AVR
No - it's me = the default instruction rate is 0....