Thanks a lot.
I tried to compile with one soft and on hard I2C but without any success.
For the power supply, i will use a LM2678
Search found 65 matches
- Mon Oct 05, 2009 1:31 pm
- Forum: Programming Tips & Tricks
- Topic: I/O expansion
- Replies: 37
- Views: 56782
- Mon Oct 05, 2009 8:40 am
- Forum: Programming Tips & Tricks
- Topic: I/O expansion
- Replies: 37
- Views: 56782
Re: I/O expansion
Hello,
Do you think it's possible to address more than 8 MCP23S17 if I play with the CS pin.
I need 12 MCP23017 or MCP23S17.
Thank you for your help !
Do you think it's possible to address more than 8 MCP23S17 if I play with the CS pin.
I need 12 MCP23017 or MCP23S17.
Thank you for your help !
- Mon Oct 05, 2009 7:56 am
- Forum: Components (Comms)
- Topic: I2C hardware + I2C software on the same chip
- Replies: 1
- Views: 6510
I2C hardware + I2C software on the same chip
Hello !
Is it possible to have one I2C hard AND one I2C soft on the same chip ? I tried but without any success.
I'm working on a port expander but I need more than 8 MCP23017 ( 12 exactly ).
(I will use 18F6527 or 8527).
Thank you for your help !
Is it possible to have one I2C hard AND one I2C soft on the same chip ? I tried but without any success.
I'm working on a port expander but I need more than 8 MCP23017 ( 12 exactly ).
(I will use 18F6527 or 8527).
Thank you for your help !
- Thu Oct 01, 2009 4:16 pm
- Forum: Flowcode V2 & V3
- Topic: Rally Computer
- Replies: 28
- Views: 23240
Re: Rally Computer
Hello, I try your code with my own GLCD. The CS1, CS2 and Co are connected to the PORTF so I modded your code but my GLCD had a RESET PIN connected to F5 and even if I set this PIN in Flowcode, the F5 PI stay clear and the GLCD doesn't start. If i put a pull up resistor on F5, it works but I need to...
- Thu Sep 17, 2009 12:26 pm
- Forum: Flowcode V2 & V3
- Topic: ECIO and bootloader
- Replies: 2
- Views: 2970
ECIO and bootloader
Hello !
I have one ECIO40P and it works very well.
I would like to know if it's possible to have the same bootloader ( 18F4455 ) because it would be great for my application to program directly by the usb port.
Thank you so much !
I have one ECIO40P and it works very well.
I would like to know if it's possible to have the same bootloader ( 18F4455 ) because it would be great for my application to program directly by the usb port.
Thank you so much !
- Mon May 25, 2009 7:14 pm
- Forum: General / Misc
- Topic: 4 motor control
- Replies: 2
- Views: 3535
Re: 4 motor control
Hello !
You can use the 18F4431 who have more than 2 PWM and use c code or you can make a macro interupt who simulate pwm in software.
You can use the 18F4431 who have more than 2 PWM and use c code or you can make a macro interupt who simulate pwm in software.
- Tue May 12, 2009 9:28 am
- Forum: Components (Comms)
- Topic: How to receive data on two UART at the same time ?
- Replies: 1
- Views: 3196
How to receive data on two UART at the same time ?
Hi everybody, For exemple, I have a 18F6622 with two hard UART. I have two other cards who send 10 bytes at 19200 bauds and I would like to receive it. The problem is that the two emitters can send data at the same time and I have to receive all bytes without lost. Is it possible with Flowcode ? I h...
- Wed Apr 29, 2009 8:51 pm
- Forum: Flowcode V4
- Topic: Flowcode V4
- Replies: 6
- Views: 6635
Re: Flowcode V4
Tomorrow ??
- Sat Apr 25, 2009 7:06 pm
- Forum: Programming Tips & Tricks
- Topic: PWM engine for a servo
- Replies: 1
- Views: 6289
Re: PWM engine for a servo
I try to use your program. It isn't finished yet but I just want to thank you for your job and your very complete post and comment
- Wed Apr 15, 2009 2:10 pm
- Forum: Bugs / Application Errors
- Topic: Pb with RS232 and 18F6390
- Replies: 1
- Views: 6298
Pb with RS232 and 18F6390
Hello ! I have a pb when I want to compile a program who implement RS232 on the 18F6390. Flowcode tells me that : C:\Documents and Settings\Mathieu\Bureau\test 18f6390\Flowcode1.c(515:10): error: unknown identifier 'rcreg' C:\Documents and Settings\Mathieu\Bureau\test 18f6390\Flowcode1.c(515:10): er...
- Wed Apr 08, 2009 2:58 pm
- Forum: Flowcode V4
- Topic: Flowcode V4
- Replies: 6
- Views: 6635
Re: Flowcode V4
Yeah ! Very good news.
Is it possible to have the new functions between V3 and V4 ?
Thank you an good luck for your new version
Is it possible to have the new functions between V3 and V4 ?
Thank you an good luck for your new version
- Thu Mar 12, 2009 12:44 pm
- Forum: Components (Comms)
- Topic: How to set nTimeout for the RS232 component ?
- Replies: 22
- Views: 22464
Re: How to set nTimeout for the RS232 component ?
Thank You Benj,
I tested and I think it's works well. I have a little problem but I think it's a problem of interupt priority.
Have a nice day !
I tested and I think it's works well. I have a little problem but I think it's a problem of interupt priority.
Have a nice day !
- Wed Mar 11, 2009 9:41 am
- Forum: Components (Comms)
- Topic: 18F8722
- Replies: 2
- Views: 3249
Re: 18F8722
Flowcode 4 will do this I think but in Flowcode V3, the only way is to add C code. You can also look the RS232 component code an create a custom component with the code moded to use the second UART.
- Tue Mar 10, 2009 5:00 pm
- Forum: Components (Comms)
- Topic: How to set nTimeout for the RS232 component ?
- Replies: 22
- Views: 22464
Re: How to set nTimeout for the RS232 component ?
In fact, I had already changed RCIF by RC1IF and RCIE by RC1IE without improvement. The error message is always here. I try to put your C code without any change. By coincidence, I added an interrupt by TIMER0 overflow ( but the associated macro is empty ) and my LED lights up but communication work...
- Tue Mar 10, 2009 12:33 pm
- Forum: Components (Comms)
- Topic: How to set nTimeout for the RS232 component ?
- Replies: 22
- Views: 22464
Re: How to set nTimeout for the RS232 component ?
In the attached file, you have my test program who doesn't work with interupt macro but works without...
- Tue Mar 10, 2009 12:30 pm
- Forum: Components (Comms)
- Topic: How to set nTimeout for the RS232 component ?
- Replies: 22
- Views: 22464
Re: How to set nTimeout for the RS232 component ?
I'm sorry but I need your help.... I try different things but I doesn't work. I test a little program who generate 2 PWM when receiving 6 bytes. Without interupt, it works well. With interup....nothing happen... I light up a led if the program enter in the interupt macro when receiving incoming byte...
- Mon Mar 09, 2009 2:45 pm
- Forum: Components (Comms)
- Topic: How to set nTimeout for the RS232 component ?
- Replies: 22
- Views: 22464
Re: How to set nTimeout for the RS232 component ?
I try your interupt code but it doesn't work. I don't understand very well interupt yet so I think i make something wrong.
Is it possible to have an example receiving more than one octet ? ( In my program, I have to receive 14 octets )
Thank you so muh !
Is it possible to have an example receiving more than one octet ? ( In my program, I have to receive 14 octets )
Thank you so muh !
- Fri Feb 27, 2009 2:25 pm
- Forum: Components (Comms)
- Topic: How to set nTimeout for the RS232 component ?
- Replies: 22
- Views: 22464
Re: How to set nTimeout for the RS232 component ?
Thank you Benj !
My clock speed is 40 Mhz but I think i put the good setting for spbrg because I look into a .C generated by flowcode when using 19200 or 38400 baudrate. Do you think its possible to set different baudrate on the same UART ?
My clock speed is 40 Mhz but I think i put the good setting for spbrg because I look into a .C generated by flowcode when using 19200 or 38400 baudrate. Do you think its possible to set different baudrate on the same UART ?
- Fri Feb 27, 2009 11:27 am
- Forum: Components (Comms)
- Topic: How to set nTimeout for the RS232 component ?
- Replies: 22
- Views: 22464
Re: How to set nTimeout for the RS232 component ?
Im using 18F6627.
An other thing : I have to switch between two RS232 baudrate. 38400 for Rx data and 19200 for Tx. I just put a C icon with spbrg and I put 64 for 38400 and 129 for 19200. Rx works well but 19200 doesn't.
Any ideas ?
An other thing : I have to switch between two RS232 baudrate. 38400 for Rx data and 19200 for Tx. I just put a C icon with spbrg and I put 64 for 38400 and 129 for 19200. Rx works well but 19200 doesn't.
Any ideas ?
- Thu Feb 26, 2009 8:46 pm
- Forum: Components (Comms)
- Topic: How to set nTimeout for the RS232 component ?
- Replies: 22
- Views: 22464
Re: How to set nTimeout for the RS232 component ?
Thank you very much for your (full) answer ! In fact, I receive data from anyone but time to time I lose bytes. I can better estimate the nTimeout value now. Interruption is very interesting! I got the latest Flowcode release but I don't have that option in the interruption icon. It must be a user i...
- Wed Feb 25, 2009 7:00 pm
- Forum: Components (Comms)
- Topic: How to set nTimeout for the RS232 component ?
- Replies: 22
- Views: 22464
Re: How to set nTimeout for the RS232 component ?
Hello,
I have an other question about nTimeout. For exemple, if i set 20, how many time the PIC wait fo an incoming data ?
Thank you!
I have an other question about nTimeout. For exemple, if i set 20, how many time the PIC wait fo an incoming data ?
Thank you!
- Mon Feb 23, 2009 10:01 pm
- Forum: General / Misc
- Topic: Questions about the Flowcode evolutions...
- Replies: 10
- Views: 7582
Re: Questions about the Flowcode evolutions...
Hello !
An other question for you....
Will the Flowcode v4 exist also for the AVR and ARM versions?
An other question for you....
Will the Flowcode v4 exist also for the AVR and ARM versions?
- Wed Feb 18, 2009 3:46 pm
- Forum: Bugs / Application Errors
- Topic: Problem with Flowcode 3.6.11 and LCD component.
- Replies: 3
- Views: 7638
Re: Problem with Flowcode 3.6.11 and LCD component.
Thank you Benj,
As I had no bug with the LCD with the old version, I just copy the old files. I will try your tip later.
Thank you again !
As I had no bug with the LCD with the old version, I just copy the old files. I will try your tip later.
Thank you again !
- Thu Feb 12, 2009 2:30 pm
- Forum: Bugs / Application Errors
- Topic: Problem with Flowcode 3.6.11 and LCD component.
- Replies: 3
- Views: 7638
Problem with Flowcode 3.6.11 and LCD component.
Hello ! I had a program that worked well with the old version of Flowcode (3.4.7) but with the latest version, my characters are shifted on my LCD screen (the simulation works well but it doesn't in the real life). Recompiling the program with my older version and my program works again. What's the ...
- Wed Feb 11, 2009 1:44 pm
- Forum: Components (Other)
- Topic: Why the duty cycle change when I just want to change period
- Replies: 3
- Views: 6074
Re: Why the duty cycle change when I just want to change period
Hello ! I have an other question.... I use a joystick which gives me a variable between 0 and 255 and setup my PWM duty cycle. What I want is add a trimmer which setup my PWM frequency without make any change on my PWM duty cycle. I don't understand how PWM works, all my tests change my PWM frequenc...