Who can code in Arduino to split a string into multiple arrays and after that loop through array and split in N (nummer) and P (character)
input string= 100g,40b,100g,1400f,100g,2200c,100g,1400e,100g,400i,
output should be
array(0)=100g
array(1)=40b
array(2)=40b
etc
after that I want to loop through arrays and split that value in
n=number in the array value and p=character from the array value
So the result will be
N=100 and p=g
N=40 and p=b
I need to value P to choose which stepper motor needs to move to which position (N value)
Hello.
I can make that code in one day.
I will provide a function that returns you next values for the sequence.
If the motors moving one-by-one (not paralllel) You will need to check if a movement is already done. If you can add a parameter for a timing - it can be executed simultaneously (that needs to be discussed)
Hello, I'm interested in your project. I have a couple of questions:
Do you only need to do the parsing/splitting of the string? or Do you need also the code to move the motors?
Let me know the answer, I think I can do it.
Thanks
Hi, I am a professional electrical engineer. I am an expert in designing and simulating systems and writing arduino codes I also have the hardware to test and confirm working code. You can see some of my work in my portfolio about the subject and the opinion of people I worked with in my reviews
Thanks
Hi,
I am an electronic engineer with good knowledge working with programming and Arduino. I am proficient in languages such as C, C++, Java, Python and with a really good knowledge in mathematics and algorithms.
I am complete this project using efficient algorithms for the required task.
Regards,
Dilina.
I'm an Electrical Engineer with food experience in Arduino and NodeMCU programming, sensors interfacing, debugging and troubleshooting. Recently, I had done interfacing of sensors with Arduino, serial communication with NodeMCU using UART and sensors data communication to Web APP. I can do this for you with ease and efficiently. We can discuss further details over chat. Looking for your positive response.
Regards,
Abdul Hannan
Sir,
I'm an electrical engineer with huge knowledge and experience of micro controllers. I can provide you with required code. Please leave a response to discuss further.
Hi,
We can solve this problem building to different functions;
1- String2array ( )
2-Split( )
We can define if you wish the best way to interact with this functions, according to the rest of your code.
Question: Is the size of the input string definite?
Best Regards.
I have experience working with Arduino projects and have qualifoed from tier 1 institute in India
Relevant Skills and Experience
Course done in embedded programming