Searching \ for ' I need help' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: www.piclist.com/techref/index.htm?key=need+help
Search entire site for: 'I need help'.

No exact or substring matches. trying for part
PICList Thread
'dual RS232, 40 kB ram, LCD display - I need help.'
1996\12\04@091449 by Ralf Sigmund

flavicon
face
Hello
I am about to start my first Pic Project. It is a small device that
should

 (1) accept digital data (numbers & strings) from a Measurement device
via RS 232 at  any time.

 (2A) store the Information in memory (approx. 20 Kilobytes of data)
 (2B) display the latest aquired data on a LCD display

 (3) send all data to a PC via a second RS 232

After reading some FAQs there remain still some questions:

What kind of Memory should I use (lithium battery backed up static ram,
EEPROM, Flash...)?
How do I wire the memory to a PIC? Any Circuits ?

How do I wire two RS 232 ports ( one with Hardware Handshake )? Do I need
a UART or is just a simple MAX 232 signal converter enough?
Where can I get Sourcecode for serial communications?

Should I try to program the PIC in assembler code or in a high level
language like C? My budget is very limited, as I am a student. I would
like to get a cheap development environment with lots of information on
using it, writing pic assembler code etc..

Does anyone know of information on similar project?

How can I get documentation on PICs from Germany. Do you know any
suppliers which ship to Europe, Germany?


Thank you for any hints.

Again thanks and Bye
  Ralf

1996\12\04@133022 by Brooke

flavicon
face
Ralf Sigmund wrote:
>
> Hello
> I am about to start my first Pic Project. It is a small device that
> should
>
>   (1) accept digital data (numbers & strings) from a Measurement device
> via RS 232 at  any time.
>
>   (2A) store the Information in memory (approx. 20 Kilobytes of data)
>   (2B) display the latest aquired data on a LCD display
>
>   (3) send all data to a PC via a second RS 232
.......
Ralf:

How about allowing the data to go directly to the PC.
Use a PIC to listen-in to the data and convert it to
ASCII and send to the LCD.  This can easily be done
using a 16F84.

Have Fun,
Brooke

1996\12\04@135058 by Shawn Ellis

flavicon
face
>How about allowing the data to go directly to the PC.
>Use a PIC to listen-in to the data and convert it to
>ASCII and send to the LCD.  This can easily be done
>using a 16F84.
>
>Have Fun,
>Brooke
>
Yeah, and the PC's rs232 buffer could be made to be quite large if you are
using something like Visual Basic in Windows 95...
Allowing you to record the data without the PC's attention...

1996\12\07@232030 by Alex I. Torres

flavicon
face
  Hi All PICers !

Wednesday December 04 1996 11:12,
spam_OUTRalf.SigmundTakeThisOuTspamSTUD.UNI-HANNOVER.DE wrote in PICLIST:

RS> I am about to start my first Pic Project. It is a small
RS> device that should
RS>
RS>   (1) accept digital data (numbers & strings) from a
RS> Measurement device via RS 232 at  any time.

You only receive data from this device ?  (1)

RS>   (2A) store the Information in memory (approx. 20 Kilobytes
RS> of data)

 It is the most problem. If you use 16C74 you can put one port as
DATA (8 bit), other ports as ADDRESS (15 bit for 32 kB)
and -CS,-WR,-OE (3 bit) : 8+15+3=26 bit. C74 have 33 bit I/O.
What about using 3x 6264 (8kx8 cmos static ram) or other with
more memory space (62256) ?  (I have many 6264 :-)
13 bit for address, and 3 bit for chip selection.

RS>   (2B) display the latest aquired data on a LCD display

