I made a digital thermometer some time ago using PIC microcontroller. I would like to conncet it to my PC via serial port. I want to write some thing in C# to be able to achive that.
I am having problem in designing the graphics in C#. I have got a meter in .jpg format. I wanto draw the niddle and want the niddle to move according to the temperature. For drawing the nidle - I used 'Graphics.DrawLine Method (Pen, Point, Point)' method where second point is fixed. As I want to keep the lenth of the niddle same every where I have to find a way to calculate how it's 'x' and 'y' coordinates change according to the temperature.
Just wondering any one can cast a light here please. Any tutorial or any thing I can use! Please find attached screen shot.
Thanks in advance.