Searching \ for 'My first project' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page:
Search entire site for: 'My first project'.

Truncated match.
PICList Thread
'My first project'
2000\06\11@101519 by Michael Koehler

part 0 611 bytes content-type:application/octet-stream; (decoded 7bit)

I'm new to the pic world. I'm attaching to you my first project. The project
is: a counter from 0 to 99 with two 7 segments, the counter will increment
every time the push button is pressed.

My question: Is this the right way to write the program, or there is another
way. I want to know if I'm on right way with pic.


Content-Type: application/octet-stream;
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;

Attachment converted: creation:pushb.asm (????/----) (0001641F)

2000\06\12@064753 by John Perkinton

Yeah, your well on the way, but to make life easier for the future document
your code well.

When I write a proggy i lay out my routines first like comments eg:

;*****init pic chip**********

;*****main routine***********
; set up all the shite
; scan this and that
; do this
; do that
; loop back

then i fill in the rest eg:

;*****init pic chip**********

;*****main routine***********
call    setupshite      ; set up all the shite
call scannerstuff       ; scan this and that
call thatroutine        ; do this
; do that
; loop back





If you break up your program like this doing comments before you actually
write the code it is a shit load easier to do the code, and you don't have
to document it afterwards, cause you've already done it. Then, if you have
any bugs afterwards it is easy to sort. Its just like taking some notes on
paper before hand. Saves loads of time, makes it easy to read by others,
makes it easier to check afterwards, and makes it neat and understandable.

{Original Message removed}

'My First Project'
2004\04\13@163349 by Matt Marsh
Hi guys,

I've just recently managed to get my first PIC project up and
running, yay! It's nothing too complex, just a bunch of LEDs (19 of
them) arranged in a star formation (1 in the center and then 3
going out to each of 6 points of the star). A single push button
allows the user to cycle through four different sequence patterns.

It seems to work ok, but no doubt there are plenty of improvements I
could make both to the hardware design and to the code. If anyone
would like to take a look at the code and/or schematic I'd be more
than grateful to receive any feedback... I've put them up at:

I've had great fun playing around with electronics and getting this
thing up and running... now onto project number two!


Matt N. Marsh
Email:          Yahoo: marshmn
 Web:  Jabber:
                                    ICQ: 250467363
                                    AIM: MattMarshUK

-- hint: The PICList is archived three different
ways.  See for details.

More... (looser matching)
- Last day of these posts
- In 2004 , 2005 only
- Today
- New search...