ON 20031007@12:48:26 PM at page: http://www.piclist.com/techref/microchip/picboard.htm UN-M_ED-042 Uche Nwoko Says ON 20031010@10:34:49 PM at page: http://www.piclist.commicrochip/links.htm JMN-EFP-786 James Newton published post 37904.8473032407 http://www.electronickits.com/kit/complete/complete.htm ElectronicKits.com - Hundreds of Electronic Kits and Pic Programmer Projects |Delete 'P-' before: '' but after: 'adoktar@abo.fi refers to " http://www.abo.fi/~adoktar/picdev PIC Development Studio is a new simulator for PIC16F84. More info is available on the homepage. " |Delete 'P-' before: '' but after: 'sumtin_s2pid@yahoo.com asks:
hey there! I just found aout about this site and I would just like to ask if anybody knows how I can be able to scan at least 4 bits and distinguish if any of those bits chaged, and record the number of times it changed. I was trying to but I only came up with the bit test function, which tests each bit. This proved to be long and confusing. It would be great to scan them all at once and see if it changed... for example, it will read 1001 and be able to see if it changed to 1000 or any bit change, then record the number of changes..... thanks....=)
' ON 20031024@4:51:20 PM at page: http://www.piclist.com/techref/microchip/codeflow.htm JMN-EFP-786 James Newton archive reference http://www.piclist.org/techref/postbot.asp?by=time&id=piclist/2003/10/24/121708a PICList post "how to compare two numbers" ON 20031025@7:19:59 PM at page: http://www.piclist.commicrochip/routines.htm JMN-EFP-786 James Newton removed post 37919.5251851852 |Delete 'cibermega2001@yahoo.com.mx asks:
how to make a matriz led (little) 100x100 led de 5 mm,
to make ads and/or see video. television.
the matriz is easy? but, hou to inject video signal to.
If somebody know some please tell me. were invetigate?
bibliography
' ON 20031025@7:20:16 PM at page: http://www.piclist.commicrochip/serial.htm JMN-EFP-786 James Newton published post 37919.0244328704 /techref/piclist/basiccomm/index.htm Basic Comm |Delete 'P-' before: '' but after: '
I used your code as the base to do a 57600Bps transmitter. I had a 20Mhz Xtal and used a delay value (bitdelay) of 18 to get 57600Bps.
I added a nop so that the start bit is the same length as the other bits and made the stop bit a low. I also had to add a delay of one bit length after the byte is sent to stop hyperterm from getting confused when the function is called repeatedly.
To use simply call senddata with data in W and make sure you have bitdelay defined (18 in my case). Thanks Leandro for your above code. 
Cheers -alex green 
 

senddata
	movwf   send
	movlw   bitdelay
	movwf   temp3
	movlw   .9
	movwf   count
	bcf     portb,4             ;send start bit
	nop				;even out bit times
next	decfsz  temp3
	goto    $ -1		
	movlw   bitdelay		;rest of program is 9 instructions
	movwf   temp3
	decfsz  count
	goto    sendnextbit
	bcf     portb,4             ;send stop bit
	movlw	  bitdelay		;Delay for line to settle 
	movwf	  temp3		;Delay for line to settle 
      decfsz  temp3		;Delay for line to settle 
	goto    $ -1		;Delay for line to settle 
	bsf	  portb,4
	decfsz  temp3
	goto    $ -1
	return
sendnextbit     
	rrf     send
	btfss   status,c            ;check next bit to tx
	goto    setlo
	bsf     portb,4             ;send a high bit
	goto    next
setlo	bcf     portb,4             ;send a low bit
	goto    next
|Delete 'P-' before: '' but after: ' /techref/microchip/links.htm PIC Links |Delete 'P-' before: '' but after: 'haairam@yahoo.com asks:
i want to interface pic microcontroller 16f877 with adc ads1211
in a master slave communication method.i would like to use 4wire model.will u please give a suggestion to how to interface it
' ON 20031026@9:40:48 AM at page: http://www.piclist.commicrochip/routines.htm JMN-EFP-786 James Newton removed post 37920.3261226852 |Delete 'swing126@hotmail.com asks:
i'm looking for the source code of the pic16f876 which use to store the information receive through the IR receiver. After save i will move the info inside the pic to the PC through MAX232.
' ON 20031026@9:40:53 AM at page: http://www.piclist.commicrochip/routines.htm JMN-EFP-786 James Newton removed post 37920.324375 |Delete ' i'm looking for the source code of the pic16f876 which use to store the information received through the IR receiver. after save i will input the info to the PC. So there is interface between pc.'