Hello.

My ebay purchase came through the door this morning - A PIC programmer & PICBasic Compiler v1.44 :-)

After a lot of confusion i managed to get PBC working with CodeDesigner Lite, but i havent managed to get much further!

I have done a lot of programming in the past, and the samples i have read shouldnt be too hard to get my head around.

My first project (after the blinking light etc) is to make a tachometer. I have been reading up and think that 'pulsin' will be the best way to go, but im not sure. I am a little confused as half of the resources i have found for 'PICBasic' have either returned PBP, or other types of PICBasic. e.g. i spent a while reading up on variables, 'Dim myvar as Byte' and 'myvar VAR BYTE' didnt work, it took a while for me to realise that it probably wasnt my fault! Also, many people making tachometers have used a 'Count' command, but i dont think that exists in PBC either!

My questions are basically;

*Would pulsin be the best thing to use?
*Are variables just refered to as B0, W1 etc? (using 'Symbol' to name them)
*What happens if a number is too big to fit into a variable? Will the number overflow into the next var, or will only the left hand side be stored?


Thank you for your time!
PICy



P.S. Is it just me, or can nobody post in the mel PIC BASIC board?

The posting problem is noted... for the time being, this thread is still resident in the General section for anyone wishing to reply - Melanie