I have this string
"adc0:5
adc1:63
adc2:4095
adc3:1200
adc4:4095
adc5:4095"
the value for each adc (analog value) varies from 0 to 4095 the output is string value from a shell command , there will be a total of 400 samples , the command to generate the string is a shell command # cat /proc/adc* and the result as above mentioned, I need to write a code in b4a to convert that string to an array of 5 channels and do 400 shell command #cat /proc/adc* separated by 50milliscond and use the chart to draw the 5 channels on the chart from the saved arrays, then save arrays to a file , also an option to retrieve the arrays from a file and draw it back again on a chart. willing to pay for your help. let me know. i made a function to in b4a called readadc and get that string. I do not want u to do that part that I already done it by readying the great support from other members in this forum. please advise
"adc0:5
adc1:63
adc2:4095
adc3:1200
adc4:4095
adc5:4095"
the value for each adc (analog value) varies from 0 to 4095 the output is string value from a shell command , there will be a total of 400 samples , the command to generate the string is a shell command # cat /proc/adc* and the result as above mentioned, I need to write a code in b4a to convert that string to an array of 5 channels and do 400 shell command #cat /proc/adc* separated by 50milliscond and use the chart to draw the 5 channels on the chart from the saved arrays, then save arrays to a file , also an option to retrieve the arrays from a file and draw it back again on a chart. willing to pay for your help. let me know. i made a function to in b4a called readadc and get that string. I do not want u to do that part that I already done it by readying the great support from other members in this forum. please advise