Hi Ben
I saw how comfortable the comport from the App Developer is. Sending receiving byte array looks great.
Is it possible to have the same in the Embedded for the uart. So that it match together.
regards
Stefan
App Developer comport vs uart
-
- Valued Contributor
- Posts: 757
- http://meble-kuchenne.info.pl
- Joined: Wed Dec 02, 2020 10:53 am
- Has thanked: 149 times
- Been thanked: 171 times
-
- Matrix Staff
- Posts: 1738
- Joined: Mon Dec 07, 2020 10:06 am
- Has thanked: 439 times
- Been thanked: 603 times
Re: App Developer comport vs uart
Hi Stefan,
Yes good suggestion I have now upgraded the UART component for you with a few more hopefully useful functions.
It can now send and receive: strings, arrays, ASCII decimal, ASCII hexadecimal, ASCII float, 8-Bit Binary, 16-Bit Binary, 32-Bit Binary and 32-Bit Floating point Binary.
I'll see if I can add the additional functions to the COM port component as well as they should hopefully prove quite useful.
I'll hopefully get them both on the update system for you later tonight.
Yes good suggestion I have now upgraded the UART component for you with a few more hopefully useful functions.
It can now send and receive: strings, arrays, ASCII decimal, ASCII hexadecimal, ASCII float, 8-Bit Binary, 16-Bit Binary, 32-Bit Binary and 32-Bit Floating point Binary.
I'll see if I can add the additional functions to the COM port component as well as they should hopefully prove quite useful.
I'll hopefully get them both on the update system for you later tonight.
Regards Ben Rowland - MatrixTSL
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
-
- Valued Contributor
- Posts: 757
- Joined: Wed Dec 02, 2020 10:53 am
- Has thanked: 149 times
- Been thanked: 171 times
Re: App Developer comport vs uart
Hi Ben
Very good thank you.
I like it a lot.
Only my PIC32 doesn't like that.
As soon as I slide the uart into the 2D panel, I get an error.
But in the App Developper it seems to work.
A question about the ByteArray. Is that only possible with bytes or can I also use an array with an integer? somehow?
regards
Stefan
Very good thank you.
I like it a lot.
Only my PIC32 doesn't like that.
As soon as I slide the uart into the 2D panel, I get an error.
But in the App Developper it seems to work.
A question about the ByteArray. Is that only possible with bytes or can I also use an array with an integer? somehow?
regards
Stefan
-
- Valued Contributor
- Posts: 757
- Joined: Wed Dec 02, 2020 10:53 am
- Has thanked: 149 times
- Been thanked: 171 times
Re: App Developer comport vs uart
Hi Ben
There is a small problem now with the uart in all my program (also in the ESP32). I cant compile anymore.
So I have looked to undo the last update, but there I saw for the cal_uart is not a lower version number available.
For the comport there is a lower number available but comport version is working anyway.
regards
Stefan
There is a small problem now with the uart in all my program (also in the ESP32). I cant compile anymore.
So I have looked to undo the last update, but there I saw for the cal_uart is not a lower version number available.
For the comport there is a lower number available but comport version is working anyway.
regards
Stefan
-
- Matrix Staff
- Posts: 1738
- Joined: Mon Dec 07, 2020 10:06 am
- Has thanked: 439 times
- Been thanked: 603 times
Re: App Developer comport vs uart
Thanks Stefan,
Should be fixed now.
Should be fixed now.
Regards Ben Rowland - MatrixTSL
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
-
- Valued Contributor
- Posts: 757
- Joined: Wed Dec 02, 2020 10:53 am
- Has thanked: 149 times
- Been thanked: 171 times
Re: App Developer comport vs uart
Hi Ben
Yes perfect, It's working.
A question about the ByteArray.
From the hardware I have data as 8 channel in Integer (16-Bit Binary) and send it by bluetooth
and receive it in APP Developer. I prefer to send it in a block 512Byte every 100mSec
The good thing is in APP Developer I know there are 512byte to receive and I can wait for all.
At the moment I divide the the 16Bit in two 8 bit byte and in the APP Developer I do the opposite.
Is that the right way or can I also use an array with a 16 bit integer? somehow?
regards
Stefan
Yes perfect, It's working.
A question about the ByteArray.
From the hardware I have data as 8 channel in Integer (16-Bit Binary) and send it by bluetooth
and receive it in APP Developer. I prefer to send it in a block 512Byte every 100mSec
The good thing is in APP Developer I know there are 512byte to receive and I can wait for all.
At the moment I divide the the 16Bit in two 8 bit byte and in the APP Developer I do the opposite.
Is that the right way or can I also use an array with a 16 bit integer? somehow?
regards
Stefan
-
- Matrix Staff
- Posts: 1738
- Joined: Mon Dec 07, 2020 10:06 am
- Has thanked: 439 times
- Been thanked: 603 times
Re: App Developer comport vs uart
Hi Stefan,
The array functions currently ony work with 8-bit, I could add a 16-bit version too if that would help
The array functions currently ony work with 8-bit, I could add a 16-bit version too if that would help
Regards Ben Rowland - MatrixTSL
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
-
- Matrix Staff
- Posts: 1738
- Joined: Mon Dec 07, 2020 10:06 am
- Has thanked: 439 times
- Been thanked: 603 times
Re: App Developer comport vs uart
Hello,
I've added functions now for 16-bit array support in the UART and Com Port components. Let me know if any more would be useful, e.g. Long or Float.
I've added functions now for 16-bit array support in the UART and Com Port components. Let me know if any more would be useful, e.g. Long or Float.
Regards Ben Rowland - MatrixTSL
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
-
- Valued Contributor
- Posts: 757
- Joined: Wed Dec 02, 2020 10:53 am
- Has thanked: 149 times
- Been thanked: 171 times
Re: App Developer comport vs uart
Hi Ben
It looks very good. Thank you.
To send/receive long can be helpful.
With float maybe less.
For the PIC32 and App Developer it's perfect now!
Unfortunately with the fantastic ESP32, bluetooth isn't over the UART. It is made with a component Blue_SPP_ESP. If an upgrade were also possible there.
regards
Stefan
It looks very good. Thank you.
To send/receive long can be helpful.
With float maybe less.
For the PIC32 and App Developer it's perfect now!
Unfortunately with the fantastic ESP32, bluetooth isn't over the UART. It is made with a component Blue_SPP_ESP. If an upgrade were also possible there.
regards
Stefan