If you want to built low-cost device try to use any 4-digit LCD
display with Microchip's AY-0438 controller. It require onle 3
wire (PIC's I/O) for communicate.

RS>   (3) send all data to a PC via a second RS 232

Only send ?  (2)

RS> After reading some FAQs there remain still some questions:
RS>
RS> What kind of Memory should I use (lithium battery backed up
RS> static ram, EEPROM, Flash...)? How do I wire the memory to a
RS> PIC? Any Circuits ?
RS>
RS> How do I wire two RS 232 ports ( one with Hardware Handshake
RS> )?

If (1) and (2) is true the best way is 16C74 that have serial port.

RS> Do I need a UART or is just a simple MAX 232 signal
RS> converter enough?

It's depend for the RS232 speed. If you not use high speed the
simplest (and low cost) solution is :
         +5v --------------| e
                   |      /
from PIC's TxD      R2   |/
   --->----- R1----|----|\  c
                        | \---------------------->---  RS232 RxD
                           |
                           |
                           R3         |\ |
                           |----------| /|-------<--- RS232  TxD
                          _|_         |/ |   |
                          ---+C1             |  R1,R2,R3 2-10 kOhm
                           |                 |  C1 5-100 uFx16-20v
                          _|_                |
to PIC's RxD                                  |
----------------<------------------------------

I dont remember, mayby PIC's signals must be inverted.

Resume:
using 16C74 with 3x 6264 and AY-0438 :
 8data+13address+3xCS+OE+WE+2xRS232+3xAY =31 bit.
You have 2 I/O free for handshake.
---------------------------------------------------------------------
  Best Wishes, Alex Torres.
  Kharkov, Ukraine, exUSSR.
  E-Mail To : .....altorKILLspamspam@spam@cook.kharkov.ua   via InterNet
              or 2:461/28             via FidoNet

--- GoldED 2.50.A0531+

1996\12\09@065353 by David Nicholls

flavicon
face
       Hi there,
               I'm interested in something similar ! I too am about to
start my first serious pic project and I intend to have serial i/o to pc,
16 digital inputs, 9 relay driver outputs an lcd display and up to 8k of
EEPROM (on serial i2c bus). I plan to use a pic16c74 with 9 outputs
dedicated to a uln2803 relay buffer. 8 pins multiplexed as one of 2 8bit
banks of digital inputs ( reading from an 8 bit tristate latch ) and also
drive 8 of the data lines on a hitachi lcd display. With the other 3
control lines provided by dedicated pins. A further 3 pins are allocated
to the multiplexing of the 3 devices ( A little overkill but not too
much) .
               Personally I have a preference to EEPROM on an I2C bus as
this only uses 2-3 wires and doesn't waste much board space or need
complex wiring.. As for the serial I/O. Well the 16c74 has its own serial
port but you may need a max232 to to convert its ttl outputs to the 12v
rs232 standard. However if these are you only needs then you may be more
inclinded towards using a pic16c84.. As this chip has an onboard eeprom 1k
for program storage. It is a much more project development friendly
device. If your program will fit in 1K and then data speeds are slow
enough to store in an EEPROM. ( serial rates probably would be ). Also
this chip is considerably cheaper than its larger counterpart. $12 as
opposed to $50 for the 16c74 EPROM ver. Irish Prices !) However if I
remember correctly the 16c84 may not have an inbuilt UART ( Only just
realised that ) so you may have to code this youself. (Tricky I recon)
Perhaps the 16c71 may be a happy compromise..
               Anyway as you probably realised I am  not the most
experienced in programing PICs but perhaps my suggestions may fuel
comments from other more experienced PICers. Anyway best of luck in your
endevours and let me know how you get on, as I will probably experience
similar problems.


                                       David Nicholls


On Fri, 6
Dec 1996, Alex I. Torres wrote:

{Quote hidden}


'PIC 16c84 4bit LCD interface - I need help'
1998\02\26@074242 by Ralf Sigmund
flavicon
face
After serveral trys to implement a 4 bit Interface to an HD44780 driven 2 x
16 LCD display I desperately seek some help.
I tried to use the code snippet Dave Duley posted some time ago.
Unfortunately it just did not work.
Perhaps I failed, because the source covered only the used functions and no
main program...
The Microchip AN 587 example code uses a 16c5x device.
As the only Pic Controller I have here is a 16c84 I ran into serious
problems
because i do not know all the registers and ports they use.
I am not sure in what order I should connect the RB lines to the Display and
if I should use rb0-rb3 or rb4-rb7 as data lines.
I tried Myke Predkos Thermo5 Basic Example which worked fine, but is an 8
bit interface without usage of the LCD R/W line.

Thanks for any help
Ralf

1998\02\26@084633 by Lauri Pirttiaho

flavicon
face
:After serveral trys to implement a 4 bit Interface to an HD44780 driven 2 x
:16 LCD display I desperately seek some help.
<etc...>

If you do not mind doing some actual coding yourself, the thing you
need is HD44780 manual. Now, fortunately, it is online. In

http://www.hea.com/hean2/lcdc/hd44780list.htm

at Hyundai pages you can find a rather complete manual for HD44780.
Notice the initilaization procedure, you need at the beginning.
You need that to set the 4-bit operating mode!

