C# help

Discussion in 'Programmer's Corner' started by Dave S, Jan 18, 2012.

  1. Dave S

    Thread Starter New Member

    Jan 18, 2012
    4
    0
    Hi all,

    New member here so please be gentle!

    I am a beginner in C# and want to read in a byte of serial data and display the result on a PC as a sort of led mimic panel. 1 byte would give 0 - 255.
    To begin I would like say 10 circles on the screen. I would like to fill these according to the contents of the byte sent, starting with 0 - 10.
    (0x00 - 0x0A). So an empy circle reflects off and a filled circle on. Hope that makes sense.

    I have found tutorials for the serial input but can anyone point me in the right direction for the graphics part?

    Thanks,

    Dave.
     
  2. spinnaker

    AAC Fanatic!

    Oct 29, 2009
    4,887
    1,016
    I'd suggest you post in one of the Microsoft forums. There are a ton of very experienced # programmers there.

    But it sounds to me like you need a tutorial. I have always been a fan of books. I have a ton that cover programming in C and Java and programming in the Windows environment. Most of them obsolete. Some go back to Windows 3.1 :)
     
  3. Dave S

    Thread Starter New Member

    Jan 18, 2012
    4
    0
    Thanks for the reply Spinnaker.

    I have a couple of books on C# which barely mention graphics and the tutorials on line that I've found so far are vague on the subject.

    I'll try the Microchip Forums.
     
  4. spinnaker

    AAC Fanatic!

    Oct 29, 2009
    4,887
    1,016

    Not "Microchp", Microsoft. They won't know what you are talking about at Microchip.
     
  5. cheezewizz

    Active Member

    Apr 16, 2009
    82
    10
  6. Dave S

    Thread Starter New Member

    Jan 18, 2012
    4
    0
    Sorry, force of habit. I spend most of my time programming Pic's. :)
     
  7. Dave S

    Thread Starter New Member

    Jan 18, 2012
    4
    0
    Thanks Cheezewizz, I'll have a look.
     
Loading...