Search found 14581 matches
- Wed Nov 26, 2008 10:06 am
- Forum: Bugs / Application Errors
- Topic: TINA v7 software installation
- Replies: 1
- Views: 3346
Re: TINA v7 software installation
Hello Joris On your XP machine did you try restarting. Sounds like an uninstaller failed and is now causing the windows installer to be unavailable. Fingers crossed if you restart your machine and then straight away run the setup it may install correctly. Vista should also run TINA. At the moment it...
- Wed Nov 26, 2008 10:04 am
- Forum: General / Misc
- Topic: Define variable in asm
- Replies: 3
- Views: 3565
Re: Define variable in asm
Hello Bert
You can create a C variable and then call it in assembler by using an underscore in front of the variable name. Would that work?
char varname
asm{
movlw _varname
// rest of the asm code
}
You can create a C variable and then call it in assembler by using an underscore in front of the variable name. Would that work?
char varname
asm{
movlw _varname
// rest of the asm code
}
- Wed Nov 26, 2008 10:01 am
- Forum: Flowcode V2 & V3
- Topic: how to output the PWM on a specific pin on port
- Replies: 2
- Views: 2881
Re: how to output the PWM on a specific pin on port
Hello PWM is a hardware function and uses CCP pins. These should be marked on the chip diagram in Flowcode. CCP1 is PWM channel 1 and CCP2 is PWM channel 2. If you wish to output PWM to any old pin you will have to do it by toggling the state of the pin in software. Using a timer interrupt could com...
- Tue Nov 25, 2008 2:53 pm
- Forum: General / Misc
- Topic: Flowcode 4
- Replies: 12
- Views: 10990
Re: Flowcode 4
Hi Wayne
I think Steve is postponing announcing the details until we are sure what is going to be included. Theres going to be a lot though.
I think Steve is postponing announcing the details until we are sure what is going to be included. Theres going to be a lot though.
- Tue Nov 25, 2008 2:49 pm
- Forum: Flowcode V2 & V3
- Topic: How to hard wire the LCD...i have just finished my code...
- Replies: 2
- Views: 2766
Re: How to hard wire the LCD...i have just finished my code...
Hello
You probably have to wire up your LCD like this.
PortB.0-->Data4
PortB.1-->Data5
PortB.2-->Data6
PortB.3-->Data7
PortB.4-->RS
PortB.5-->Enable
RW pin tied to Ground.
Hope this helps.
You probably have to wire up your LCD like this.
PortB.0-->Data4
PortB.1-->Data5
PortB.2-->Data6
PortB.3-->Data7
PortB.4-->RS
PortB.5-->Enable
RW pin tied to Ground.
Hope this helps.
- Mon Nov 24, 2008 5:18 pm
- Forum: E-blocks
- Topic: RFID for time keeping.
- Replies: 22
- Views: 18477
Re: RFID for time keeping.
Great thanks Achillis,
Sounds like a great project and would be interested to know how you get on.
Sounds like a great project and would be interested to know how you get on.
- Mon Nov 24, 2008 5:17 pm
- Forum: C and ASM Programming
- Topic: C programing help for AVR microcontroller
- Replies: 4
- Views: 6253
Re: C programing help for AVR microcontroller
Hello I am using a nested for loop because 1 of the delays from your previous program delayed for approx 1/20th of a second. Now I am calling that same delay 10 times to allow for a delay of 1/2 a second. I cannot simply increase the size of the original delay because the Unsigned INT variable size ...
- Mon Nov 24, 2008 12:17 pm
- Forum: C and ASM Programming
- Topic: C programing help for AVR microcontroller
- Replies: 4
- Views: 6253
Re: C programing help for AVR microcontroller
Hello In answer to your questions 1) 65000 is the number used to assign how many program cycles the chip should wait before continuing to the next instruction. 2) That particular value is used because it roughly generates enough of a delay when running at 20MHz to allow for 1/20th of a second delay....
- Mon Nov 24, 2008 12:04 pm
- Forum: E-blocks
- Topic: ECIO28P - No USB cable attached
- Replies: 14
- Views: 10534
Re: ECIO28P - No USB cable attached
Hi Damian Sounds like a great project, might have to give that one a go myself. Where there any specific delays involved or is it quite easy to guess the delays needed between the LED outputs? Glad its all up and running for you now and that your finally seeing the good side to Flowcode and our ECIO...
- Mon Nov 24, 2008 12:01 pm
- Forum: Components (Comms)
- Topic: USB Pack
- Replies: 10
- Views: 7888
Re: USB Pack
Hello Fred
Shame you had to resort to a reinstall but glad its all working for you now. Let me know if you have any problems.
Shame you had to resort to a reinstall but glad its all working for you now. Let me know if you have any problems.
- Mon Nov 24, 2008 11:58 am
- Forum: Flowcode V2 & V3
- Topic: timer1
- Replies: 6
- Views: 5312
Re: timer1
Hello Flowcode variables are given the prefix FCV_ in C code. It is this C code that is compiled to give you your working program. Flowcode V3 does not currently have direct access to registers onboard the chip without using C code. You would insert writes from your variables into the timer register...
- Mon Nov 24, 2008 11:53 am
- Forum: E-blocks
- Topic: RFID for time keeping.
- Replies: 22
- Views: 18477
Re: RFID for time keeping.
Hello Achillis To save data to Excel format there is two options. 1) Send data via the USB to a software application eg VB which will append the incoming data to a file in an excel format eg comma seperated variables. 2) Send data directly to a SD/MMC card which will append the incoming data to a fi...
- Fri Nov 21, 2008 6:04 pm
- Forum: Flowcode V2 & V3
- Topic: stepper controller
- Replies: 3
- Views: 3600
Re: stepper controller
Yes you can insert the assembler code directly in a C code Flowcode icon so you will be able to edit and comment the code as well as add other Flowcode features such as displays etc.
- Fri Nov 21, 2008 6:00 pm
- Forum: E-blocks
- Topic: RFID for time keeping.
- Replies: 22
- Views: 18477
Re: RFID for time keeping.
Hello Yes the SD/MMC card would just allow you to locally store data in a fashion compatible with excel etc. Eg timesheets could be logged and then at the end of each month the card is removed from the system and inserted into a PC where the data is copied across for working out wages etc. Obviously...
- Fri Nov 21, 2008 2:12 pm
- Forum: Flowcode V2 & V3
- Topic: ToString$ ()
- Replies: 4
- Views: 3221
Re: ToString$ ()
Hi Wolfgang For your program timer_set_00_dec = 901 timer_00_set_wert = ToString$(timer_set_00) a timer_set_00_dec = timer_set_00_dec - 1 wait timer_00_set_wert = ToString$(timer_set_00_dec) go to a Would become timer_set_00_dec = 901 timer_00_set_wert = ToString$(timer_set_00) timer_00_set_wert = t...
- Fri Nov 21, 2008 11:32 am
- Forum: Flowcode V2 & V3
- Topic: stepper controller
- Replies: 3
- Views: 3600
Re: stepper controller
Hello Dont you just love assembler code, Im so happy it finally dying a death. There is now a stepper motor component available for Flowcode which should make your life a lot easier. Simply extract the contents of the attached folder into your Flowcode V3/Components directory and then run the Instal...
- Fri Nov 21, 2008 11:28 am
- Forum: Flowcode V2 & V3
- Topic: ToString$ ()
- Replies: 4
- Views: 3221
Re: ToString$ ()
Hi Wolfgang
Yes thats normal. What you need to do is print one or two characters of white space after your number to make sure the previous number gets erased.
Eg instead of printing "100" and then "5" which will lead to "500", print this instead "100 " and "5 " which will lead to "5 ".
Yes thats normal. What you need to do is print one or two characters of white space after your number to make sure the previous number gets erased.
Eg instead of printing "100" and then "5" which will lead to "500", print this instead "100 " and "5 " which will lead to "5 ".
- Fri Nov 21, 2008 11:26 am
- Forum: E-blocks
- Topic: RFID for time keeping.
- Replies: 22
- Views: 18477
Re: RFID for time keeping.
Hello Yes the system you are proposing should be acheivable using Flowcode and a RFID E-Block. Each member of staff could have their own RFID tag and as you say switches could be used to assign new tags etc. Time can be based on an interrupt on the chip and will be highly accurate (eg prob loose or ...
- Thu Nov 20, 2008 3:19 pm
- Forum: E-blocks
- Topic: ECIO28P - No USB cable attached
- Replies: 14
- Views: 10534
Re: ECIO28P - No USB cable attached
Hi Damian
Ah ok hopefully that will sort out your problem then.
I will try and make it clearer what you have to do in the documentation.
Ah ok hopefully that will sort out your problem then.
![Razz :P](./images/smilies/icon_razz.gif)
I will try and make it clearer what you have to do in the documentation.
- Thu Nov 20, 2008 12:00 pm
- Forum: E-blocks
- Topic: ECIO28P - No USB cable attached
- Replies: 14
- Views: 10534
Re: ECIO28P - No USB cable attached
Hi Damian If your getting the advanced configuration screen then your have not selected the ECIO target instead you have selected a standard 18F target. The ECIO devices should have no configuration settings at all (should be greyed out) to protect the bootloader and as you say be beginner friendly....
- Thu Nov 20, 2008 11:54 am
- Forum: Flowcode V2 & V3
- Topic: problem with LCD + oscillator setup
- Replies: 23
- Views: 13087
Re: problem with LCD + oscillator setup
Hi Chevvy
Here is the current version hot off the generator tool.
Here is the current version hot off the generator tool.
- Thu Nov 20, 2008 11:02 am
- Forum: Components (Comms)
- Topic: USB Pack
- Replies: 10
- Views: 7888
Re: USB Pack
Hello Here are a few other things I can think of. Do you have the latest version of Flowcode installed V3.4.7? Are you running any heavy anti virus or firewall eg Norton or Mcaffee? Another piece of advice I have found is to do the following. http://windowsitpro.com/article/articleid/72659/jsi-tip-1...
- Wed Nov 19, 2008 3:43 pm
- Forum: Flowcode V2 & V3
- Topic: Hex to Decimal
- Replies: 17
- Views: 10742
Re: Hex to Decimal
Hello To break a variable into powers of ten you will have to do something similar to the following. INT_Var = 10500 thousands = INT_Var MOD 1000 //should equal 10 INT_Var = INT_Var - (thousands * 1000) hundreds = INT_Var MOD 100 //Should equal 5 INT_Var = INT_Var - (hundreds * 100) tens = INT_Var M...
- Wed Nov 19, 2008 1:54 pm
- Forum: Components (Comms)
- Topic: USB Pack
- Replies: 10
- Views: 7888
Re: USB Pack
Hello Fred
What version of Windows are you running? Also do you have admin rights?
If your using Vista then maybe try right clicking the .bat file and selecting run as administrator.
What version of Windows are you running? Also do you have admin rights?
If your using Vista then maybe try right clicking the .bat file and selecting run as administrator.
- Wed Nov 19, 2008 10:34 am
- Forum: General Programming
- Topic: programmer
- Replies: 1
- Views: 3130
Re: programmer
Hi, The PICstart programmer requires MPLAB, I think that it is possible to setup Flowcode to use the PICstart so it may be possible to configure your compiler to also use this programmer. There should be a topic on this forum regarding integrating PICstart into Flowcode which should help you get sta...