Search found 325 matches
- Fri Feb 15, 2008 12:22 pm
- Forum: Components (Other)
- Topic: NVM and DAC
- Replies: 26
- Views: 21839
NVM and DAC
Good day all. I am trying to use the Flowcode SPI interface component and need some assistance. The microcontroller has SPI connections SDO,SDI, SCK, SS. The flowcode componet List NVM and DAC enable pins. I'm not using the eblocks so what happens to the NVM and DAC enable pins? Thanks in advance fo...
- Wed Feb 06, 2008 1:50 pm
- Forum: Flowcode V2 & V3
- Topic: Timer1
- Replies: 22
- Views: 14511
Re: Timer1
No I didn't. Thanks
Ondra
Ondra
- Tue Feb 05, 2008 5:19 pm
- Forum: Flowcode V2 & V3
- Topic: Timer1
- Replies: 22
- Views: 14511
Re: Timer1
IT WORKSSSSSS!
Thanks Ben
Thanks Ben
- Tue Feb 05, 2008 4:35 pm
- Forum: Flowcode V2 & V3
- Topic: Timer1
- Replies: 22
- Views: 14511
Re: Timer1 not working
Ok. I tried this and can't get it working. I changed the fcd file and created a small program that blinks an Led. I chose the a prescaler of 1:8 which gave me a frequence of 2400Hz. I set a variable to increment and a light to blink ever second through an "If" block. when I use the TMR0 at 1:256 (75...
- Tue Jan 29, 2008 5:09 am
- Forum: Flowcode V2 & V3
- Topic: SPI and I2C programming
- Replies: 1
- Views: 2286
SPI and I2C programming
Good day all. Can someone help me? I have an embedded modem that has an SPI an I2C and RS232 interface. I am somewhat comfortable using the RS232 interface but would like to use the SPI or I2C interface. The device uses simple AT commands to configure and control it. My question is, are there any tu...
- Tue Jan 15, 2008 5:55 pm
- Forum: Electronics products
- Topic: calculating series and pullup resistance needed
- Replies: 2
- Views: 5309
calculating series and pullup resistance needed
I would like to know if anyone can help me. I am working on a project. And I need to get the resistance values of a series and pullup resistor in three applications. In the first situation I am using a PIC microcontroller powered at 5V connected to a fairchild 2N3906 PNP transistor used to control a...
- Fri Jan 04, 2008 4:17 pm
- Forum: Flowcode V2 & V3
- Topic: Timer1
- Replies: 22
- Views: 14511
- Fri Jan 04, 2008 2:00 pm
- Forum: Flowcode V2 & V3
- Topic: Timer1
- Replies: 22
- Views: 14511
- Fri Jan 04, 2008 3:08 am
- Forum: Flowcode V2 & V3
- Topic: Timer1
- Replies: 22
- Views: 14511
- Wed Dec 12, 2007 3:31 am
- Forum: Flowcode V2 & V3
- Topic: Help Programming Ranging Sensor
- Replies: 14
- Views: 10182
Hi Benj. You were helping with this project. I was pulled off of it to work on something else. I am back on it and would like to know if you can help me complete it? Getting the C code part working is where I need help. I am using a PIC 18F258 with a 1843200Hz crystal. Could correct the C code so th...
- Fri Dec 07, 2007 4:27 am
- Forum: Flowcode V2 & V3
- Topic: Interrupts?
- Replies: 1
- Views: 2238
Interrupts?
Hi all. I am trying to use interrupts in my program.
I am confused as to, do Interrupts fire on an input of logic 1 or 0.
I can't get any consistency. I am using PIC18F258 clock speed 18432000
What am I missing.
Ondra Simons
I am confused as to, do Interrupts fire on an input of logic 1 or 0.
I can't get any consistency. I am using PIC18F258 clock speed 18432000
What am I missing.
Ondra Simons
- Tue Nov 27, 2007 5:36 am
- Forum: Electronics products
- Topic: Interfacing to, and using PCI devices.
- Replies: 1
- Views: 4224
Interfacing to, and using PCI devices.
Hi I would like to know if anyone knows what would be the process, if at all possible, required to build a PIC based module that would communicate to a PCI device. That is, using the PIC device as the Processor controlling the device. I want to control if posible a PCI modem device.
Ondra
Ondra
- Wed Oct 31, 2007 10:13 pm
- Forum: Flowcode V2 & V3
- Topic: Help Programming Ranging Sensor
- Replies: 14
- Views: 10182
Hi Ben thanks for all you help, I'm still at it. the flow of the program works fine. I have setup the system so that it prints out the data through the RS232 port. I keep getting a 0 value. I can hear the sensor clicking, I tested that all the circuits are all switching correctly but again no data. ...
- Tue Oct 30, 2007 1:51 pm
- Forum: Flowcode V2 & V3
- Topic: Help Programming Ranging Sensor
- Replies: 14
- Views: 10182
Ok just to make sure I have this right. I would create 2 macros the first with the following code: 1. turn sensor Pwr Hi 2. wait ( delay ) 10mills 3. INT on 4. C Icon containing the following:- t1con = 0x3B; //Enable timer1 with 1:8 prescaler tmr1h = 0x00; tmr1l = 0x00; The second macro would contai...
- Mon Oct 29, 2007 4:20 pm
- Forum: Flowcode V2 & V3
- Topic: Help Programming Ranging Sensor
- Replies: 14
- Views: 10182
Thanks Ben. I used a C icon and inserted the code: t1con = 0x3B; //Enable timer1 with 1:8 prescaler tmr1 = 0x00; //Initialise the timer value to 0 when I tried to compile the program I got back this response:- C:\Flocode Projects\elink10_24_07.c(2085:2): error: unknown identifier 'tmr1' C:\Flocode P...
- Thu Oct 25, 2007 4:19 pm
- Forum: Flowcode V2 & V3
- Topic: Help Programming Ranging Sensor
- Replies: 14
- Views: 10182
- Thu Oct 25, 2007 3:02 pm
- Forum: Flowcode V2 & V3
- Topic: Help Programming Ranging Sensor
- Replies: 14
- Views: 10182
- Wed Oct 24, 2007 4:18 pm
- Forum: Flowcode V2 & V3
- Topic: Help Programming Ranging Sensor
- Replies: 14
- Views: 10182
Help Programming Ranging Sensor
Good day all. I am working with a ranging sensor unit. I would like to use it but don't know where to begin. Here is the instruction on using the unit. What I don't know is how to program for this " The time between INIT going high and the Echo (ECHO) output going high is proportional to the distanc...
- Mon Oct 22, 2007 1:39 pm
- Forum: Flowcode V2 & V3
- Topic: ADC ?
- Replies: 5
- Views: 4949
- Mon Oct 22, 2007 12:36 pm
- Forum: Flowcode V2 & V3
- Topic: ADC ?
- Replies: 5
- Views: 4949
ADC ?
lam working with the ADC component. I have a device that is out-putting .460mv as read by my multimeter. When I program the PIC to sample, read and then output, the value out of the RS232 port what I get is the number 23. What should I be seeing and why am I not getting the value as measured with my...
- Thu Sep 27, 2007 4:51 pm
- Forum: Flowcode V2 & V3
- Topic: Muiltiple RS232 outputs
- Replies: 1
- Views: 2120
Muiltiple RS232 outputs
Is it possible to program using flowcode multiple RS232 outputs from a PIC device. Please explain.
- Thu Sep 27, 2007 3:41 am
- Forum: Flowcode V2 & V3
- Topic: Adding USB interface
- Replies: 1
- Views: 2179
Adding USB interface
I am working on a project and would like to add a USB interface instead of the RS232 interface I am currently using. Using Flowcode is it as straight forward as working with the RS232 interface? Are there any examples available? Thanks in advance.
Ondra
Ondra
- Mon Sep 24, 2007 3:24 pm
- Forum: Flowcode V2 & V3
- Topic: TMRO
- Replies: 7
- Views: 5547
- Mon Sep 24, 2007 2:44 pm
- Forum: Flowcode V2 & V3
- Topic: UDP over serial or Modem connection
- Replies: 16
- Views: 10392
- Fri Sep 21, 2007 10:35 am
- Forum: Flowcode V2 & V3
- Topic: TMRO
- Replies: 7
- Views: 5547
I think I found the problem. I was calling a routine that updated a variable call seconds every time the interrupt fired. I understand that I should have a separate interrupt routine counter variable. Question: Should I put a Macro call inside the interrupt routine or should I just reference the int...