ON 20030101@11:05:58 AM at page: http://www.piclist.com/techref/microchip/rand.htm JMN-EFP-786 James Newton added 'archive reference http://www.piclist.org/techref/postbot.asp?by=time&id=piclist/2003/01/01/102653a PICList post "Random from 0 to 7"' ON 20030102@12:22:43 PM at page: http://www.piclist.org/techref/microchip/rangechk.htm JMN-EFP-786 James Newton added 'change ' ON 20030102@12:59:56 PM at page: http://www.piclist.com/techref/microchip/tables.htm JMN-EFP-786 James Newton added 'change ' ON 20030102@1:00:23 PM at page: http://www.piclist.com/techref/microchip/books.htm JMN-EFP-786 James Newton added 'change ' ON 20030102@1:00:35 PM at page: http://www.piclist.com/techref/microchip/books.htm JMN-EFP-786 James Newton added 'change ' ON 20030102@6:44:45 PM at page: http://www.piclist.com/techref/microchip/books.htm barik+piclist-ieee- edited the page ON 20030102@6:45:27 PM at page: http://www.piclist.com/techref/microchip/books.htm barik+piclist-ieee- edited the page ON 20030102@6:46:59 PM at page: http://www.piclist.com/techref/microchip/books.htm barik+piclist-ieee- edited the page ON 20030102@6:47:39 PM at page: http://www.piclist.com/techref/microchip/books.htm barik+piclist-ieee- edited the page ON 20030102@6:49:17 PM at page: http://www.piclist.com/techref/microchip/books.htm barik+piclist-ieee- edited the page ON 20030102@6:50:16 PM at page: http://www.piclist.com/techref/microchip/books.htm barik+piclist-ieee- edited the page ON 20030102@6:51:41 PM at page: http://www.piclist.com/techref/microchip/books.htm barik+piclist-ieee- edited the page ON 20030102@6:52:14 PM at page: http://www.piclist.com/techref/microchip/books.htm barik+piclist-ieee- edited the page ON 20030102@6:53:13 PM at page: http://www.piclist.com/techref/microchip/books.htm barik+piclist-ieee- edited the page ON 20030102@6:53:30 PM at page: http://www.piclist.com/techref/microchip/books.htm barik+piclist-ieee- edited the page ON 20030102@6:54:03 PM at page: http://www.piclist.com/techref/microchip/books.htm barik+piclist-ieee- edited the page ON 20030102@6:54:57 PM at page: http://www.piclist.com/techref/microchip/books.htm barik+piclist-ieee- edited the page ON 20030103@4:24:02 PM at page: http://www.piclist.com/techref/microchip/routines.htm JMN-EFP-786 James Newton approved post drumster71@hotmail.com asks:
G'day,I am lokking for source code for picf877's as midi drum controllers.Any advice on this subject would be hugely appreciated.I run a small non profit music studio in Sydney for the purpose of teaching music to underprivelidged kids,And have assembled a rudimentary drum controller from downloaded schematics.Unfortunately none of the source code works.Can you offer any help/advice? I am more than happy to share any new discoveries on this subject with you,Thanks.
' ON 20030103@4:25:53 PM at page: http://www.piclist.com/techref/microchip/routines.htm JMN-EFP-786 James Newton approved post drumster71@hotmail.com asks:
G'day,I am lokking for source code for picf877's as midi drum controllers.Any advice on this subject would be hugely appreciated.I run a small non profit music studio in Sydney for the purpose of teaching music to underprivelidged kids,And have assembled a rudimentary drum controller from downloaded schematics.Unfortunately none of the source code works.Can you offer any help/advice? I am more than happy to share any new discoveries on this subject with you,Thanks.
' ON 20030103@4:26:04 PM at page: http://www.piclist.com/techref/microchip/routines.htm JMN-EFP-786 James Newton approved post drumster71@hotmail.com asks:
G'day,I am lokking for source code for picf877's as midi drum controllers.Any advice on this subject would be hugely appreciated.I run a small non profit music studio in Sydney for the purpose of teaching music to underprivelidged kids,And have assembled a rudimentary drum controller from downloaded schematics.Unfortunately none of the source code works.Can you offer any help/advice? I am more than happy to share any new discoveries on this subject with you,Thanks.
' ON 20030103@4:26:55 PM at page: http://www.piclist.com/techref/microchip/routines.htm JMN-EFP-786 James Newton approved post drumster71@hotmail.com asks:
G'day,I am lokking for source code for picf877's as midi drum controllers.Any advice on this subject would be hugely appreciated.I run a small non profit music studio in Sydney for the purpose of teaching music to underprivelidged kids,And have assembled a rudimentary drum controller from downloaded schematics.Unfortunately none of the source code works.Can you offer any help/advice? I am more than happy to share any new discoveries on this subject with you,Thanks.
' ON 20030103@4:27:33 PM at page: http://www.piclist.com/techref/microchip/routines.htm JMN-EFP-786 James Newton approved post drumster71@hotmail.com asks:
G'day,I am lokking for source code for picf877's as midi drum controllers.Any advice on this subject would be hugely appreciated.I run a small non profit music studio in Sydney for the purpose of teaching music to underprivelidged kids,And have assembled a rudimentary drum controller from downloaded schematics.Unfortunately none of the source code works.Can you offer any help/advice? I am more than happy to share any new discoveries on this subject with you,Thanks.
' ON 20030103@4:29:26 PM at page: http://www.piclist.com/techref/microchip/routines.htm JMN-EFP-786 James Newton approved post drumster71@hotmail.com asks:
G'day,I am lokking for source code for picf877's as midi drum controllers.Any advice on this subject would be hugely appreciated.I run a small non profit music studio in Sydney for the purpose of teaching music to underprivelidged kids,And have assembled a rudimentary drum controller from downloaded schematics.Unfortunately none of the source code works.Can you offer any help/advice? I am more than happy to share any new discoveries on this subject with you,Thanks.
' ON 20030103@4:54:39 PM at page: http://www.piclist.com/techref/microchip/routines.htm JMN-EFP-786 James Newton published post 37570.7467592593 drumster71@hotmail.com asks:
G'day,I am lokking for source code for picf877's as midi drum controllers.Any advice on this subject would be hugely appreciated.I run a small non profit music studio in Sydney for the purpose of teaching music to underprivelidged kids,And have assembled a rudimentary drum controller from downloaded schematics.Unfortunately none of the source code works.Can you offer any help/advice? I am more than happy to share any new discoveries on this subject with you,Thanks.
|Delete 'P-' before: '' but after: 'drumster71@hotmail.com asks:
G'day,I am lokking for source code for picf877's as midi drum controllers.Any advice on this subject would be hugely appreciated.I run a small non profit music studio in Sydney for the purpose of teaching music to underprivelidged kids,And have assembled a rudimentary drum controller from downloaded schematics.Unfortunately none of the source code works.Can you offer any help/advice? I am more than happy to share any new discoveries on this subject with you,Thanks.
|Delete 'P-' before: '' but after: 'drumster71@hotmail.com asks:
G'day,I am lokking for source code for picf877's as midi drum controllers.Any advice on this subject would be hugely appreciated.I run a small non profit music studio in Sydney for the purpose of teaching music to underprivelidged kids,And have assembled a rudimentary drum controller from downloaded schematics.Unfortunately none of the source code works.Can you offer any help/advice? I am more than happy to share any new discoveries on this subject with you,Thanks.
|Insert 'test' before: ''' ON 20030103@4:57:57 PM at page: http://www.piclist.com/techref/microchip/routines.htm JMN-EFP-786 James Newton replied to post 37570.7467592593 drumster71@hotmail.com asks:
G'day,I am lokking for source code for picf877's as midi drum controllers.Any advice on this subject would be hugely appreciated.I run a small non profit music studio in Sydney for the purpose of teaching music to underprivelidged kids,And have assembled a rudimentary drum controller from downloaded schematics.Unfortunately none of the source code works.Can you offer any help/advice? I am more than happy to share any new discoveries on this subject with you,Thanks.
|Insert 'test' before: '' ON 20030103@4:59:11 PM at page: http://www.piclist.com/techref/microchip/routines.htm JMN-EFP-786 James Newton replied to post 37570.7467592593 |Insert 'test' before: '' drumster71@hotmail.com asks:
G'day,I am lokking for source code for picf877's as midi drum controllers.Any advice on this subject would be hugely appreciated.I run a small non profit music studio in Sydney for the purpose of teaching music to underprivelidged kids,And have assembled a rudimentary drum controller from downloaded schematics.Unfortunately none of the source code works.Can you offer any help/advice? I am more than happy to share any new discoveries on this subject with you,Thanks.
ON 20030103@5:01:38 PM at page: http://www.piclist.com/techref/microchip/routines.htm JMN-EFP-786 James Newton replied to post 37570.7467592593 |Insert 'test' at: '' drumster71@hotmail.com asks:
G'day,I am lokking for source code for picf877's as midi drum controllers.Any advice on this subject would be hugely appreciated.I run a small non profit music studio in Sydney for the purpose of teaching music to underprivelidged kids,And have assembled a rudimentary drum controller from downloaded schematics.Unfortunately none of the source code works.Can you offer any help/advice? I am more than happy to share any new discoveries on this subject with you,Thanks.
ON 20030103@5:02:51 PM at page: http://www.piclist.com/techref/microchip/routines.htm JMN-EFP-786 James Newton replied to post 37570.7467592593 |Insert 'test' at: '' drumster71@hotmail.com asks:
G'day,I am lokking for source code for picf877's as midi drum controllers.Any advice on this subject would be hugely appreciated.I run a small non profit music studio in Sydney for the purpose of teaching music to underprivelidged kids,And have assembled a rudimentary drum controller from downloaded schematics.Unfortunately none of the source code works.Can you offer any help/advice? I am more than happy to share any new discoveries on this subject with you,Thanks.
ON 20030103@5:03:39 PM at page: http://www.piclist.com/techref/microchip/routines.htm JMN-EFP-786 James Newton replied to post 37570.7467592593 |Insert 'test' at: '' drumster71@hotmail.com asks:
G'day,I am lokking for source code for picf877's as midi drum controllers.Any advice on this subject would be hugely appreciated.I run a small non profit music studio in Sydney for the purpose of teaching music to underprivelidged kids,And have assembled a rudimentary drum controller from downloaded schematics.Unfortunately none of the source code works.Can you offer any help/advice? I am more than happy to share any new discoveries on this subject with you,Thanks.
ON 20030103@5:04:41 PM at page: http://www.piclist.com/techref/microchip/routines.htm JMN-EFP-786 James Newton replied to post 37570.7467592593 |Insert 'test' at: '' drumster71@hotmail.com asks:
G'day,I am lokking for source code for picf877's as midi drum controllers.Any advice on this subject would be hugely appreciated.I run a small non profit music studio in Sydney for the purpose of teaching music to underprivelidged kids,And have assembled a rudimentary drum controller from downloaded schematics.Unfortunately none of the source code works.Can you offer any help/advice? I am more than happy to share any new discoveries on this subject with you,Thanks.
ON 20030103@5:04:55 PM at page: http://www.piclist.com/techref/microchip/routines.htm JMN-EFP-786 James Newton removed post 37570.7467592593 |Delete 'drumster71@hotmail.com asks:
G'day,I am lokking for source code for picf877's as midi drum controllers.Any advice on this subject would be hugely appreciated.I run a small non profit music studio in Sydney for the purpose of teaching music to underprivelidged kids,And have assembled a rudimentary drum controller from downloaded schematics.Unfortunately none of the source code works.Can you offer any help/advice? I am more than happy to share any new discoveries on this subject with you,Thanks.
' ON 20030103@5:06:18 PM at page: http://www.piclist.com/techref/microchip/routines.htm JMN-EFP-786 James Newton removed post 37570.7467592593 |Delete 'drumster71@hotmail.com asks:
G'day,I am lokking for source code for picf877's as midi drum controllers.Any advice on this subject would be hugely appreciated.I run a small non profit music studio in Sydney for the purpose of teaching music to underprivelidged kids,And have assembled a rudimentary drum controller from downloaded schematics.Unfortunately none of the source code works.Can you offer any help/advice? I am more than happy to share any new discoveries on this subject with you,Thanks.
>' ON 20030103@5:08:00 PM at page: http://www.piclist.com/techref/microchip/routines.htm JMN-EFP-786 James Newton removed post 37570.7467592593 |Delete 'drumster71@hotmail.com asks:
G'day,I am lokking for source code for picf877's as midi drum controllers.Any advice on this subject would be hugely appreciated.I run a small non profit music studio in Sydney for the purpose of teaching music to underprivelidged kids,And have assembled a rudimentary drum controller from downloaded schematics.Unfortunately none of the source code works.Can you offer any help/advice? I am more than happy to share any new discoveries on this subject with you,Thanks.
' ON 20030103@5:08:28 PM at page: http://www.piclist.com/techref/microchip/routines.htm JMN-EFP-786 James Newton published post 37570.7467592593 drumster71@hotmail.com asks:
G'day,I am lokking for source code for picf877's as midi drum controllers.Any advice on this subject would be hugely appreciated.I run a small non profit music studio in Sydney for the purpose of teaching music to underprivelidged kids,And have assembled a rudimentary drum controller from downloaded schematics.Unfortunately none of the source code works.Can you offer any help/advice? I am more than happy to share any new discoveries on this subject with you,Thanks.
|Delete 'P-' before: '' but after: ' ' ON 20030103@5:09:54 PM at page: http://www.piclist.com/techref/microchip/routines.htm JMN-EFP-786 James Newton reply ON 20030103@5:10:57 PM at page: http://www.piclist.com/techref/microchip/routines.htm JMN-EFP-786 James Newton reply ON 20030103@5:11:36 PM at page: http://www.piclist.com/techref/microchip/routines.htm JMN-EFP-786 James Newton removed post 37436.1410185185 |Delete ' ' ON 20030103@5:11:41 PM at page: http://www.piclist.com/techref/microchip/routines.htm JMN-EFP-786 James Newton replied to post 37436.1410185185 |Insert 'test' at: '' ON 20030103@5:17:41 PM at page: http://www.piclist.com/techref/microchip/time.htm JMN-EFP-786 James Newton edited the page. Difference: http://www.piclist.com/techref/diff.asp?url=H:\techref\microchip\time.htm&version=4 ON 20030103@5:18:03 PM at page: http://www.piclist.com/techref/microchip/time.htm JMN-EFP-786 James Newton published post 37449.2194444444 sreerangap@yahoo.com asks:
i am using Pic 18c452. i am using Hitech C compiler and i am unable to get how the prescaler is used and how the Tmr0l and Tmr0H should be assigned . plz do explain to me how to get acquianted with the timer. Thanking you sree
|Delete 'P-' before: '' but after: 'jmonen@levelquipment.nl :
Is it possible to reach the register file bank's 1, 2 or 3 (16C57) when using the Parallax PASM v2.3 assembler? It seems impossible to adress any of these files beyond 1Fh.
ON 20030103@5:38:20 PM at page: http://www.piclist.com/techref/microchip/devtools.htm JMN-EFP-786 James Newton published post 37380.0517476852 jmonen@levelquipment.nl :
Is it possible to reach the register file bank's 1, 2 or 3 (16C57) when using the Parallax PASM v2.3 assembler? It seems impossible to adress any of these files beyond 1Fh.
|Delete 'P-' before: '' but after: 'jmonen@levelquipment.nl :
Is it possible to reach the register file bank's 1, 2 or 3 (16C57) when using the Parallax PASM v2.3 assembler? It seems impossible to adress any of these files beyond 1Fh.
ON 20030103@5:41:40 PM at page: http://www.piclist.com/techref/microchip/devprogs.htm JMN-EFP-786 James Newton published post 37454.3266203704 xdimensional@yahoo.com asks: " I need a pic18lf452 programmer schematic and related software. " |Delete 'P-' before: '' but after: '> ' ON 20030103@5:44:03 PM at page: http://www.piclist.com/techref/microchip/devprogs.htm JMN-EFP-786 James Newton edited the page. Difference: http://www.piclist.com/techref/diff.asp?url=H:\techref\microchip\devprogs.htm&version=11 ON 20030105@12:29:28 AM at page: http://www.piclist.com/techref/microchip/irtoserial.htm JMN-EFP-786 James Newton published post 37619.4798842593 barryxs@xs4all.nl shares this code:
Hi,

Here is a new routine to read the transmissions from a Sony type remote control. Unlike the ones I found on the site so far, this one is in ASM and is interrupt driven so allows the main control program to do something else while waiting for RC commands. Anyway, here is the code, Regards, Barry.

; Software to read the commands from a Sony remote control
; The timings in this file are for a clock speed of 400kHz.
; Different timings can be easily achieved by changing the
; cutoff constants and/or the timer prescaler.
; Because the reader routine is interrupt driven it allows
; a main program to run and control something on the basis
; of the current setting of the RC data variable. For
; example, it was developed originally to control a robot
; so the main program does the robot control and the
; interrupt routine reads the remote control.
;
; May be distributed under the terms of the Gnu Public
; License (GPL)
; 
; Version: 0.1
; (c) Barry Smith, 2002.

R_W_SAVE	equ		0x11	; Saves W during interrupts
R_ST_SAVE	equ		0x12	; Saves STATUS during interrupts
R_NEED_BITS	equ		0x13	; Number of bits still needed
R_CUR_DATA	equ		0x15	; Data being received
R_OLD_DATA	equ		0x16	; Last read data
R_SAVE_TMR	equ		0x17	; Save timer value at start of interrupt

F_GOT_START	equ		0		; Got start flag
F_RC_PIN	equ		4		; RB pin for RC

T3_CUT		equ		0x52	; T3 cutoff timing
T2_CUT		equ		0x32	; T2 cutoff timing

	list p=16F84A
	include P16F84A.inc
	__config ( _RC_OSC & _PWRTE_ON & _WDT_OFF & _CP_OFF )

	org 0
	
	goto	main_start

	org 4	
; This is the routine called on interrupt. This happens when either
; a bit RB4:7 changes or the timer rolls over.

; First, save the W and STATUS details. The SWAPF is used because it
; does not effect the STATUS (Z) flags, unlike MOVF.
	movwf	R_W_SAVE		; Save value of W
	swapf	STATUS, W		; Save STATUS flags
	movwf	R_ST_SAVE
	
	movf	TMR0, W			; Store timer value now as its still
	movwf	R_SAVE_TMR		; incrementing.
	clrf	TMR0			; Make sure timer doesn't fire again

; Now the main code which processes the events
	btfss	INTCON, T0IF
		goto	int_rb
	clrf	R_NEED_BITS		; Reset everything
	clrf	R_CUR_DATA
	goto	int_end
	
int_rb	; Interupt is on RB pin
	btfsc	PORTB, F_RC_PIN
		goto	int_pin_high
	clrf	TMR0			; Executed if pin is low
	goto	int_end

int_pin_high	; Pin has returned to high state
	movf	R_SAVE_TMR, W
	sublw	T3_CUT
	btfsc	STATUS, C
		goto int_try_t2
;	incf	PORTB, F
	
	movlw	0x08
	movwf	R_NEED_BITS

	goto	int_end

int_try_t2
	movf	R_NEED_BITS, F		; Check if more bits are
	btfsc	STATUS, Z			; needed, otherwise end.
		goto	int_end
	rrf		R_CUR_DATA, F		; Prepare for next bit
	decf	R_NEED_BITS, F
	movf	R_SAVE_TMR, W
	sublw	T2_CUT
	btfsc	STATUS, C
		goto int_is_t1
	bsf		R_CUR_DATA, 7
	goto	int_bit_set

int_is_t1
	bcf		R_CUR_DATA, 7

int_bit_set
	movf	R_NEED_BITS, F
	btfss	STATUS, Z
		goto	int_end
	movf	R_CUR_DATA, W
	movwf	PORTB
	
int_end
; Clear the interrupts
	movlw	b'11111000'		; Clears the interrupt indicator bits
	andwf	INTCON, F
; Restore pre-interrupt status for STATUS and W.
	swapf	R_ST_SAVE, W
	movwf	STATUS
	swapf	R_W_SAVE, F		; Restore W value without changing
	swapf	R_W_SAVE, W		; STATUS bits
	retfie

main_start

; This is the initialisation section - the chip must be configured
; to use TMR0. The prescaler must be determined so that the timer
; will roll over during the quiet time between transmissions (about
; 35-40ms), but never during transmission, the longest pulse of
; which is about 1.8ms). This gives plenty of leeway.

	bsf		STATUS, RP0
	movlw	b'11010000'			; Clears the zeros from the OPTION_REG
	andwf	OPTION_REG, F		; setting internal clock.
	movlw	b'00010000'
	movwf	TRISB
	bcf		STATUS, RP0
	
	movlw	b'10101000'			; Sets interrupts to occur on RB change
	movwf	INTCON				; or timer overflow.
	clrf	R_CUR_DATA
	clrf	R_NEED_BITS

mainloop
	goto	mainloop
	
	end
|Delete 'P-' before: '' but after: 'dsands@ev1.net asks:
I'm looking for a string comparison code for a PIC16C84 to analyze file register data against multiple DB look up tables. Kind of like a user/password login, but I'm only using one external string (ie. the user name).
|Delete 'P-' before: '' but after: 'Code generator for keyword matching' at: '' dsands@ev1.net asks:
I'm looking for a string comparison code for a PIC16C84 to analyze file register data against multiple DB look up tables. Kind of like a user/password login, but I'm only using one external string (ie. the user name).
ON 20030106@8:52:15 PM at page: http://www.piclist.com/techref/microchip/memory.htm JMN-EFP-786 James Newton replied to post 37601.6027083333 |Insert 'Are you translating '11011001100' into 00 or the other way round? For matching a multiple byte 'string' see Keyword Interpreter Code Generator because your input is really a set of key 'words' that you want to recognize. To produce strings from a index byte, use a second index that is incremented for each character in the result string. Multiply the string index byte times the maximum number of character in an output string and add it to the character index. Now use a standard lookup table where each string is stored as a series of character entries in the table.' at: '' metjcp@hotmail.com asks: " I need a code witch uses look up tables , but the table has no logic for example '11011001100' represents 00 and '11001101100' represents 01" ON 20030110@10:27:55 AM at page: http://www.piclist.com/techref/microchip/routines.htm JMN-EFP-786 James Newton replied to post 37630.7788888889 |Insert 'See the A2D section under Input / Output above for code to capture the mic output as digital numbers. Next you will need to look at an averageing filter under filters in the Math / Functions / Conversions area above. This will produce an average value. Finally, convert the average to a bit mask with a routine from the Bit operations section of Math / Functions / Conversions.' at: '' commander_keen0@lycos.com asks:
I want to take a microphone's input, convert it to digital, and put it out on a 4-segment bargraph, but not as straight binary. I want it to actually act like a bargraph, so a low level would be the first light in the row lit, a little higher would light the first two, etc. How can I convert the analog-to-digital output into such a form on a PIC16F628? Thanks.
ON 20030110@10:28:08 AM at page: http://www.piclist.com/techref/microchip/routines.htm JMN-EFP-786 James Newton published post 37630.7788888889 commander_keen0@lycos.com asks:
I want to take a microphone's input, convert it to digital, and put it out on a 4-segment bargraph, but not as straight binary. I want it to actually act like a bargraph, so a low level would be the first light in the row lit, a little higher would light the first two, etc. How can I convert the analog-to-digital output into such a form on a PIC16F628? Thanks.
James Newton replies: See the A2D section under Input / Output above for code to capture the mic output as digital numbers. Next you will need to look at an averageing filter under filters in the Math / Functions / Conversions area above. This will produce an average value. Finally, convert the average to a bit mask with a routine from the Bit operations section of Math / Functions / Conversions.

|Delete 'P-' before: '' but after: 'drumster71@hotmail.com asks:

G'day,I am lokking for source code for picf877's as midi drum controllers.Any advice on this subject would be hugely appreciated.I run a small non profit music studio in Sydney for the purpose of teaching music to underprivelidged kids,And have assembled a rudimentary drum controller from downloaded schematics.Unfortunately none of the source code works.Can you offer any help/advice? I am more than happy to share any new discoveries on this subject with you,Thanks.
|Delete 'P-' before: '' but after: 'General Midi IO for a link to some PIC Midi Output code.' at: '' drumster71@hotmail.com asks:
G'day,I am lokking for source code for picf877's as midi drum controllers.Any advice on this subject would be hugely appreciated.I run a small non profit music studio in Sydney for the purpose of teaching music to underprivelidged kids,And have assembled a rudimentary drum controller from downloaded schematics.Unfortunately none of the source code works.Can you offer any help/advice? I am more than happy to share any new discoveries on this subject with you,Thanks.
ON 20030110@10:33:11 AM at page: http://www.piclist.com/techref/microchip/16f877adsamp.htm JMN-EFP-786 James Newton replied to post 37538.8920601852 |Insert 'See General Midi IO' at: '' drumster71@hotmail.com asks:
I am looking for a program to convert signal from peizo disks to midi drum code for the 16f877.Any other advice on the midi subject would be greatly appreciated.Thnx
ON 20030111@9:45:04 PM at page: http://www.piclist.com/techref/microchip/routines.htm TTG-STC_Ent_-C77 Tony T Gies Questions: Hey, I would like to directly interact with someone who can help by walking me through the building and programming of a PIC-based digital-bargraph audio level meter with microphone and more importantly help me by not only telling me what to do, but explaining why I should do it so I can learn this myself. Sort of an apprenticeship-type thing, learning by doing. It would be even better if said person had enough free time that we could continue to shoot messages back and forth with each other. I can never get my questions answered on Usenet; there are so many people on there that nobody really bothers to focus on any particular question. ON 20030112@8:13:11 PM at page: http://www.piclist.com/techref/microchip/languages.htm JMN-EFP-786 James Newton edited the page. Difference: http://www.piclist.com/techref/diff.asp?url=H:\techref\microchip\languages.htm&version=2 ON 20030116@7:45:18 AM at page: http://www.sxlist.com/techref/microchip/spi.htm JMN-EFP-786 James Newton published post 37637.2441319444 jmce@ri.cmu.edu asks:
What is the maximum rate I can clock data into one of the fastest PICs (18x series, I assume) SPI port in slave mode? I need to be able to read in a serial stream at 11 Mhz ... The 40MHZ osc parts I've looked up seem to handle 10 Mhz. Think these could handle 11Mhz input ... perhaps if I clocked it faster, say 44Mhz?

Alternatively, know of other uC which can read in synchronized serial data at 11Mhz clock rate?

Any ideas are appreciated! Thanks
|Delete 'P-' before: '' but after: 'won@ceebtsheej.com asks:
I am working on USART in a PIC16F873. What I want to do is to be able to have a memory block that can save some stepper motor comand or data like "x900gy800g" in there and transmit this data to the motor controller board to move a motor specific location /steps.
' ON 20030116@7:47:10 AM at page: http://www.sxlist.com/techref/microchip/spi.htm JMN-EFP-786 James Newton removed post 37598.385 |Delete 'akrami@atatechnic.com asks:
When we turn off digital power supply of ADE7756AN,wavesample register (LPF) at power factor not equal "1" will be have difference values.What do you recommended for us?
' ON 20030116@7:49:46 AM at page: http://www.sxlist.com/techref/microchip/spi.htm JMN-EFP-786 James Newton edited the page. Difference: http://www.sxlist.com/techref/diff.asp?url=H:\techref\microchip\spi.htm&version=9 ON 20030116@7:50:26 AM at page: http://www.sxlist.com/techref/microchip/spi.htm JMN-EFP-786 James Newton edited the page. Difference: http://www.sxlist.com/techref/diff.asp?url=H:\techref\microchip\spi.htm&version=10 ON 20030118@10:54:47 AM at page: http://techref.massmind.org/techref/microchip/pocketprog.htm JMN-EFP-786 James Newton edited the page. Difference: http://techref.massmind.org/techref/diff.asp?url=H:\techref\microchip\pocketprog.htm&version=3 ON 20030122@12:15:25 PM at page: http://www.piclist.com/techref/microchip/picstartplus.htm RJC-ryancocks-BC5 Ryan J Cocks Says I fixed my problem programming the 16F877s - it was a typo in the truers.asm on the CD for Predko's book - it XORs the last thing onto the __CONFIG, thus completely trasing it to an unfortunate value which turns on the code protection :-( ON 20030122@9:53:43 PM at page: http://techref.massmind.org/techref/microchip/pocketprog.htm JMN-EFP-786 James Newton removed post 37642.8126273148 |Delete 'EdwardBenson@zoneworld.co.uk asks:
I wish to buy Tony Nixon's Pocket Programmer.
I will not use PayPal (see www.nopaypal.com)
What other methods of payment do you accept? (I am based in UK.)
Thanks,
Edward Benson.
' ON 20030123@2:45:16 PM at page: http://www.piclist.com/techref/microchip/bigtable.htm JMN-EFP-786 James Newton published post 37644.4306828704 kent-sjogren@swipnet.se
I think "David A Cary of Motorguide Pinpoint" has right: There has to be a bug in the first code on this page (from Tony Nixon). I used this code to convert a value from my ADC to another value. It works fine, until the code crosses a page... But the code from Dmitry Kiryashov works fine for me, even after page crossings! Thanks!
|Delete 'P-' before: '' but after: 'khairiz @ hotmail.com asks:
i'm doing my final year project.It now confius me how to measure the delay time between two pulse.For the explanation
i used pic 16f84a , and my question is how the program to measure it.My method is first when the first pulse leading edge come the timer start count and will stop after the second pulse from another source is detected...i hope friends will help me and it is very mportant to finish my study ..thanks
' ON 20030123@2:52:24 PM at page: http://www.sxlist.com/techref/microchip/jinxwdttemptest.htm JMN-EFP-786 James Newton edited the page. Difference: http://www.sxlist.com/techref/diff.asp?url=H:\techref\microchip\jinxwdttemptest.htm&version=3 ON 20030124@10:37:18 AM at page: http://www.piclist.com/techref/microchip/links.htm JMN-EFP-786 James Newton replied to post 37645.3484490741 |Insert 'A very flashy site with a line following PIC '877 controlled robot. Looks good.' at: '' http://www.hemisson.com/English ON 20030124@10:37:23 AM at page: http://www.piclist.com/techref/microchip/links.htm JMN-EFP-786 James Newton published post 37645.3484490741 http://www.hemisson.com/English James Newton replies: A very flashy site with a line following PIC '877 controlled robot. Looks good.

|Delete 'P-' before: '' but after: 'Check To See What Letter Is Being Received" A nice expination of the XOR case statement trick ON 20030125@8:56:38 PM at page: http://www.piclist.com/techref/microchip/swstmt.htm JMN-EFP-786 James Newton replied to post 37646.8716898148 |Insert '

This works because:  (X xor A) xor (A xor B)
is the same as: X xor (A xor A) xor B
which is the same as X xor 0 xor B
which is the same as X xor B.
' at: '' PICList post "Check To See What Letter Is Being Received" A nice expination of the XOR case statement trick ON 20030125@8:57:31 PM at page: http://www.piclist.com/techref/microchip/swstmt.htm JMN-EFP-786 James Newton edited the page. Difference: http://www.piclist.com/techref/diff.asp?url=H:\techref\microchip\swstmt.htm&version=3 ON 20030125@8:59:02 PM at page: http://www.piclist.com/techref/microchip/swstmt.htm JMN-EFP-786 James Newton edited the page. Difference: http://www.piclist.com/techref/diff.asp?url=H:\techref\microchip\swstmt.htm&version=4 ON 20030125@9:01:47 PM at page: http://techref.massmind.org/techref/microchip/string_matching.htm JMN-EFP-786 James Newton See also: /techref/microchip/swstmt.htm PIC Microcontoller Program Flow Context Switch Methods ON 20030125@9:03:41 PM at page: http://techref.massmind.org/techref/microchip/rangechk.htm JMN-EFP-786 James Newton See also: /techref/microchip/swstmt.htm PIC Microcontoller Program Flow Context Switch Methods ON 20030125@9:04:47 PM at page: http://techref.massmind.org/techref/microchip/swstmt.htm JMN-EFP-786 James Newton See also: /techref/piclist/codegen/index.htm Nikolai Golovchenko code generator ON 20030125@9:05:19 PM at page: http://techref.massmind.org/techref/microchip/swstmt.htm JMN-EFP-786 James Newton See also: /techref/piclist/codegen/keyword_interpreter.htm Keyword Interpreter Code Generator ON 20030126@1:51:42 PM at page: http://techref.massmind.org/techref/microchip/string_matching.htm JMN-EFP-786 James Newton edited the page. Difference: http://techref.massmind.org/techref/diff.asp?url=H:\techref\microchip\string_matching.htm&version=1 ON 20030128@10:16:00 AM at page: http://www.piclist.com/techref/microchip/progserv.htm JMN-EFP-786 James Newton edited the page. Difference: http://www.piclist.com/techref/diff.asp?url=H:\techref\microchip\progserv.htm&version=2 ON 20030128@10:16:24 AM at page: http://www.piclist.com/techref/microchip/progserv.htm JMN-EFP-786 James Newton edited the page. Difference: http://www.piclist.com/techref/diff.asp?url=H:\techref\microchip\progserv.htm&version=3 ON 20030130@2:11:42 AM at page: http://www.sxlist.com/techref/microchip/i2c.htm BCI-hotmail-K96 Bergthaller C Iulian See also: http://sandiding.tripod.com/seeprom.html I2c routines for 24c64 eeprom ON 20030131@8:41:19 AM at page: http://www.piclist.com/techref/microchip/index.htm michael_lebedev-purchase- Questions: Hello All, I am new to PIC programming and electronics in general. I am currently working on my senior project for college, which involves creating custom MIDI controllers for use in an interactive sculpture. Right now I am working on trying to interface sharp GP2D15 sensors to a 16F84. I have programmed the assembly to do what I need it to do, and I have tested it with normal push-button switches. When I try to interface the sensors, I am unable to get results. I have hit a roadblock in my limited knowledge of this subject, but I believe I do know what the problem is... I just can't think of a solution.

The GP2D15 acts as an open-drain output, so to get any voltage out of the Vo pin, I need to pull it up to Vdd with a resistor. The problem is that if I wire this output to an input pin on the PIC, the input is also recieving the voltage straight from Vdd through the resistor, so the sensor is not doing anything.

Does anyone have any ideas on how I might solve this problem? Thank you very much, in advance.