Search found 126 matches

by garryp4
Sat Mar 10, 2012 3:00 pm
Forum: Modules
Topic: variable 'FIndexOut' might have not been initialized
Replies: 8
Views: 4388

Jerry: Thanks again for the quick reply. Seems an issue is I just don't understand how the ISRRX module works. After your last message I changed the event call to: '**************************************************************** Event OnData() ISRRX.Stop data_str(0) = isrrx.dataByte While USART.Dat...
by garryp4
Thu Mar 08, 2012 7:35 pm
Forum: Modules
Topic: variable 'FIndexOut' might have not been initialized
Replies: 8
Views: 4388

Jerry: The circuit is to set up recipes for a 'legacy' production tool in a semiconductor manufacturing facility. 'Legacy' it the bean-counter term. The rest of us just call them old. What I'm doing is hijacking data lines and select lines and decoding two 7 segment display signals to determine the ...
by garryp4
Thu Mar 08, 2012 6:49 pm
Forum: Modules
Topic: variable 'FIndexOut' might have not been initialized
Replies: 8
Views: 4388

Jerry: Thanks, again, for the quick and accurate help. I The purpose of the circuit is to monitor a serial line for instructions from a factory automation system. The instructions can be from 6 to 12 characters long and I have no control over a terminator character. Unfortunately it is probably easi...
by garryp4
Thu Mar 08, 2012 1:01 am
Forum: Modules
Topic: variable 'FIndexOut' might have not been initialized
Replies: 8
Views: 4388

variable 'FIndexOut' might have not been initialized

I'm trying to get the ISRRX to work. When I compile I get a warning "variable 'FIndexOut' might have not been initialized". A search of the forum had one reference to this and the3 fix was to initialize the ISRRX module. I do have the statement but still get the error. // device and clock... Device ...
by garryp4
Thu Aug 25, 2011 4:50 pm
Forum: Compiler
Topic: Reassign a port/bit variable
Replies: 3
Views: 2689

David Perhaps if you give us more of an idea of what you want to achieve? One situation being able to send a pin as a variable is with the re-mappable devices. Jerry Messina just helped me figure out how to map the USART2 on an 18F47J13. If I want to re-map the USART during execution to yet another ...
by garryp4
Thu Aug 25, 2011 4:36 pm
Forum: Compiler
Topic: Has anyone used Peripheral Pin Select to map pins?
Replies: 10
Views: 6901

Jerry: Again, you are correct. Thanks. I did get the two output function codes backwards and just did not understand the instructions RCInput As TRISD.Booleans(2), TXInput As TRISD.Booleans(3) My next question was answered by David in the very next post in the forum. I was going to ask if there is a...
by garryp4
Tue Aug 23, 2011 10:40 am
Forum: Compiler
Topic: Has anyone used Peripheral Pin Select to map pins?
Replies: 10
Views: 6901

Jerry: Thanks for the help. Still not getting usart2 to work. As you mentioned, I changed the PPS module to match the 18F47J13. What I can't figure out is how does the USART2 module know which pins to use. your code changed to match PIC { //-----------------------------------------------------------...
by garryp4
Thu Apr 07, 2011 1:50 pm
Forum: Compiler
Topic: Has anyone used Peripheral Pin Select to map pins?
Replies: 10
Views: 6901

Has anyone used Peripheral Pin Select to map pins?

I have a project that an 18F47J13 appears to be a great choice. The device has 2 usarts and a hardware RTC. However the usart2 pins need to be mapped. Has anyone made the include files for one of these flavor PIC's or had luck with the pin mapping?

Thanks in advance.
by garryp4
Thu Mar 17, 2011 2:31 am
Forum: Compiler
Topic: 18F67J60 and an LCD problem
Replies: 2
Views: 2376

Jerry:

Once again, you the man! And yes, typo. Had ADCON1 that should have been ADCON0. Sure seems sometimes that something so hard to miss is so easy to miss :oops:. Now you are up to two cold ones I owe ya :lol:
by garryp4
Wed Mar 16, 2011 10:32 am
Forum: Compiler
Topic: 18F67J60 and an LCD problem
Replies: 2
Views: 2376

18F67J60 and an LCD problem

Device = 18F67J60 Clock = 25 // LCD... #option LCD_DATA = PORTF.4 #option LCD_RS = PORTF.1 #option LCD_EN = PORTF.3 #option LCD_INIT_DELAY = 200 #option LCD_COMMAND_US = 8000 #option LCD_DATA_US = 150 // import modules... Include "LCD.BAS" // declare ports Dim lcd_rw As PORTF.2 Const UpdateMS = 50 ...
by garryp4
Wed Mar 09, 2011 2:55 am
Forum: Compiler
Topic: 18F67J60 asm error
Replies: 11
Views: 5903

Jerry:

You are correct. I have version 1.3. Know how I can get the upgraded version? I just assumed it would come with updated versions of SF.
by garryp4
Tue Mar 08, 2011 11:18 am
Forum: Compiler
Topic: 18F67J60 asm error
Replies: 11
Views: 5903

So, from the post from Jerry, I tried changing the USART module to: { **************************************************************************** * Name : WriteItem (OVERLOAD) * * Purpose : Write a string value to the hardware USART * ****************************************************************...
by garryp4
Tue Mar 08, 2011 11:06 am
Forum: Compiler
Topic: 18F67J60 asm error
Replies: 11
Views: 5903

Jerry: Thanks for taking the time to help. { **************************************************************************** * Name : WriteItem (OVERLOAD) * * Purpose : Write a string value to the hardware USART * **************************************************************************** } sub WriteI...
by garryp4
Mon Mar 07, 2011 11:15 am
Forum: Compiler
Topic: 18F67J60 asm error
Replies: 11
Views: 5903

David: Thanks so much for the quick reply. You are right, I should have commented out the ADS module. However, I still get the ASM error when the "USART.Write("I'M ALIVE! ",10,13)" line is not commented out. If I compile it as an 18F6722, the program, including "USART.Write("I'M ALIVE! ",10,13)", co...
by garryp4
Mon Mar 07, 2011 2:56 am
Forum: Compiler
Topic: 18F67J60 asm error
Replies: 11
Views: 5903

18F67J60 asm error

I am getting an "[ASM Error]:Error[113] file path :Symbol not previously defined (TXIF)" 'Device = 18F6722 Device = 18F67J60 Clock = 25 // LCD... #option LCD_DATA = PORTF.4 #option LCD_RS = PORTF.1 #option LCD_EN = PORTF.3 #option LCD_INIT_DELAY = 200 #option LCD_DATA_US = 50 #option LCD_COMMAND_US ...