Hi,
As adc uses analog whereas Lcd uses digital it's not possible for normal uses to switch between that in an same bit of code. Also not advisable.
Search found 1739 matches
- Sun Mar 03, 2013 7:35 am
- Forum: Flowcode V4
- Topic: Sampling of AN0 and displaying on LCD
- Replies: 4
- Views: 3881
- Fri Mar 01, 2013 11:00 pm
- Forum: Flowcode V5
- Topic: Help with TX RX Temp Unit Please
- Replies: 171
- Views: 81126
Re: Help with TX RX Temp Unit Please
Hi Stuart,
You can start reading my following thread if you already not gone through. Here I have shown how to use the sensor. If you manage to use the DHT sensor and the code. I will post code how to send data to RX.
http://www.matrixmultimedia.com/mmforum ... =7&t=11555
You can start reading my following thread if you already not gone through. Here I have shown how to use the sensor. If you manage to use the DHT sensor and the code. I will post code how to send data to RX.
http://www.matrixmultimedia.com/mmforum ... =7&t=11555
- Fri Mar 01, 2013 11:02 am
- Forum: Programming Tips & Tricks
- Topic: Customized characters on the LCD
- Replies: 2
- Views: 8309
Re: Customized characters on the LCD
Excellent post to create custom character in LCD. I should try to make my native language characters if could make up to 50 characters.
- Fri Mar 01, 2013 10:58 am
- Forum: Flowcode V5
- Topic: I2C with 4 digit 7 segment display.
- Replies: 10
- Views: 7186
Re: I2C with 4 digit 7 segment display.
Hi
Can you please post the link where you get this Flowcode from? This has some problem like Cod7Seg[1] = 0x55 is initialized but other locations are not initialized so how you will send that to slave?
Can you please post the link where you get this Flowcode from? This has some problem like Cod7Seg[1] = 0x55 is initialized but other locations are not initialized so how you will send that to slave?
- Fri Mar 01, 2013 12:08 am
- Forum: Flowcode V5
- Topic: Play symbol (triangle)
- Replies: 27
- Views: 17729
Re: Play symbol (trianlge)
Hi
I haven't checked that in hardware but the following link is saying ASCII code 16 should display ►Play (Forward). If you put printascii(16) in LCD macro; you should be able to check whether it print that character or not.
http://www.scribd.com/doc/37032592/ASCII-CHARACTER-CODE
I haven't checked that in hardware but the following link is saying ASCII code 16 should display ►Play (Forward). If you put printascii(16) in LCD macro; you should be able to check whether it print that character or not.
http://www.scribd.com/doc/37032592/ASCII-CHARACTER-CODE
- Thu Feb 28, 2013 2:18 pm
- Forum: Flowcode V5
- Topic: No capactive sensing (CPS) module in FC 5
- Replies: 75
- Views: 52729
Re: No capactive sensing (CPS) module in FC 5
I do not understand why it does not show locals on the Project explorer. Yes, you are right. That's not available in project explorer. How do you get the variable .Return between Sample_Cap_Touch and Parameters? Return variable is something automatically defined if you declare return type non-void ...
- Thu Feb 28, 2013 12:19 pm
- Forum: Flowcode V5
- Topic: No capactive sensing (CPS) module in FC 5
- Replies: 75
- Views: 52729
Re: No capactive sensing (CPS) module in FC 5
I do not know If I have to create them myself or not. If you copy a part of program to other program...variables are not copied with them, you have to declare the variables to make the code in act. I tried to but flowcode does not allow a variable name with a dot in front. variable that has dot in ...
- Thu Feb 28, 2013 12:10 pm
- Forum: Flowcode V5 Issues
- Topic: I2C COMPILE ERROR
- Replies: 2
- Views: 3942
Re: I2C COMPILE ERROR
Hi
Thanks for letting us know. I have checked the CAL file for I2C and it seems that for first I2C erroneously SSPCON2 has been used which is the cause of error.
Note: don't replace old one..make a backup and put this one. It need to be checked by Ben.
Thanks for letting us know. I have checked the CAL file for I2C and it seems that for first I2C erroneously SSPCON2 has been used which is the cause of error.
Note: don't replace old one..make a backup and put this one. It need to be checked by Ben.
- Thu Feb 28, 2013 11:38 am
- Forum: Flowcode V5 Free Edition
- Topic: unregistered license
- Replies: 2
- Views: 3265
Re: unregistered license
Hi
Can you please un-install your free version of Flowcode and try to re-install after restarting your machine and see what happened? If still problem persist let us know so that we can have a look..
Can you please un-install your free version of Flowcode and try to re-install after restarting your machine and see what happened? If still problem persist let us know so that we can have a look..
- Thu Feb 28, 2013 11:36 am
- Forum: Flowcode V4
- Topic: pc data collector device
- Replies: 5
- Views: 5058
Re: pc data collector device
Hi
Can you please post exactly what you are trying to do? Please post that in detail so that we can check your code easily and let you know where the problem is. I have tried to follow the but that's not so easy without knowing what in details you are trying to do.
Thanks
Can you please post exactly what you are trying to do? Please post that in detail so that we can check your code easily and let you know where the problem is. I have tried to follow the but that's not so easy without knowing what in details you are trying to do.
Thanks
- Thu Feb 28, 2013 12:35 am
- Forum: General Programming
- Topic: RS232 read string from Labview
- Replies: 12
- Views: 9463
Re: RS232 read string from Labview
Hi Paul, I see what you mean. I haven't read through you post :oops: I have been through Martin's post as that is small :P I have faced similar kind of issue in RS232 Tx,Rx. I have couple of suggestions for you: 1. Instead of Labview please try to send data from terminal (may be Hyperterminal or htt...
- Thu Feb 28, 2013 12:24 am
- Forum: General Programming
- Topic: RS232 read string from Labview
- Replies: 12
- Views: 9463
Re: RS232 read string from Labview
Hi What Martin suggested I use that if I have no problem like printing those numbers at starting cursor position and you have nothing immediately after this number printed in the display. But if you for example want to print the number from 17,0 cursor position and three number will occupy 17,18,19 ...
- Wed Feb 27, 2013 7:27 pm
- Forum: General Programming
- Topic: Compiler error
- Replies: 12
- Views: 7784
Re: Compiler error
Hi
You can have a look at the following FAQ link...
http://www.matrixmultimedia.com/support ... f=22&t=683
You can have a look at the following FAQ link...
http://www.matrixmultimedia.com/support ... f=22&t=683
- Wed Feb 27, 2013 12:18 pm
- Forum: Flowcode V5
- Topic: I2C with 4 digit 7 segment display.
- Replies: 10
- Views: 7186
Re: I2C with 4 digit 7 segment display.
Hi Here is a schematic for starting point. Start with 8 LEDs and let's see if we can control these LEDs we will be able to control rest. PCA9532.png You have to follow the following programming sequence... '**************************************************************** '* Name : i2c comms test wit...
- Wed Feb 27, 2013 11:50 am
- Forum: Flowcode V5
- Topic: Logarithmic analogue inputs
- Replies: 4
- Views: 3143
Re: Logarithmic analogue inputs
Hi I would recommend you to use anti-log series to get the approximate value of your logarithmic input. I have did sin, cos, tan series and those worked excellent and believe antilog will work too. BTW, are you need to use natural logarithm or 10-base logarithm? If naturral, you can follow following...
- Wed Feb 27, 2013 8:29 am
- Forum: Programming Tips & Tricks
- Topic: measuring pulsewidth (000.00m/s)
- Replies: 1
- Views: 3826
Re: measuring pulsewidth (000.00m/s)
Thanks for sharing. I did exactly similar thing in my FCU (free cooling unit) design where EC fan was monitored and controlled by separate chip.
- Wed Feb 27, 2013 8:23 am
- Forum: Programming Tips & Tricks
- Topic: different way of measuring rpm
- Replies: 2
- Views: 4738
Re: different way of measuring rpm
Nice work Brandonb
- Wed Feb 27, 2013 8:21 am
- Forum: Flowcode V5
- Topic: file types problem
- Replies: 2
- Views: 2243
Re: file types problem
Hi,
If you are having this when you compile any flowcode program also. Please make sure you have uninstalled ccs & flowcode and restart your machine and make fresh install of flowcode. You will get the effect of ccs deleted.
If you are having this when you compile any flowcode program also. Please make sure you have uninstalled ccs & flowcode and restart your machine and make fresh install of flowcode. You will get the effect of ccs deleted.
- Wed Feb 27, 2013 8:14 am
- Forum: General Programming
- Topic: flowcode5 over flowcode4
- Replies: 8
- Views: 5468
Re: flowcode5 over flowcode4
Hi, Actually I would suggest you to buy Flowcode v5 as it has lots of new features. Couple of those worth mentioning: 1. It supports a wide variety of data type like signed and unsigned long variable etc. 2. Lots new chip added and fcd corrected. 3. Different interrupts implemented not all were avai...
- Wed Feb 27, 2013 12:43 am
- Forum: Flowcode V5
- Topic: I2C with 4 digit 7 segment display.
- Replies: 10
- Views: 7186
Re: I2C with 4 digit 7 segment display.
Hi
You said you are clear about hardware. so please mention which mode you are using dynamic or static? If possible post an schematic of the 4-digit seven segment connected with the chip SAA1064 and also with PIC.
You said you are clear about hardware. so please mention which mode you are using dynamic or static? If possible post an schematic of the 4-digit seven segment connected with the chip SAA1064 and also with PIC.
- Wed Feb 27, 2013 12:29 am
- Forum: General Programming
- Topic: ascii to string conversion.
- Replies: 6
- Views: 5440
Re: ascii to string conversion.
Hi
Have you tried to use this example?
Have you tried to use this example?
- Wed Feb 27, 2013 12:25 am
- Forum: Flowcode V5
- Topic: Help with TX RX Temp Unit Please
- Replies: 171
- Views: 81126
Re: Help with TX RX Temp Unit Please
Thanks for the information you have posted. I have modified the Rx code to adjust with temperature. There could be some difference with the actual temperature and the value shown in display but should not be too different with the new code. For more accuracy we need to move to DHT11. But I think we ...
- Tue Feb 26, 2013 9:19 pm
- Forum: Flowcode V5
- Topic: Can't get RS232 to simulate or work in hardware
- Replies: 5
- Views: 4281
Re: Can't get RS232 to simulate or work in hardware
Hi I have noticed couple of issues in the code. I will correct those and post asap. I haven't check your Rx code earlier in details...but checked just now. I have requested you to post simple Rx program not the whole code. It's not easy to debug where the problem is. I can't even find where you are ...
- Tue Feb 26, 2013 8:28 pm
- Forum: Flowcode V5
- Topic: Can't get RS232 to simulate or work in hardware
- Replies: 5
- Views: 4281
Re: Can't get RS232 to simulate or work in hardware
Hi
I would suggest you to make the receiving code simple for the time being to simply test different the RS232 transmission and reception. You can post simple Tx and Rx program. I will have a look if there are any issue still left.
I would suggest you to make the receiving code simple for the time being to simply test different the RS232 transmission and reception. You can post simple Tx and Rx program. I will have a look if there are any issue still left.
- Tue Feb 26, 2013 1:08 pm
- Forum: Flowcode V5
- Topic: Can't get RS232 to simulate or work in hardware
- Replies: 5
- Views: 4281
Re: Can't get RS232 to simulate or work in hardware
Hi You have had a problem in your RS232 receive macro. I have shown the right format of receiving macro in the snap-shot. you put variable in the nTime place but it should be in return data place. nTime could be 1 if you use interrupt for detecting RS232 reception but if the wire length is loo long ...