For 4-bit interface you need 7 lines: Enable, Register Select,
Red/Write and Data lines 4-7. Initiation of the 4-bit mode
is described in the "Initialization: By Instructions" link
and 8-bit data is written over the 4-bit interface with
most significant nibble first.

-- Lauri

---
<a href="http://www.ee.oulu.fi/~lapi/">For more info.</a>

1998\02\26@124602 by Steve Lawther

flavicon
face
    Ralf,
   
    see my test circuit and software for the 16C84 on
   
    http://ourworld.compuserve.com/homepages/steve_lawther/charlcd.htm
   
    This shows how to implement a 4 bit interface, and the test software
    gives you error codes, if it finds faults.
   
    Any problems, just shout.
   
               Steve Lawther
   


______________________________ Reply Separator _________________________________
Subject:      PIC 16c84 4bit LCD interface - I need help
Author:  MIME:EraseMEralf.sigmundspam_OUTspamTakeThisOuTSTUD.UNI-HANNOVER.DE at INTERNET-HUSKY
Date:    26/02/98 14:56


After serveral trys to implement a 4 bit Interface to an HD44780 driven 2 x
16 LCD display I desperately seek some help.
I tried to use the code snippet Dave Duley posted some time ago.
Unfortunately it just did not work.
Perhaps I failed, because the source covered only the used functions and no
main program...
The Microchip AN 587 example code uses a 16c5x device.
As the only Pic Controller I have here is a 16c84 I ran into serious
problems
because i do not know all the registers and ports they use.
I am not sure in what order I should connect the RB lines to the Display and
if I should use rb0-rb3 or rb4-rb7 as data lines.
I tried Myke Predkos Thermo5 Basic Example which worked fine, but is an 8
bit interface without usage of the LCD R/W line.
   
Thanks for any help
Ralf
   

1998\02\26@124607 by mike

flavicon
picon face
In message  <199802261345.PAA13729spamspam_OUTtk8.oulu.fi> @spam@PICLISTKILLspamspamMITVMA.MIT.EDU writes:
{Quote hidden}

Minor correction, I think you'll find the Read?write line is not
needed and should be tied low IF you don't want to read from the
display.

Regards,

Mike

1998\02\26@221805 by Adi

flavicon
face
Hi Ralf,

I am just beginning to tackle the same project, interfacing a PIC to
a HD44780 using the 4 bit interface. I am using a 74HC595 to free up
some I/O on the PIC. Anyways, you are supposed to use DB4 to DB7.
B.G. Micro sells some 2x20 LCD displays and their datasheet for the
display has some helpful info about the 4bit transfer. Their website
is http://www.bgmicro.com. I could also send the file if you like...

Regards,
Adi

{Quote hidden}

1998\02\27@003829 by Mark Lezama

flavicon
face
Ralf, if you want to used the HD44780 in a 4 bit interface:

1.- You have to used DB4-DB7 in the module it doesnt matter if you conect
rb0-rb3 or rb4-rb7 but you have to be wiser in what way you are sending the
information.

2.- When you circuit startup wait at least 15ms before send any inormation to
the HD44780.

3.- Put RS=0; R/W=0; dato=0011 (dato=DB7 DB6 DB5 DB4). dont check BF

4.-Wait at least 5ms.

5.- Put RS=0; R/W=0; dato=0011 (dato=DB7 DB6 DB5 DB4). dont check BF

6.- Wait at least 100uS.

7.- Put RS=0; R/W=0; dato=0011 (dato=DB7 DB6 DB5 DB4). dont check BF

8.- Put RS=0; R/W=0; dato=0010 (dato=DB7 DB6 DB5 DB4). this set 4 bit interface.
after this step you can check BF and have to send the commands for funtion sets,
etc.

Ralf Sigmund escribis:

{Quote hidden}

1998\02\27@015502 by Philippe

flavicon
face
At 13:29 26/02/98 +0100, you wrote:
>After serveral trys to implement a 4 bit Interface to an HD44780 driven 2 x
>16 LCD display I desperately seek some help.
>I tried to use the code snippet Dave Duley posted some time ago.
>Unfortunately it just did not work.
>Perhaps I failed, because the source covered only the used functions and no
>main program...

UMPS will help you to see why it does not work: it will simulate
the HC44780 LCD panel. Try it:

       http://www.sistudio.com/umps

