Results 1 to 3 of 3

Thread: Parallel Port Made Easy

  1. #1

    Thread Starter
    New Member
    Join Date
    Jun 2009
    Posts
    2

    Parallel Port Made Easy

    Heres the deal. I'm rusty at VB and i need a program...


    I have here a MICROCHIP "Attiny2313" that i would like to create an user friendly interface for. NO I AM NOT HACKING ANYTHING. Many electronic experimenters like me use these chips to play with "Leds" and "IR remote controls" to build robots etc,,,,

    How do you flash the Attiny2313 Hex file onto the chip? Well, its simple. You start by downloading the Datasheet for the chip and follow the instructions like so. Example, to program code into the chip may require you send and instruction followed by the hex file written is assembly. Example code that says Burn this hex to the chip, Wright "0010 000" then send your code.

    Great, glad to get that outta the way...





    Now to my question. How do you interface the Parallel port, and how do you control it. I've seen 50 Billion questions on how to do this and they all lead to no where, which is why i posted here, in the "COM" section where it belongs.

    How do i control the parallel port? I can program in visual basic, i have never used any include files, nor know how to include them or even what to do with them. I'm no newbie but i am very very very new when it comes to any include file or using the parallel port. I once tried to use WINSOCK but the instructions was so lame i gave up trying to follow a paper trail. Is it worth the hassle, what sorta paper trail will i have to follow in order to understand how to program the parallel port? As i was saying, i know how to follow instructions, i know what should be sent in order to program the attiny microcontroller. The problem is sending it.

    Nothing is hard, its knowing what to do. Sometimes it is to hard to know what to do, or know how to do it. In any case, if that is the case, "impossible to find instructions" then I give up before i start. As i said, i have no experience in include files, api's etc,,, So, lets see what happens here if any.

  2. #2
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: Parallel Port Made Easy

    Welcome to the forums.

    You are in luck in terms of the include files. Visual Basic does not have include files (and never has had them) - you are thinking of the various C programming languages so you don't need to worry about how to use them.

    Have a look here.

  3. #3
    Addicted Member aa9gg's Avatar
    Join Date
    Apr 2009
    Location
    Chicagoland
    Posts
    184

    Re: Parallel Port Made Easy

    VERY NICE LINK HACK!!!!!!!!!!!

    Google and go look at PonyProg or even the AVRFreaks site. Plenty of "canned" programs already done to prog Atmel (or PICs for that matter). Check out Imagecraft.com for a C compiler/programmer.

    73 de AA9GG
    Last edited by aa9gg; Jun 25th, 2009 at 08:32 AM. Reason: content

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width