Dear Matrix,
I have problem in interface between all code bugg with my C# code. I have debug my code successfully and never see the result in LCD display on All code bugg. Please support me to run the code in all code bugg.
Thanks ad Regads,
Gideon.
Coding sending to hardware issues
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: Coding sending to hardware issues
Hi Gideon,
Can you attach your C# program so we can have a look for you, you might need to zip the files up into a .zip or .rar archive.
Also have you tried the C# examples on our website and are they working as expected?
Can you attach your C# program so we can have a look for you, you might need to zip the files up into a .zip or .rar archive.
Also have you tried the C# examples on our website and are they working as expected?
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Re: Coding sending to hardware issues
Hello Benj,
Am using your code only from matrix website. But the issue is am not able see the output. The code is following
Formula all code is connected thru Bluetooth and outgoing port number is 24.
Am using your code only from matrix website. But the issue is am not able see the output. The code is following
Code: Select all
using System;
using System.Runtime.InteropServices;
namespace FormulaAllCode
{
class Program
{
static void Main(string[] args)
{
//Assign Port Number - Remember to change this to match your Formula AllCode port number
char PortNumber = (char) 24;
//Open Port
FA_DLL.FA_ComOpen(PortNumber);
//Send Play Note Command
FA_DLL.FA_PlayNote(PortNumber, 500, 100);
FA_DLL.FA_PlayNote(PortNumber, 100, 100);
FA_DLL.FA_PlayNote(PortNumber, 600, 100);
//Print String on LCD
FA_DLL.FA_LCDClear(PortNumber);
FA_DLL.FA_LCDPrintString(PortNumber, 19, 8, "Formula AllCode");
FA_DLL.FA_LCDPrintString(PortNumber, 34, 16, "C# Example");
//Close Port
FA_DLL.FA_ComClose(PortNumber);
}
}
}
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: Coding sending to hardware issues
Hello,
When you switch on the Formula AllCode do you get a screen saying battery level followed by a screen saying MODE = API?
If you do get this then there should be a version number at the top right of the display. What's your version number? V3 is the latest.
If you do not get this then you will need to reflash the Formula AllCode using mLoader and the latest v3 firmware available on the AllCode resources page of the website.
When you switch on the Formula AllCode do you get a screen saying battery level followed by a screen saying MODE = API?
If you do get this then there should be a version number at the top right of the display. What's your version number? V3 is the latest.
If you do not get this then you will need to reflash the Formula AllCode using mLoader and the latest v3 firmware available on the AllCode resources page of the website.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Re: Coding sending to hardware issues
Hello Benj,
Thank u for great support. I have update my formula all code as per your instruction.
Now its working in scratch successfully. And am facing more problem while install Visual studio 2015 for C# coding. Any other tool is there for C# coding instead of Visual stdio.
Thank u for great support. I have update my formula all code as per your instruction.
Now its working in scratch successfully. And am facing more problem while install Visual studio 2015 for C# coding. Any other tool is there for C# coding instead of Visual stdio.
Re: Coding sending to hardware issues
Hello Benj,
There is a problem occurs for C++ debug in formula all code. The error is attached for your reference. Kindly provide me the solution for this issue asap.
There is a problem occurs for C++ debug in formula all code. The error is attached for your reference. Kindly provide me the solution for this issue asap.
- Attachments
-
- C++Error.png
- (244.7 KiB) Downloaded 5062 times
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: Coding sending to hardware issues
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Re: Coding sending to hardware issues
Hello,
Thank you for your continuous support. I need the coding for maze, follow line and play music in formula all code using scratch and python. Can you support me???
Thank you for your continuous support. I need the coding for maze, follow line and play music in formula all code using scratch and python. Can you support me???
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: Coding sending to hardware issues
Hello,
Also remember Google is your friend and can often lead you down different avenues that you would never have thought of. For example tried and tested algorithms for line following and maze solving should be extremely numerous and well documented.
You're very welcome.Thank you for your continuous support
Yes I can help, but no I won't do the work for you. Have a go, see where you get and then come back and ask questions on the specific problems you have.I need the coding for maze, follow line and play music in formula all code using scratch and python.
Also remember Google is your friend and can often lead you down different avenues that you would never have thought of. For example tried and tested algorithms for line following and maze solving should be extremely numerous and well documented.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel