Search found 71 matches
- Tue Jan 27, 2009 7:58 pm
- Forum: Flowcode V2 & V3
- Topic: Disabling Analog Port on PIC16f88
- Replies: 4
- Views: 3525
Re: Disabling Analog Port on PIC16f88
Hi Benj, I checked and FlowCode generates void main() { //Initialisation ansel = 0; cmcon = 0x07; but I cann't get the F88 to see the frequency on the RA0 & RA1. I tried the same code with F877 and connected two LCD dislays to port C & D and inserted flags on the code to see if the code actually bra...
- Mon Jan 19, 2009 8:57 pm
- Forum: Flowcode V2 & V3
- Topic: Book On Flowcode Released
- Replies: 3
- Views: 5134
Re: Book On Flowcode Released
I just place an order as well.
Sounds good
Thanks for the info.
Pinto Ramos
Sounds good
Thanks for the info.
Pinto Ramos
- Mon Jan 19, 2009 7:58 pm
- Forum: Flowcode V2 & V3
- Topic: Disabling Analog Port on PIC16f88
- Replies: 4
- Views: 3525
Re: Disabling Analog Port on PIC16f88
Hi Benj,
Thanks.
I checked the C code generated and noticed that the compiler generates the following code:
ansel=0 and not ansel=0x00 as you mentioned.
Could that cause a problem?
Regards
Pinto
Thanks.
I checked the C code generated and noticed that the compiler generates the following code:
Code: Select all
void main()
{
//Initialisation
ansel = 0;
cmcon = 0x07;
Could that cause a problem?
Regards
Pinto
- Mon Jan 19, 2009 1:02 pm
- Forum: Flowcode V2 & V3
- Topic: Disabling Analog Port on PIC16f88
- Replies: 4
- Views: 3525
Disabling Analog Port on PIC16f88
Hi Benj. Compliments of the season. I'm trying to get a small project going were i'm inputing 2 frquencies to pin A0 & A1 and internenally comparing to an internal counter and when the inputs reach a preset value ( 110 & 160Hz) than RB7 & RB8 will go ON respectively, if the frequency fall or goes ab...
- Tue Aug 05, 2008 7:19 pm
- Forum: Flowcode V2 & V3
- Topic: Multi One Wire Example
- Replies: 28
- Views: 29447
Re: Multi One Wire Example
Hi Ben, If you want to use port A you should turn off the ADC and make the portA as a digital I/O. ADCON1 = $07 'Turn PORTA as Digital IO. ADCON0 = 0 'Turn off all A/D's I'm still battling, trying to detect more than 3 devices. One thing I noticed is that I don't see where you save the information f...
- Fri Jul 25, 2008 9:59 am
- Forum: Flowcode V2 & V3
- Topic: Multi One Wire Example
- Replies: 28
- Views: 29447
Re: Multi One Wire Example
Hi Sean,
Thanks for your info.
I've tried it as well and only detected 2 devices.
Thanks
Pinto
Thanks for your info.
I've tried it as well and only detected 2 devices.
Thanks
Pinto
- Thu Jul 24, 2008 1:43 pm
- Forum: Flowcode V2 & V3
- Topic: Multi One Wire Example
- Replies: 28
- Views: 29447
Re: Multi One Wire Example
Hi Eric, Thanks for sharing your info. Are you using a simulator or the real devices on your design? I used a simulator. But I don't think the problem is on the simulator because I loaded a similar software from another compiler and detected 10 devices complete with serial no's, temps and alarm stat...
- Tue Jul 15, 2008 9:28 pm
- Forum: Flowcode V2 & V3
- Topic: Multi One Wire Example
- Replies: 28
- Views: 29447
Multi One Wire Example
Hi Benj,
I' working with the Multi One Wire Example and can't read more than 2 devices.
Pic 877a, 8Mhz, Delay 2, 4*DS18B20.
Please see the attached code. Were did I go wrong.
Regards
Pinto
I' working with the Multi One Wire Example and can't read more than 2 devices.
Pic 877a, 8Mhz, Delay 2, 4*DS18B20.
Please see the attached code. Were did I go wrong.
Regards
Pinto
- Fri Jun 13, 2008 6:11 pm
- Forum: Flowcode V2 & V3
- Topic: Decimal Point
- Replies: 4
- Views: 4479
Re: Decimal Point
Hi Jim,
Thanks the macros helped a lot.
Thank you
Regards
Pinto
Thanks the macros helped a lot.
Thank you
Regards
Pinto
- Wed Jun 04, 2008 2:46 pm
- Forum: Flowcode V2 & V3
- Topic: Decimal Point
- Replies: 4
- Views: 4479
Decimal Point
Hello Ben,
I need to measure a DC voltage from 0 to 25V and print a value on the lcd with two decimal places (eg. "00.00 Vdc")
The decimal must be fixed.
How do I split the number?
Thanks
Pinto
I need to measure a DC voltage from 0 to 25V and print a value on the lcd with two decimal places (eg. "00.00 Vdc")
The decimal must be fixed.
How do I split the number?
Thanks
Pinto
- Thu Jan 31, 2008 3:57 pm
- Forum: Flowcode V2 & V3
- Topic: More wish list for V3/V4
- Replies: 7
- Views: 5298
Re: More wish list for V3/V4
Hi, I have a suggestion to make easy reading of long flowcode lists. If you could make the Icon's color to be set individually than one could assign a color to a set of icons doing a specific task so that when it's necessary to scroll through the list they can be easily identified, and just a matter...
- Thu Oct 18, 2007 6:27 pm
- Forum: Flowcode V2 & V3
- Topic: Delay Component
- Replies: 2
- Views: 3010
- Wed Oct 17, 2007 8:24 am
- Forum: Flowcode V2 & V3
- Topic: Delay Component
- Replies: 2
- Views: 3010
Delay Component
Hi Ben,
The Flowcode Delay Component is it interrupt driven or is it a machine cycle counter.
Whwen the delay is timing out than the processor dosn't respond to anything else not even an interrup.
Is this correct?
Regards
Pinto
The Flowcode Delay Component is it interrupt driven or is it a machine cycle counter.
Whwen the delay is timing out than the processor dosn't respond to anything else not even an interrup.
Is this correct?
Regards
Pinto
- Tue Oct 16, 2007 1:13 pm
- Forum: Flowcode V2 & V3
- Topic: PIC16F628a ADC's not working
- Replies: 2
- Views: 2853
- Tue Oct 16, 2007 10:49 am
- Forum: Flowcode V2 & V3
- Topic: PIC16F628a ADC's not working
- Replies: 2
- Views: 2853
PIC16F628a ADC's not working
Hi Ben, When working with the PIC16F628a, whem I tried to insert the ADC or the Thermometer, I got an error that the target processor should have at least on ADC input. I've re-installed flowcode but the same happen. It works with other chips like the 877 and 88. I didn't tried them all. Regards Pinto
- Mon Oct 01, 2007 3:50 pm
- Forum: Flowcode V2 & V3
- Topic: Bit Banging Serial Comm's
- Replies: 4
- Views: 4306
Hi Ben, Thanks for your reply. Im having dificulties in understanding the way that the C icons and the suplementary code works. I think that the problem lies in the fact that I want to implment a full ASM progam into a C icon and obviousely this icons are designed to handle C code with secondary ASM...
- Thu Sep 27, 2007 3:50 pm
- Forum: Flowcode V2 & V3
- Topic: 18F6622 EUSART
- Replies: 3
- Views: 3322
- Thu Sep 27, 2007 2:36 pm
- Forum: Flowcode V2 & V3
- Topic: 18F6622 EUSART
- Replies: 3
- Views: 3322
18F6622 EUSART
Hi Ben,
The 18f6622 has 2 EUSART's but Flowcode only allows one RS232 to be placed on the flowchart at a time!!!
How do I acess the second channel?
Regards
Pinto
The 18f6622 has 2 EUSART's but Flowcode only allows one RS232 to be placed on the flowchart at a time!!!
How do I acess the second channel?
Regards
Pinto
- Mon Sep 24, 2007 9:59 pm
- Forum: Flowcode V2 & V3
- Topic: Bit Banging Serial Comm's
- Replies: 4
- Views: 4306
Hello Ben, Thanks for you reply. I need to gather information from the repeater and send it other pic's. If i have something like this code LIST p=16F628 ;tell assembler what chip we are using include "P16F628.inc" ;include the defaults for the chip ERRORLEVEL 0, -302 ;suppress bank selection messag...
- Sun Sep 23, 2007 12:29 pm
- Forum: Flowcode V2 & V3
- Topic: Bit Banging Serial Comm's
- Replies: 4
- Views: 4306
Bit Banging Serial Comm's
Hello Ben, I need to daisy chain a certain number of pic16f84's and communicate serially with each other (repeaters). I need two independente channels two communicate with each chip. Since the pic's that have USART only have one than the only way out is to Bit Bang the serial comm's (or is it?). I'v...
- Wed Sep 05, 2007 3:14 pm
- Forum: Flowcode V2 & V3
- Topic: EEPROM Component
- Replies: 2
- Views: 2852
EEPROM Component
Hello Ben,
I'm working with the EEprom component and when I wright or read from it doesn't update the values I have to click on it and move the slider up or down to see the new values.
Any ideas?
Pinto![Rolling Eyes :roll:](./images/smilies/icon_rolleyes.gif)
I'm working with the EEprom component and when I wright or read from it doesn't update the values I have to click on it and move the slider up or down to see the new values.
Any ideas?
Pinto
![Rolling Eyes :roll:](./images/smilies/icon_rolleyes.gif)
- Mon May 28, 2007 12:33 pm
- Forum: Flowcode V2 & V3
- Topic: RS-232 Code sample needed
- Replies: 6
- Views: 7822
- Tue Mar 27, 2007 3:59 pm
- Forum: Flowcode V2 & V3
- Topic: READDING A VALUE ON A PORT
- Replies: 2
- Views: 3851
Hi Ben, I think I've got it. Instead of using an INPUT Icon I created a variable that I pre-load with a 1 if it's true and with a 0 if false' When I want to switch the LED I load the variable on RD7 with the output icon. That enable me to make further decision on RD7 later on. Whwn I simulate on my ...
- Tue Mar 27, 2007 1:15 pm
- Forum: Flowcode V2 & V3
- Topic: READDING A VALUE ON A PORT
- Replies: 2
- Views: 3851
READDING A VALUE ON A PORT
Helo Benj, I'm having a bit of a problem with reading the state of a pin on a port. I'm outputing a value 1 to port D7 that lights an LED and than I want to read the state of D7. I used an input Icon and stote the value into a variable "ash" next I used an decision Icon to check the variable and tha...
- Sat Mar 17, 2007 10:22 am
- Forum: Flowcode V2 & V3
- Topic: RS232 Parity Bits
- Replies: 14
- Views: 15734
Changing numbers of bits from 8 to 7
Hello Ben.
I need your help once again.
I do I change the number of bits from 8 to 7 on your example.
The rest of the protocol remains the same.
Regards
Pinto
I need your help once again.
I do I change the number of bits from 8 to 7 on your example.
The rest of the protocol remains the same.
Regards
Pinto