Regards,
       Philippe.

 +--------------------------------------------------------+
 |  Virtual Micro Design                                  |
 |  Technopole Izarbel,                                   |
 |  64210 BIDART                                          |
 |  FRANCE                                                |
 |                                                        |
 |  Phone: +33 559.438.458   Fax: +33 559.438.401         |
 |                                                        |
 | E-Mail: TakeThisOuTp.techerEraseMEspamspam_OUTidls.izarbel.tm.fr                    |
 | URL:    http://www.sistudio.com/umps                   |
 +--------------------------------------------------------+







{Quote hidden}


'PIC 16c84 4bit LCD interface - I need help'
1998\03\03@202406 by Ron Kreymborg
flavicon
face
Ralf and Others

I started a project some time ago which included the requirement for a
2-line lcd display using a 4 line interface to a 16X84. Others on the
piclist helped me over a problem when I was setting the contrast
incorrectly (in fact not at all). The lcd module is now working well and
uses just 75 bytes (here a byte is 12 bits!).

For those who want to look at yet another lcd driver, it's on my web page
at http://www.shm.monash.edu.au/~r.kreymborg/pic/lcd.html and includes a test
program and all the necessary files in zip format to download.

Ron

On Thu, 26 Feb 1998, Ralf Sigmund wrote:

> After serveral trys to implement a 4 bit Interface to an HD44780 driven 2 x
> 16 LCD display I desperately seek some help.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Ron Kreymborg                   Computer Systems Manager
Monash University               CRC for Southern Hemisphere Meteorology
Wellington Road
Clayton, VIC 3168               Phone     : 061-3-9905-9671
Australia                       Fax       : 061-3-9905-9689
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


'Incremental encoders, I need help please!!'
1999\04\13@172328 by Gavin Tennant
picon face
Hi,

Okay, I've tried searching through the archives but I just can't seem to
find the information I need! I know you guys are pretty brainy out there so
maybe you could help me?

I'm building what is known in my trade (sawmilling) as setworks.  This
basically measures the output from an optical rotary encoder counting the
pulses and measuring the distance travelled. The shaft of the encoder is
mounted onto a rack system with teeth. I've ripped out the old Klockner
Mueller system to build my own (it had lost the program and proved to
expensive to replace) but am having trouble getting pic (a 16C64A) chip to
count the pulses properly.

Right: Problem 1: The keypad to enter the sizes isn't being recognised
correctly! I based the program round one I found in the cookbook and
simulated it where it worked properly, just doesn't seem to work when
plugged in (the wiring is correct from the keypad to the chip, I've had that
checked) Any ideas??

Problem 2: Simple electrical fault here that I just can't fix.  The pic
drives a couple of relays to switch a 240V supply for the motors, this seems
to reset the whole system or mess the counting up, any electronics boffins
who can help with that one??

