I'll see what I can come up with myself as well.
Though Ive got a new toy to play with now, my Raspberry Pi dropped through the door today. Only been 6 weeks.
Hmm Flowcode for the Raspberry Pi. (Hi Benj Only joking
![Laughing :lol:](./images/smilies/icon_lol.gif)
Hi John,JohnCrow wrote:Ive just found a recommendation for a converter on amazon for about £20, Ive just ordered it. If it works it will make things a lot easier (Ok its not going to give blueray quality video but it should be fine for coding, and isnt going to break the bank)
Will post findings when it arrives.
Have you tested with the print number LCD function? If not then how are you testing?I have tested in hardware all new feature of V5 like Uint, Long, ULong. None of them work in hardware although they work in simulation.
If you have a look through the test1-3, you can see I don't try to print ULong variable at its maximum capacity not even as INT..the value of ULong could be maximum 230.Benj wrote: The unsigned 32-bit variables should be working correctly but the LCD print macros may only support signed 16-bit numbers.
To get around this you can use the number to hex function to generate a hex string representation of your 32-bit variable which you can print out via the LCD.
Hi,Enamul wrote: I have posted my program here..I have tested this program for 10cm, 20cm, 30cm, 40cm, 50cm, 60cm and 70 cm and the measured distance correspondingly 10.2cm, 20.4cm, 29.0cm, 39.2cm, 50.2cm, 60.4cm and 70.6cm.
Note: PIC 16f877a, LCD>>PORTD, RB0>ECHO, RB1>Pulse,Xtal>20MHz
C code :
tmr1l=0x34;
tmr1h=0xFE;
Hi Martin,medelec35 wrote:Hi Frank,
I will set my HC-SR04 back up tonight, and test with 16F690.
I will post a working version.
Martin