Hi Martin
I thank you very much, thanks to your examples I managed to keep going.
Now I have to try everything on the hardware, I hope it works like a simulation.
Greetings see you soon.
Ferla
Search found 126 matches
- Wed May 02, 2018 12:14 pm
- Forum: General Programming
- Topic: Uart Rx Byte to Variable
- Replies: 30
- Views: 13833
- Fri Apr 27, 2018 4:10 pm
- Forum: General Programming
- Topic: Uart Rx Byte to Variable
- Replies: 30
- Views: 13833
Re: Uart Rx Byte to Variable
Thank you much Martin,
you're always a great help ...people like you must be rewarded
you're always a great help ...people like you must be rewarded
- Fri Apr 27, 2018 2:54 pm
- Forum: General Programming
- Topic: Uart Rx Byte to Variable
- Replies: 30
- Views: 13833
Re: Uart Rx Byte to Variable
Hi Martin, after taking the run-up I stumbled .. I have problems with the separator. If I insert the following string "10.11.12.10" I should check the separator in order to have a correct control as for your advice and if you enter the digits centesimal, decimal or unit es. 10.11.1.1 see the simulat...
- Thu Apr 26, 2018 2:32 pm
- Forum: General Programming
- Topic: Uart Rx Byte to Variable
- Replies: 30
- Views: 13833
Re: Uart Rx Byte to Variable
Thanks a lot Martin.
My project continues...
Ferla
My project continues...
Ferla
- Mon Apr 23, 2018 6:33 pm
- Forum: General Programming
- Topic: Uart Rx Byte to Variable
- Replies: 30
- Views: 13833
Re: Uart Rx Byte to Variable
Martin rereading my last message maybe I expressed my request badly. I wanted to ask you how do I merge all the read bytes and turn them into a string?
- Mon Apr 23, 2018 12:17 pm
- Forum: General Programming
- Topic: Uart Rx Byte to Variable
- Replies: 30
- Views: 13833
Re: Uart Rx Byte to Variable
Hi Martin
your suggestion to use the separator have already been considered and I will make this change.
I can use all the bytes received to convert them to string., so I can use your example.
Thanks Ferla
your suggestion to use the separator have already been considered and I will make this change.
I can use all the bytes received to convert them to string., so I can use your example.
Thanks Ferla
- Thu Apr 19, 2018 8:40 pm
- Forum: General Programming
- Topic: Uart Rx Byte to Variable
- Replies: 30
- Views: 13833
Re: Uart Rx Byte to Variable
Hi Martin your example is close to what I wanted, even if it needs changes and adaptations, because the IP address could also be expressed in decimals like eg. 10.11.12.13 and not always in centesimals 192.168 etc, I know the calculation mul = 100 can not always be good.You will find many variables,...
- Tue Apr 17, 2018 8:23 pm
- Forum: General Programming
- Topic: Uart Rx Byte to Variable
- Replies: 30
- Views: 13833
Re: Uart Rx Byte to Variable
Hi Martin Very simple.The EB023 module has the possibility of being able to replace the IP address after being initialized, so I wanted through string UART to associate 4 groups for 3 string characters in 4 variables. I receive the string and with a loop I read every single character as byte as long...
- Mon Apr 16, 2018 8:16 pm
- Forum: General Programming
- Topic: Uart Rx Byte to Variable
- Replies: 30
- Views: 13833
Uart Rx Byte to Variable
Hello
I have a simple question and I kindly ask for help.
In a loop cycle, I receive a sequence of bytes via Uart. 192168, how do I make 192 a variable and 168 another variable?
Surely it is a trivial question but I can not find the optimal solution.
Ferla
I have a simple question and I kindly ask for help.
In a loop cycle, I receive a sequence of bytes via Uart. 192168, how do I make 192 a variable and 168 another variable?
Surely it is a trivial question but I can not find the optimal solution.
Ferla
- Wed Feb 14, 2018 8:34 am
- Forum: Flowcode V7
- Topic: UDP string rx
- Replies: 40
- Views: 17626
Re: UDP string rx
Hi Beny I solved the problem RX with UDP, but the problem remains still ECIO40P16. When I insert the EB023 socket component macro into FC7, ECIO40P16 stops working. Can you take a look? :shock: I also ask the friends of the forum Many have seen my post, but no one commented, just kind Martin. Guys, ...
- Thu Feb 08, 2018 12:26 pm
- Forum: Flowcode V7
- Topic: UDP string rx
- Replies: 40
- Views: 17626
Re: UDP string rx
Thanks, Beny
your examples have already been tried without success.
It works only when I receive, use SW SimpleCommTools http://www.simplecomtools.com/productca ... dproduct=6& ,and on other hw it works
Ferla
your examples have already been tried without success.
It works only when I receive, use SW SimpleCommTools http://www.simplecomtools.com/productca ... dproduct=6& ,and on other hw it works
Ferla
- Tue Feb 06, 2018 4:44 pm
- Forum: Flowcode V7
- Topic: UDP string rx
- Replies: 40
- Views: 17626
Re: UDP string rx
Hi Beny after so much silence, after seeing your request, my smile is back. :D - Version EB023 = EB-023-00-3 Surely it's easy for you, I try to explain: -First problem: I use ECIO40P16 I want to connect EB023 when I implement the Macro (UDP socket), because Pic stops working because? look at my proj...
- Mon Feb 05, 2018 11:31 am
- Forum: Flowcode V7
- Topic: UDP string rx
- Replies: 40
- Views: 17626
Re: UDP string rx
Hi Martin, I receive on the PC through SW Hercules, I can transmit from EB023 to PC but not receive. I've tried without success for two days. Benj you have some examples that I can view. I noticed that when I use the RxReadByte macro I see the ip inherent to the EB023 module on the EB005 display. Al...
- Fri Feb 02, 2018 12:55 pm
- Forum: Flowcode V7
- Topic: UDP string rx
- Replies: 40
- Views: 17626
Re: UDP string rx
Benj help me ....
no help, I do not want to interface to one more micro to ECIO40p16 just to handle UDP EB023. Show me the way, then walk alone ...
Thanks
Ferla
no help, I do not want to interface to one more micro to ECIO40p16 just to handle UDP EB023. Show me the way, then walk alone ...
Thanks
Ferla
- Thu Feb 01, 2018 10:30 am
- Forum: Flowcode V7
- Topic: UDP string rx
- Replies: 40
- Views: 17626
Re: UDP string rx
Martin, Thank you, but we came out of the lens. Using EB006 + pic16F1937 + EB023 I managed to send a string via UDP without problems. Here the problem seems to be another maybe because the Pic and 16bit maybe you have to intervene with C code by activating the SPI device I do not understand, I kindl...
- Wed Jan 31, 2018 6:39 pm
- Forum: Flowcode V7
- Topic: UDP string rx
- Replies: 40
- Views: 17626
Re: UDP string rx
Martin,
you would be kind to show me your Web Server test project
Thank you very much
Ferla
you would be kind to show me your Web Server test project
Thank you very much
Ferla
- Wed Jan 31, 2018 2:28 pm
- Forum: Flowcode V7
- Topic: UDP string rx
- Replies: 40
- Views: 17626
Re: UDP string rx
Martin,
I only see code C, and I lost your reasoning.
Ferla
I only see code C, and I lost your reasoning.
Ferla
- Wed Jan 31, 2018 9:24 am
- Forum: Flowcode V7
- Topic: UDP string rx
- Replies: 40
- Views: 17626
Re: UDP string rx
Hi Martin
I also noticed the same thing and I thought it was my converter TTL Max3232 that had broken then verifying it was not. Everything happened from the Pic ..
Ferla
I also noticed the same thing and I thought it was my converter TTL Max3232 that had broken then verifying it was not. Everything happened from the Pic ..
Ferla
- Tue Jan 30, 2018 4:41 pm
- Forum: Flowcode V7
- Topic: UDP string rx
- Replies: 40
- Views: 17626
Re: UDP string rx
I realized that when I create the UDP socket the Pic stops working or created a simple flashing program in Led 1 second in loop and it works until the socket component macro is created, a point the micro does not work, why? Benj and Martin can you tell me a solution? Thank you
- Tue Jan 30, 2018 3:10 pm
- Forum: Flowcode V7
- Topic: UDP string rx
- Replies: 40
- Views: 17626
Re: UDP string rx
Hi I understood with a little patience what I wanted, now I have a problem when I connect the EB023 module. I can not find the right connections in FC or better when I lock the pins in FC and program ECIO40P16 the UART port (RG6> Tx, RG7> Rx) does not work anymore. In the project I need to communica...
- Wed Jan 24, 2018 4:01 pm
- Forum: Flowcode V7
- Topic: UDP string rx
- Replies: 40
- Views: 17626
Re: UDP string rx
Hi Martin Your question is right. Unlike the animations that occur with the led strips, I must point out the position of an object on a conveyor belt. The signaling of this must occur with the lighting of a single LED on the led strip. It is possible that I have to report an object of larger size so...
- Tue Jan 23, 2018 9:06 am
- Forum: Flowcode V7
- Topic: UDP string rx
- Replies: 40
- Views: 17626
Re: UDP string rx
Hello guys I followed you behind the lines and I tried some solutions. Thanks to your help I managed to get a part of what I wanted. The project attached in the laboratory works great is simple but has required some control steps eg. check on read buffer, I did not understand why launching the comma...
- Thu Jan 18, 2018 12:46 pm
- Forum: Flowcode V7
- Topic: UDP string rx
- Replies: 40
- Views: 17626
Re: UDP string rx
Thank you Guys I thank everyone for working for me. Let's see a little .... simplify for convenience the following my striga "<A1>". So following your reasoning I find outgoing the character 1 as a decimal 49. The WS2812B component accepts to turn on the led n.1 the command in Hex then 0x01. Now I a...
- Mon Jan 15, 2018 9:12 am
- Forum: Flowcode V7
- Topic: UDP string rx
- Replies: 40
- Views: 17626
Re: UDP string rx
Hi Martin Perhaps in my tests I had done what you say. I did not use the one in the example. I have simplified my project so I can take a look. It's very simple. The part that receives the strings works perfectly. Use a strip of 300 LEDs. Where the "A" character I use to give the ignition command, "...
- Sun Jan 14, 2018 5:36 pm
- Forum: Flowcode V7
- Topic: UDP string rx
- Replies: 40
- Views: 17626
Re: UDP string rx
Hi Martin I went ahead with the development and in the simulation it worked well, once I received the hardware I noticed that when I had to make a decision this was not taken into consideration. I have done 1000 tests and several manipulations of strig, I have examined many examples but I do not und...