Search found 14581 matches
- Fri Nov 07, 2008 3:31 pm
- Forum: Flowcode V2 & V3
- Topic: Caparing vals to find the most common numbers
- Replies: 7
- Views: 4606
Re: Caparing vals to find the most common numbers
Hello Ondra What about something like this. If you are getting the most common number maybe two or three times in a row then you could create a loop to read in numbers. If the previous number matches the current number then you have a positive fix. Otherwise stay in the loop and update your old and ...
- Fri Nov 07, 2008 1:27 pm
- Forum: Flowcode V2 & V3
- Topic: port bits
- Replies: 5
- Views: 4047
Re: port bits
Ok instead of 20h try using 32 this is the same numeric binary value but using the decimal method instead. Alternativly you could try 0x20 but I dont know if this is supported in VB either.
- Fri Nov 07, 2008 1:25 pm
- Forum: E-blocks
- Topic: HP488-00-3 USB problems
- Replies: 1
- Views: 3056
Re: HP488-00-3 USB problems
Hello Please try reisnstalling PPP by downloading the file from the link below. When running the installer you will be given the option to uninstall PPP. Once you have done this please run the install again to install a fresh copy of PPP. Next insert the HP488 into your USB and goto your Windows dev...
- Fri Nov 07, 2008 11:49 am
- Forum: Flowcode V2 & V3
- Topic: port bits
- Replies: 5
- Views: 4047
Re: port bits
Hello Ian
Does Steve's code above not work to detect the logic of individual bits in VB.
Does Steve's code above not work to detect the logic of individual bits in VB.
If (portVal And 20h) Then
'bit 5 is high
Else
'bit 5 is low
End If
- Fri Nov 07, 2008 11:47 am
- Forum: General Programming
- Topic: Factory Default
- Replies: 5
- Views: 4808
Re: Factory Default
Hello
Which memory locations have you overwritten? was it the osccon register or something similar?
Which memory locations have you overwritten? was it the osccon register or something similar?
- Fri Nov 07, 2008 11:45 am
- Forum: Flowcode V2 & V3
- Topic: Caparing vals to find the most common numbers
- Replies: 7
- Views: 4606
Re: Caparing vals to find the most common numbers
Hello Ondra Best way would be to take an average of the results. To do this create an integer variable and add say 5-10 sets of samples to this variable. Then devide the variable by the number of samples used to get your reliable value. For your case: int val1=1002 int val2= 902 int val3=1002 int va...
- Thu Nov 06, 2008 5:04 pm
- Forum: Bugs / Application Errors
- Topic: interrupt
- Replies: 1
- Views: 3034
Re: interrupt
Hello
The simulation of Timer0 will not work exactly as it would on the hardware. There should be no problems when running the code onboard a chip.
The simulation of Timer0 will not work exactly as it would on the hardware. There should be no problems when running the code onboard a chip.
- Thu Nov 06, 2008 10:49 am
- Forum: General Programming
- Topic: IO pin state when programming?
- Replies: 1
- Views: 2780
Re: IO pin state when programming?
Hello
I/O pins should be driven to the high impedance state during reset and programming.
I/O pins should be driven to the high impedance state during reset and programming.
- Thu Nov 06, 2008 10:46 am
- Forum: Bugs / Application Errors
- Topic: RS232 Read Clarification
- Replies: 1
- Views: 2808
Re: RS232 Read Clarification
Hello
A loop condition of 2 is equivalent to loop forever as is anything over 0. A loop count of 2 will give you two individual loops which should yield more predictable and expected results. Each RS232 read / Write can handle one byte only.
A loop condition of 2 is equivalent to loop forever as is anything over 0. A loop count of 2 will give you two individual loops which should yield more predictable and expected results. Each RS232 read / Write can handle one byte only.
- Thu Nov 06, 2008 10:43 am
- Forum: Bugs / Application Errors
- Topic: String Function Error
- Replies: 5
- Views: 5096
Re: String Function Error
To avoid using the function you could research another string manipulation function that is compatible with your compiler. This would allow you to replace all the calls to the concatenate function.
- Thu Nov 06, 2008 10:36 am
- Forum: Bugs / Application Errors
- Topic: String Function Error
- Replies: 5
- Views: 5096
Re: String Function Error
Hello
You are getting the errors in MPLAB because you need to include the includes.h file. This file is located inside the Flowcode V3/fcd directory you could copy it into your project directory to get it working in MPLAB.
You are getting the errors in MPLAB because you need to include the includes.h file. This file is located inside the Flowcode V3/fcd directory you could copy it into your project directory to get it working in MPLAB.
- Wed Nov 05, 2008 1:03 pm
- Forum: General / Misc
- Topic: How to get helpfiles in other language?
- Replies: 4
- Views: 4300
Re: How to get helpfiles in other language?
Ok here are the dutch help files.
- Wed Nov 05, 2008 1:00 pm
- Forum: Flowcode V2 & V3
- Topic: RTC DS1302 - PIC16F877A SPI MODE.
- Replies: 5
- Views: 15617
Re: RTC DS1302 - PIC16F877A SPI MODE.
Hello Jorgen Firstly make sure your connections are ok. SDI goes to SDO, SDO goes to SDI, SCK goes to SCK and a digital I/O pin is being used for the CS. Next make sure that your SPI component properties are ok eg correct frequency, clock polarity, sample timing etc to match the device datasheet. Fi...
- Wed Nov 05, 2008 12:55 pm
- Forum: E-blocks
- Topic: HP488 confusion
- Replies: 4
- Views: 4456
Re: HP488 confusion
Hello John PPP should always be able to auto detect chips if LVP is disabled or not. I think what the datasheet is saying is this. If you are powering the board from the 5V USB supply and the target PIC device has LVP disabled then it will not be detected or programmed. Since you are going to be usi...
- Wed Nov 05, 2008 10:49 am
- Forum: Flowcode V2 & V3
- Topic: ecio-40pin
- Replies: 3
- Views: 3117
Re: ecio-40pin
Hello Wolfgang
The LED is connected to pin RE2. You should be able to use it in your code with no problems.
The LED is connected to pin RE2. You should be able to use it in your code with no problems.
- Wed Nov 05, 2008 10:41 am
- Forum: Components (Comms)
- Topic: SPI Accelerometer
- Replies: 7
- Views: 5453
Re: SPI Accelerometer
Hello Alex Ok Im having problems with getting my hardware up and running but I think that this is just down to my CNC circuit boards not quite being accurate enough for the SMT devices. I will pass you the driver that has been done so far. It is untested for the most part but it compiles and the cod...
- Wed Nov 05, 2008 10:35 am
- Forum: General Programming
- Topic: RS232 communication between 2 PICs
- Replies: 1
- Views: 2932
Re: RS232 communication between 2 PICs
Hello Yes you can either connect the PIC micros up directly or use the max chips to provide voltage boosting and therefore extend the limits of your connection. You will also need a common ground connection between the two devices. If you are connecting the pins directly then it may be worth using 2...
- Wed Nov 05, 2008 10:28 am
- Forum: Flowcode V2 & V3
- Topic: ecio-40pin
- Replies: 3
- Views: 3117
Re: ecio-40pin
Hello
The datasheet can be found here.
http://www.matrixmultimedia.com/datashe ... O-60-2.pdf
Pins C3, C4 and C5 are used by the USB connection and are therefore not available.
The datasheet can be found here.
http://www.matrixmultimedia.com/datashe ... O-60-2.pdf
Pins C3, C4 and C5 are used by the USB connection and are therefore not available.
- Wed Nov 05, 2008 10:26 am
- Forum: General / Misc
- Topic: How to get helpfiles in other language?
- Replies: 4
- Views: 4300
Re: How to get helpfiles in other language?
Hello
Flowcode comes complete with the Dutch language pack. In Flowcode click on View -> Options and then tick the Override Language tick box. You will then be able to select Dutch from the list of languages.
Flowcode comes complete with the Dutch language pack. In Flowcode click on View -> Options and then tick the Override Language tick box. You will then be able to select Dutch from the list of languages.
- Wed Nov 05, 2008 10:22 am
- Forum: E-blocks
- Topic: HP488 confusion
- Replies: 4
- Views: 4456
Re: HP488 confusion
Hello John The HP488 is capable of running high voltage programming with LVP disabled allowing for access to pin RB3 - RB5 depending on the chip. We also provide jumpers to allow chips using LVP to access the LCD via alternate pins on PortB. I'd appreciate it if someone could please confirm that I w...
- Tue Nov 04, 2008 5:41 pm
- Forum: Components (Comms)
- Topic: Interrupt on incoming RS232 on 18F6622
- Replies: 3
- Views: 3779
Re: Interrupt on incoming RS232 on 18F6622
Hello Strange that sending RS232 data doesnt work. Have you tried doing a very basic program that simply sends out data. This code should work with the custom interrupt enable icon and the 18F6622 chips. Enable Code pie1.RC1IE = 1; intcon.PEIE = 1; Disable Code pie1.RC1IE = 0; Handler Code if (pir1 ...
- Tue Nov 04, 2008 1:14 pm
- Forum: Flowcode V2 & V3
- Topic: Flowcode V3 PIC USB Pack Released
- Replies: 33
- Views: 77315
Re: Flowcode V3 PIC USB Pack Released
The USB pack has now been updated to include a Flowcode target definition for the Microchip PICDEMUSB board. To install the USB pack simply follow the instructions inside the installation folder. The Microchip PICDEMUSB board can be selected by selecting the MCHP_FSUSB as the target in Flowcode. Whe...
- Tue Nov 04, 2008 10:59 am
- Forum: Components (Comms)
- Topic: I2C Slave
- Replies: 5
- Views: 10255
Re: I2C Slave
Hello Jeff
Can you use RS232 instead? The I2C slave component for Flowcode is still a while off yet.
Can you use RS232 instead? The I2C slave component for Flowcode is still a while off yet.
- Tue Nov 04, 2008 10:57 am
- Forum: Programming Tips & Tricks
- Topic: Infrared decoder
- Replies: 9
- Views: 15789
Re: Infra red decoder
Great article thanks Jose.
- Mon Nov 03, 2008 5:51 pm
- Forum: Flowcode V2 & V3
- Topic: change 7 seg from common anode to common cathode ??
- Replies: 4
- Views: 13507
Re: change 7 seg from common anode to common cathode ??
Hello Badger You should just have to edit this line. //display the digit #if (%q == 1) and set it to this //display the digit #if (0 == 1) It looks like the C code file has already been updated to allow for common cathode displays but the actual components have not yet been updated to reflect the C ...