Tried the ucfg = 0x00; C block at the top of the flowchart.
Unfortunately this doesn't make any difference.
Search found 9 matches
- Thu Jun 17, 2010 7:09 am
- Forum: E-blocks
- Topic: ECIO40P Port A Problem
- Replies: 8
- Views: 5977
- Fri Jun 11, 2010 7:49 am
- Forum: E-blocks
- Topic: ECIO40P Port A Problem
- Replies: 8
- Views: 5977
Re: ECIO40P Port A Problem
Thanks for the input medelec35. Tried the "oscillating port " trick and all 6 bits of port A work OK without pull ups. The LCD on port A still doesn't function though. Question for moderator - as all the hardware appears to work, is flowcode initialsing port A correctly when its connexions...
- Thu Jun 10, 2010 8:35 pm
- Forum: E-blocks
- Topic: ECIO40P Port A Problem
- Replies: 8
- Views: 5977
Re: ECIO40P Port A Problem
Hi The first thing the program does before it accepts keypad entry is to display an initialisation confirmation message. This does not appear. I've also checked all the connexions from the ECIO40P's 40 pin socket to the port A 9 way D socket & they are all OK. The Ov connection is also OK. There...
- Thu Jun 10, 2010 1:26 pm
- Forum: E-blocks
- Topic: ECIO40P Port A problem part 2
- Replies: 0
- Views: 2532
ECIO40P Port A problem part 2
Apologies, should have mentioned in my previous post that both port A and port B LCD connections work as flowcode simulations.
- Thu Jun 10, 2010 12:52 pm
- Forum: E-blocks
- Topic: ECIO40P Port A Problem
- Replies: 8
- Views: 5977
ECIO40P Port A Problem
I'm using an ECIO40P mounted on an ECIO Base Board with a keypad (EB014) connected to port D and an LCD (EB005) connected to port B. My program displays the ASCII code for any key pressed on the LCD - the program works. When I move the LCD to port A and alter the flowcode connections dialog to refle...
- Tue May 18, 2010 11:20 am
- Forum: C and ASM Programming
- Topic: What's an l-value
- Replies: 2
- Views: 4020
What's an l-value
I'm trying to create a flowcode c block which contains the following code:
PORTA = 0x00;
I get the error "left operand should be an l-value".
Any idea what I'm doing wrong ?
PORTA = 0x00;
I get the error "left operand should be an l-value".
Any idea what I'm doing wrong ?
- Wed May 12, 2010 10:58 am
- Forum: C and ASM Programming
- Topic: access flowcode string from assembler - solution
- Replies: 4
- Views: 5288
access flowcode string from assembler - solution
To access a flowcode string XXX using indirect addressing. 1. In supplementary code add: unsigned char msb; #define irp 7 2. In a C asm{..} block use the following code to get the start address of the string into irp status reg bit & fsr reg movlw HIGH(_FCV_XXX) movwf _msb bsf _status,irp btfss ...
- Mon May 10, 2010 2:54 pm
- Forum: C and ASM Programming
- Topic: access flowcode string from assembler - solution
- Replies: 4
- Views: 5288
flowcode string access from assembler 2
Following on from my previous post "flowcode string access from assembler "........ I have just discovered that the instruction: movlw _FCV_INIT, moves the least significant 8 bits of the nine bit flowcode variable address (variable name is init) into the w register. Does anyone know how t...
- Mon May 10, 2010 1:40 pm
- Forum: C and ASM Programming
- Topic: access flowcode string from assembler - solution
- Replies: 4
- Views: 5288
flowcode string access from assembler
I have created a string in flowcode 4 called xxx and initialised it to "abcd". Does anyone know how to set up the fsr register in assembler so that I can access the individual letters of the string. I have tried to set the first letter to upper case A using the following assembly language ...