ON 20030808@6:03:18 AM at page: http://massmind.org/techref/hardware.htm DAV-MP-E62a David A Cary edited the page. Difference: http://massmind.org/techref/diff.asp?url=H:\techref\hardware.htm&version=13 ON 20030808@6:26:28 AM at page: http://massmind.org/techref/electips.htm DAV-MP-E62a David A Cary I have agreed to maintain this page. ON 20030808@6:44:25 AM at page: http://massmind.org/techref/electips.htm DAV-MP-E62a David A Cary edited the page. Difference: http://massmind.org/techref/diff.asp?url=H:\techref\electips.htm&version=6 ON 20030808@6:48:14 AM at page: http://massmind.org/techref/electips.htm DAV-MP-E62a David A Cary edited the page. Difference: http://massmind.org/techref/diff.asp?url=H:\techref\electips.htm&version=7 ON 20030810@11:10:51 PM at page: http://www.piclist.com/techref/resistors.htm JMN-EFP-786 James Newton archive reference http://www.piclist.org/techref/postbot.asp?by=time&id=piclist/2003/08/10/105844a PICList post "1% resistors - How to find exact integer multiples of each other" Programs to exaustivly find resistor combinations for specified ratios ON 20030812@4:58:06 PM at page: http://www.piclist.combegin.htm JMN-EFP-786 James Newton removed post 37845.2889699074 |Delete 'jert_d_orig@yahoo.com asks:
hi, good day to you! I'm "Jeryl" from CEBU, PHILIPPINES. I am a computer engineering student. I'm working on a project that i named "TRASH SEGREGATOR". I really need your help. My proposed abstract is to segregate the paper from other trashes. I already have an idea on how to segregate the paper from other trashes. Unfortunately, my teacher did not approved it for some reasons. CAN YOU GIVE ME IDEAS ON WHAT WAY CAN I SEGREGATE THE PAPER FROM OTHER TRASHES? MY TEACHER TOLD ME SOMETHING ABOUT THE "CAPACITANCE". CAN YOU TELL ME HOW WILL IT WORK? THANK YOU VERY MUCH!!!!....
' ON 20030812@4:59:31 PM at page: http://www.piclist.comreadmodwrite.htm JMN-EFP-786 James Newton published post 37844.5015625 pat@patotoole.net asks:
Your concept of shadow registers...I like...

for writing...write to the shadow first (bcf...whatever)...then MOVE that
to the port..

how about a port read...I'm thinking you DONT want to alter the shadow
output pins
(ie...if there is a cap load...they said an output could as 0 instead of
1...

I'm thinking....
BSF STATUS,RP0 ; bank1
COMF TRISA,W ; read the direction
bits...(inverted...so 1 for output)
ANDWF shaddow,F ; now we only have the output
bits and their current status

MOVF TRISA,W ; read the direction bits...(1
for input)
BCF status,rp0 ; bank0
ANDWF PORTA,W ; now we only have the input bits

bsf status,rp0 ; bank1
IORWF shaddowA,F ; now we have the ACTUAL input
values, and the logical output values WE set in code.

am I correct in thinking...this is the ONLY way to be 100% when reading a
port...that you dotn alter the output values???


FYI....most of my outputs are driving 'direct drive triacs' to handle
110VAC light dimmers (shocking!)

and I toggle one from output to input (hi-Z) to make a red/green
bi-polar led show yellow (or kinda orange!)


Wanted to get your thoughts...(would this work all the time? Is it
overkill? would these loads need this or can
I assume that the outputs wont change)

Thank you very much

Pat O'toole - never met a PIC I didnt like !

|Delete 'P-' before: '' but after: '