Problem 3: (I know, there's a lot of them!) The main problem is that it
doesn't count properly.  The encoder was built by a company who no longer
exist but I can get a replacement from a company called Ideacod. There
encoder which is the exact spec of my one is an incremaental PAO2 5 7 9 480
type encoder  Now, I can't really help with the numbers as I've gone and
lost the book with them in (I've phoned for a new one which I can supply to
anyone in the know!)  It's counting at 480 pulses per revolution, tooth
pitch of 8mm and 96mm per revolution of the encoder (or 0.2mm per pulse).
These pulses are basically being fed into the pic (after a bit of cleaning
up) to count and move the motors accordingly.  By the way, my idea is to
type the number in on the keypad and the whole shebang moves to that size.
The whole thing simulates correctly on mplab but doesn't work at all when
connected to the machine.

Can anyone help me out there please?? I've been at this off and on for over
a year now! If you want or need any more help with exact specs of this thing
or need to know anymore about what I've done then I'd be more than happy to
give you a copy of the source and/or circuit diagrams!

Again, I know this seems a lot but I'd be eternally gratefull to anyone who
can help!

Thanks and I'll be looking forward to hearing from you!!

Gavin Tennant

1999\04\14@005138 by Troy P.

picon face
{Quote hidden}


'[OT] RTX51 TINY users - I need Help!'
2000\05\11@103145 by Somasundaram Meiyappan
flavicon
picon face
Hi Piclisters,

Sorry this message is about a different micro altogether.

I am working on a project tht uses RTX51 TINY version. The program compiles
properly. But during execution, I am not able to execute any task other
than task0. I have included the program below. I use KEIL C51 Version5.2
and the RTX51 TNY files that come along with it.
I use the following lines to compile the code

C51 rtxchk.c51
BL51 rtxchk.obj RTX51TINY
OH51 rtxchk

Please let me know if I am missing anything.

Thanks and Regards,
Somasundaram Meiyappan.

////////////////////////////////////////
/* The Program File */

#include <rtx51tny.h>
#include <at89x51.h>

TASK0() _task_ 0
{
       P0 = 0xFF;
       P1 = 0xFF;
       P2 = 0xFF;
       P3 = 0xFF;

       os_create_task(1);
       os_create_task(2);

       os_send_signal(1);
       os_send_signal(2);

       while(1)
       {
               P1 = 0x01;
       }
}

TASK1() _task_ 1
{
       os_wait1(K_SIG);
       while(1)
       {
               P2 = 0x01;
       }
}

TASK2() _task_ 2
{
       os_wait1(K_SIG);
       while(1)
       {
               P3 = 0x01;
       }
}


'[PICLIST] I need help'
2001\04\18@125321 by Martin Velez
flavicon
face
Hello everybody, i'm a new begginer in the pic´s world but  i don´t have
information to learn about it, somebody could tell me where found this
information or send it by email, thanks.

an apologize for my english

regards.
--
http://www.piclist.com hint: The list server can filter out subtopics
(like ads or off topics) for you. See http://www.piclist.com/#topics


2001\04\18@130107 by Martin Velez

flavicon
face
Hello everybody, i'm a new begginer in the pic´s world but  i don´t have
information to learn about it, somebody could tell me where found this
information or send it by email, thanks.

an apologize for my english

regards.

Martin Velez
--
http://www.piclist.com hint: The list server can filter out subtopics
(like ads or off topics) for you. See http://www.piclist.com/#topics


2001\04\18@130525 by David VanHorn

flavicon
face
At 10:46 AM 4/18/01 -0600, Martin Velez wrote:
>Hello everybody, i'm a new begginer in the pic´s world but  i don´t have
>information to learn about it, somebody could tell me where found this
>information or send it by email, thanks.

http://www.microchip.com is the fount of all knowlege :)

--
Dave's Engineering Page: http://www.dvanhorn.org
Where's dave? http://www.findu.com/cgi-bin/find.cgi?kc6ete-9

--
http://www.piclist.com hint: The list server can filter out subtopics
(like ads or off topics) for you. See http://www.piclist.com/#topics


2001\04\19@005247 by BENEDICIC SAMO

flavicon
face
I found this tutorial very helpful.

http://pc-tek.hypermart.net/pic.html

Regards, Samo

-----Original Message-----
From: pic microcontroller discussion list [PICLISTEraseMEspam.....MITVMA.MIT.EDU]On
Behalf Of Martin Velez
Sent: Wednesday, April 18, 2001 6:46 PM
To: EraseMEPICLISTspamMITVMA.MIT.EDU
Subject: I need help


Hello everybody, i'm a new begginer in the pic´s world but  i don´t have
information to learn about it, somebody could tell me where found this
information or send it by email, thanks.

an apologize for my english

regards.

Martin Velez
--
http://www.piclist.com hint: The list server can filter out subtopics
(like ads or off topics) for you. See http://www.piclist.com/#topics

--
http://www.piclist.com hint: The PICList is archived three different
ways.  See http://www.piclist.com/#archives for details.


2001\04\19@012058 by Tony Nixon

flavicon
picon face
> Hello everybody, i'm a new begginer in the pic´s world but  i don´t have
> information to learn about it, somebody could tell me where found this
> information or send it by email, thanks.
>
> an apologize for my english
>
> regards.
>
> Martin Velez

Maybe try...

http://www.bubblesoftonline.com/projects.zip

-- Best regards

Tony

mICros
http://www.bubblesoftonline.com
RemoveMEsalesEraseMEspamEraseMEpicnpoke.com

--
http://www.piclist.com hint: The PICList is archived three different
ways.  See http://www.piclist.com/#archives for details.



'[PIC]: My Servo code that i need help on plz?'
2002\01\04@021229 by Prince Anamalech
picon face

Here is my servo code?

i am not sure how good it all is ? as i am new to mplab and assembly language!

but i think i may have gone wrong with the servo updates somewhere? ??? :)

each servo is on porta.0 and port a.1 of my 16f84? but i have only written some code for one servo? how do i implement two and get the code to work for me? eg. backwards,forwards?

Below is the code!

Thankyou all in advance

anamalech

;"SmartBot Servo Test Program - Written By Anamalech"
INCLUDE "P16F84.INC"

