PIC 18F4620, program help needed!!

Discussion in 'Programmer's Corner' started by mcdara, Feb 23, 2011.

Thread Status:
Not open for further replies.
  1. mcdara

    Thread Starter New Member

    Feb 23, 2011
    11
    0
    Hi,
    Im a student in UCC and just working on a project where i require to turn a DC motor in 7 different directions, one starting from 0 degree straight, with 180 degrees complete right and -180 degrees complete left, you get the picture

    The aim is to turn a shaft of toy gun to demonstrate different shooting angles

    My experience to date is I can get the basis LED flashing, and a basic understanding of while, if and else loops

    Can anyone help with a sample code needed to turn this motor in different 7 steps?

    Kinda regards, Mcdara
     
  2. t06afre

    AAC Fanatic!

    May 11, 2009
    5,939
    1,222
    And what do you have so far regrading coding. We will be happy to help you. IF you show some effort. But thinking or hoping that somebody will just hand over a full project. So you just can print out the project and slap on a mcdara sticker. Well that will never happened in this forum. As we we do not like or help coasters . But if you show some effort you will be well rewarded:rolleyes: The ball is in your court
     
  3. beenthere

    Retired Moderator

    Apr 20, 2004
    15,815
    282
Loading...
Thread Status:
Not open for further replies.