Search found 20 matches
- Mon Jun 20, 2011 5:27 pm
- Forum: Flowcode V4
- Topic: KEY PAD
- Replies: 9
- Views: 7781
Re: KEY PAD
Glad your project is now working.
- Mon Jun 13, 2011 2:32 pm
- Forum: Flowcode V4
- Topic: KEY PAD
- Replies: 9
- Views: 7781
Re: KEY PAD
Hi Martin & Eric
Thanks for your time & effort. I tried the exact connections which Eric suggested but unfortunatly still the key pad doesnt read
I have tested your original code on a breadboard, and it is working correct. I did not change any settings or configs.
Due to your delays in the ...
Thanks for your time & effort. I tried the exact connections which Eric suggested but unfortunatly still the key pad doesnt read
I have tested your original code on a breadboard, and it is working correct. I did not change any settings or configs.
Due to your delays in the ...
- Sun Jun 12, 2011 1:29 pm
- Forum: Flowcode V4
- Topic: Interrupt and keypad
- Replies: 2
- Views: 3329
Re: Interrupt and keypad
Hi Team,
The interrupt function on the attached programme only works on the last row of the keypad, it doesn't interrupt when other
switches on the keypad are depressed?. Probably a very simple reason which I failed to understand.
Indana
Using PORTB interrupt on the keypad, needs some more code ...
The interrupt function on the attached programme only works on the last row of the keypad, it doesn't interrupt when other
switches on the keypad are depressed?. Probably a very simple reason which I failed to understand.
Indana
Using PORTB interrupt on the keypad, needs some more code ...
- Sun Jun 12, 2011 1:14 pm
- Forum: Flowcode V4
- Topic: Pickit 3 problem with hex file?
- Replies: 8
- Views: 6554
Re: Pickit 3 problem with hex file?
Hi everyone...
Need some help quickly...
I've been using a pickit 3 to download my programs to the ucontroller...
I last used it 2 weeks ago and today when I tried to download it, it simply says:
Return code = 0
Launching the programmer...
C:\Program Files\Matrix Multimedia\Flowcode V4\Tools ...
Need some help quickly...
I've been using a pickit 3 to download my programs to the ucontroller...
I last used it 2 weeks ago and today when I tried to download it, it simply says:
Return code = 0
Launching the programmer...
C:\Program Files\Matrix Multimedia\Flowcode V4\Tools ...
- Sun Jun 12, 2011 1:06 pm
- Forum: Flowcode V4
- Topic: KEY PAD
- Replies: 9
- Views: 7781
Re: KEY PAD
HI
Can anybody help me to find the problem with the attached flowcode file.When I simulate it in flowcode simulater it works perfect.But when I tried it in real hardware it just keeps displaying random digits without even pressing any keys on the keypad.I wonder my keypad connections are wrong ...
Can anybody help me to find the problem with the attached flowcode file.When I simulate it in flowcode simulater it works perfect.But when I tried it in real hardware it just keeps displaying random digits without even pressing any keys on the keypad.I wonder my keypad connections are wrong ...
- Sun May 29, 2011 9:17 pm
- Forum: Flowcode V4
- Topic: Using Interrupts to scan Keypad
- Replies: 15
- Views: 11981
Re: Using Interrupts to scan Keypad
In the attached code, the Keypad_GetKeypadNumber custom code was changed.
- Sun May 29, 2011 9:01 pm
- Forum: Flowcode V4
- Topic: Using Interrupts to scan Keypad
- Replies: 15
- Views: 11981
Re: Using Interrupts to scan Keypad
I am glad to report that I have completed my Timer project. There was still a small problem with the keypad interrupt system. In the Keypad_GetKeypadNumber custom code, the macro Delay_us(10) is called. As this is also used with some other component macros, and the Delay command, it could lead up to ...
- Mon May 23, 2011 9:01 pm
- Forum: Flowcode V4
- Topic: Using Interrupts to scan Keypad
- Replies: 15
- Views: 11981
Re: Using Interrupts to scan Keypad
Hi Fotis.
Sorry, but I failed to let you know that I replied to your previous topic http://www.matrixmultimedia.com/mmforums/viewtopic.php?f=7&t=8422 . I posted the code for RB0 interrupt as well as 6 button interrupts on RB1..6. The code at this link is for the 16F887.
Please let me know if it ...
Sorry, but I failed to let you know that I replied to your previous topic http://www.matrixmultimedia.com/mmforums/viewtopic.php?f=7&t=8422 . I posted the code for RB0 interrupt as well as 6 button interrupts on RB1..6. The code at this link is for the 16F887.
Please let me know if it ...
- Sun May 22, 2011 10:36 pm
- Forum: Flowcode V4
- Topic: DS1307 project problem
- Replies: 7
- Views: 5211
Re: DS1307 project problem
Another problem during testing and development of DS1307 projects, is that there in normally no battery connected to the DS1307. In this case, the Vbat pin (pin 3) MUST be connected to 0V. With the pin floating, the DS1307 will sometimes block writes to the device.
Not related to your problem, but ...
Not related to your problem, but ...
- Sun May 22, 2011 10:17 pm
- Forum: General Programming
- Topic: RB.0 interrupt + RB.1 to RB.6 "IOC" on PIC16F887
- Replies: 10
- Views: 12372
Re: RB.0 interrupt + RB.1 to RB.6 "IOC" on PIC16F887
Fotios
I do not have a 16F887, but I did have a look at the datasheet, and hope this program might help you on this specific chip.
Please note that the PORT interrupt does not seem to simulate correct, it only works for RB4..7. But I am sure it will work correct in your application. I have added ...
I do not have a 16F887, but I did have a look at the datasheet, and hope this program might help you on this specific chip.
Please note that the PORT interrupt does not seem to simulate correct, it only works for RB4..7. But I am sure it will work correct in your application. I have added ...
- Sun May 22, 2011 9:48 pm
- Forum: Flowcode V4
- Topic: Using Interrupts to scan Keypad
- Replies: 15
- Views: 11981
Re: Using Interrupts to scan Keypad
Hi Fotis
Thanks, I had a look again at the PORT interrupt, and it is in fact the same as the IOC you are refering to. The main reason that I have created the custom interrupt, was that the Flowcode keypad does not return all the I/O pins to the correct status to make the PORT interrupt work correct ...
Thanks, I had a look again at the PORT interrupt, and it is in fact the same as the IOC you are refering to. The main reason that I have created the custom interrupt, was that the Flowcode keypad does not return all the I/O pins to the correct status to make the PORT interrupt work correct ...
- Sat May 21, 2011 12:25 pm
- Forum: Flowcode V4
- Topic: Using Interrupts to scan Keypad
- Replies: 15
- Views: 11981
Re: Using Interrupts to scan Keypad
Although i am used to use the ready offered "IOC" interrupt...
Hi fotios
I tried the "PORT" interrupt in Flowcode, but could not get it to generate an interrupt in the simulation, thus the custom interrupt. I am not sure what the IOC is you are referring to, but will look into it. I am still ...
Hi fotios
I tried the "PORT" interrupt in Flowcode, but could not get it to generate an interrupt in the simulation, thus the custom interrupt. I am not sure what the IOC is you are referring to, but will look into it. I am still ...
- Sat May 21, 2011 11:56 am
- Forum: Flowcode V4
- Topic: Using Interrupts to scan Keypad
- Replies: 15
- Views: 11981
Project in test phase
Hi Eric,
Your programme doesn't seem to work on simulation?.
No interrupt occurred!.
May be its's my copy of flowcode, I don't know.
Regards
Indana
You are correct. The keypad does not work on the simulation, but works 100% in the project. I am working on a 8 channel timer project, which ...
Your programme doesn't seem to work on simulation?.
No interrupt occurred!.
May be its's my copy of flowcode, I don't know.
Regards
Indana
You are correct. The keypad does not work on the simulation, but works 100% in the project. I am working on a 8 channel timer project, which ...
- Sat May 14, 2011 1:22 pm
- Forum: Flowcode V4
- Topic: Using Interrupts to scan Keypad
- Replies: 15
- Views: 11981
Using Interrupts to scan Keypad
Setting up a keypad in Flowcode with interrupts.
Using interrupts to determine if a key was pressed, frees up the PIC to continue with normal operation, without the need to periodically scan for key
presses. The attached Flowcode sample makes use of the PORTB interrupt, which will automatically ...
Using interrupts to determine if a key was pressed, frees up the PIC to continue with normal operation, without the need to periodically scan for key
presses. The attached Flowcode sample makes use of the PORTB interrupt, which will automatically ...
- Sat Apr 23, 2011 4:01 pm
- Forum: Flowcode V4
- Topic: Microsoft Flight Sim X Modules
- Replies: 1
- Views: 2385
Re: Microsoft Flight Sim X Modules
FSX Push Button Unit:
Uses 16 push buttons to control items such as flaps, COMMS etc.
Uses 16 push buttons to control items such as flaps, COMMS etc.
- Sat Apr 23, 2011 4:00 pm
- Forum: Flowcode V4
- Topic: Microsoft Flight Sim X Modules
- Replies: 1
- Views: 2385
Microsoft Flight Sim X Modules
FSX can use several game controllers at a time to control the simulator. Several devices are available for purchase, but at a cost. To allow easy interfacing with buttons and switches, I have build the following modules, all using the PIC 18F2550. The devices all connects to the PC via USB.
Toggle ...
Toggle ...
- Thu Apr 14, 2011 8:42 pm
- Forum: Flowcode V4
- Topic: PIC 18F2550 - USB Slave Demo in VB6
- Replies: 0
- Views: 2679
PIC 18F2550 - USB Slave Demo in VB6
For those interested, here is a working copy of a PIC 18F2550 using the USB Slave component.
It is a simple General Purpose Input & Output circuit, consisting of the following:
8 x Digital Outputs
6 x Digital Inputs
4 x 10-Bit Analog Inputs
1 x Status LED
The device is set up to transfer 10 bytes ...
It is a simple General Purpose Input & Output circuit, consisting of the following:
8 x Digital Outputs
6 x Digital Inputs
4 x 10-Bit Analog Inputs
1 x Status LED
The device is set up to transfer 10 bytes ...
- Wed Apr 13, 2011 8:20 pm
- Forum: Flowcode V4
- Topic: USB Serial - Receiving '&hFF' in Flowcode 4
- Replies: 5
- Views: 5310
Re: USB Serial - Receiving '&hFF' in Flowcode 4
Hi Benj
Just to report back. I have tested the USB Serial with the new code, and it works great.
Just to report back. I have tested the USB Serial with the new code, and it works great.
- Wed Apr 13, 2011 4:18 pm
- Forum: Flowcode V4
- Topic: USB Serial - Receiving '&hFF' in Flowcode 4
- Replies: 5
- Views: 5310
Re: USB Serial - Receiving '&hFF' in Flowcode 4
Thank you very much for your fast responce, and the solution to my problem. I really appreciate it. I just love the USB components, and have tried every one of them with great success in Visual Basic 6.
I have tried another work-around, using Timer2. Start timer before checking for received data ...
I have tried another work-around, using Timer2. Start timer before checking for received data ...
- Tue Apr 12, 2011 9:02 pm
- Forum: Flowcode V4
- Topic: USB Serial - Receiving '&hFF' in Flowcode 4
- Replies: 5
- Views: 5310
USB Serial - Receiving '&hFF' in Flowcode 4
Hi
I have build some industrial devices over the past years, and they all made use of PIC 16F876, with standard RS232 comms to the PC software running at 19200 baud. The software was created in Visual Basic 3 & 5. Devices are used in the plant, and are connected to a laptop PC. The sofware comms is ...
I have build some industrial devices over the past years, and they all made use of PIC 16F876, with standard RS232 comms to the PC software running at 19200 baud. The software was created in Visual Basic 3 & 5. Devices are used in the plant, and are connected to a laptop PC. The sofware comms is ...