BSF     STATUS,RP0         ;Set register bank 1
        CLRF    TRISA     ;Set All PORTA Pins to outputs

Counter         EQU     0Ch             ;Servo delay counter register
Position        EQU     0Dh             ;Servo Position register

#DEFINE  Servo1  PORTA,0  ;Defines Servo (A.0) I/O Pin on PIC16F84


Servo           MOVLW   0               ;Load Counter with # of cycles for
                MOVWF   Counter         ;1 ms Servo Delay
                BSF     Servo1          ;Activate the Servo output
                CALL    Delay           ;Wait for 1ms to pass
                MOVF    90,0            ;Load W with servo posi tion
                                        ;00 & FF=extremes, 128=centre
                MOVWF   Counter         ;and store in Counter for next delay
                CALL    Delay           ;Keep servo active for position delay
                GOTO Servo 

Delay           ;Servo time delay
                NOP                     ;Pad the loop with one cycle
                DECFSZ  Counter         ;Counter=Counter-1
                GOTO    Delay           ;If Counter is not 0, repeat
                RETURN                  ;If 0, return

END

       

 

 




 

 
Web: www.anamalech.multiservers.com
 
Email: anamalech@hotmail.com


Send and receive Hotmail on your mobile device: Click Here
-- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.

2002\01\04@040525 by ards, Justin P

flavicon
face
I will have a go ...

I am guessing from all I have read on the list that servo's are Pulse Width
Modulated.

You initially set the counter to zero, then turn portA.0 on.  The delay is
called and decs counter by 1 so result is 255.  So it continues to count
down to 0 and that's when it will return. (This may or may not be 1ms)

On returning you set the counter to 90 and call the delay.  (This delay
being 90/256  of the first delay) but the code does NOT turn off PortA.0
i.e. BCF Servo1 after the first Delay Call.  I think this is the problem for
Servo1.

To control Servo2 you will need to define as you have for Servo1 and then
add the instructions BSF Servo2 and BCF Servo2 in the right places.

To control them independently, well that's a little more involved.  You
could use inputs that when active you change the values that you put into
counter for the delays.  i.e. increment or decrement counter values as
required.

I hope this helps, I am reasonably new to this myself so I may be leading
you astray.

Justin

{Original Message removed}

2002\01\04@115242 by Steve Faulkner

flavicon
face
Source code for controlling multiple servos with the 16f84 is available on
http://www.piclist.com

----- Original Message -----
From: "Richards, Justin P" <RemoveMEJustin.Richardsspam_OUTspamKILLspamTEAM.TELSTRA.COM>
To: <RemoveMEPICLISTTakeThisOuTspamspamMITVMA.MIT.EDU>
Sent: Thursday, January 03, 2002 11:45 PM
Subject: Re: [PIC]: My Servo code that i need help on plz?


> I will have a go ...
>
> I am guessing from all I have read on the list that servo's are Pulse
Width
> Modulated.
>
> You initially set the counter to zero, then turn portA.0 on.  The delay is
> called and decs counter by 1 so result is 255.  So it continues to count
> down to 0 and that's when it will return. (This may or may not be 1ms)
>
> On returning you set the counter to 90 and call the delay.  (This delay
> being 90/256  of the first delay) but the code does NOT turn off PortA.0
> i.e. BCF Servo1 after the first Delay Call.  I think this is the problem
for
{Quote hidden}

> {Original Message removed}

2002\01\05@042818 by Alexandre Domingos F. Souza

flavicon
face
>Source code for controlling multiple servos with the 16f84 is available on
>http://www.piclist.com

       Sure, but where is the FUN?

       I want to roll my own ;o)


---8<---Corte aqui---8<----

Alexandre Souza
EraseMEtaitospamspamspamBeGoneterra.com.br
http://planeta.terra.com.br/lazer/pinball/

---8<---Corte aqui---8<----

--
http://www.piclist.com#nomail Going offline? Don't AutoReply us!
email RemoveMElistservKILLspamspammitvma.mit.edu with SET PICList DIGEST in the body



'[PICLIST] I need help with programming!'
2002\02\22@114414 by geci
flavicon
face
Hi guys!.

I really need someone who has a real knowledge about in some of these fields
applied to PIC micros: fuzzy logic,neural netowrking and genetic
algorithms.In case of you have one of these knowledge please contact to me.

Thanks a lot and forgive my impatient.


Gabriel

--
http://www.piclist.com hint: The list server can filter out subtopics
(like ads or off topics) for you. See http://www.piclist.com/#topics


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