These are chat archives for chat-rooms/programming

2nd
Oct 2016
bilaliqlhr
@bilaliqlhr
Oct 02 2016 16:05
hi any C expert
TyMobile
@TyMobileNetwork_twitter
Oct 02 2016 16:06
me
in lua and c
bilaliqlhr
@bilaliqlhr
Oct 02 2016 16:07
tymobile can we talk in person if u allow
TyMobile
@TyMobileNetwork_twitter
Oct 02 2016 16:07
depends
bilaliqlhr
@bilaliqlhr
Oct 02 2016 16:08
@TyMobileNetwork_twitter i m facing a problem i m not a geek and not a old programmer { problem is this i have incoming from serial in this format x0.99999 y0.8888 z0.9 }
i m using pic all i want is this that i get these x y z three cordinates equiped with three variables
i m thinking of array
but where i m thinking array will count it as a complet string
my compiler is mikro C pro
and its related to PIC mcu
have any idea how to handel that
TyMobile
@TyMobileNetwork_twitter
Oct 02 2016 16:11
not really
bilaliqlhr
@bilaliqlhr
Oct 02 2016 16:11
will u plz give me an example
TyMobile
@TyMobileNetwork_twitter
Oct 02 2016 16:12
wait r u trying to display them
bilaliqlhr
@bilaliqlhr
Oct 02 2016 16:12
these are G codes of CNC
three axis coardinates
in a single command
TyMobile
@TyMobileNetwork_twitter
Oct 02 2016 16:12
im not getting the question
bilaliqlhr
@bilaliqlhr
Oct 02 2016 16:12
ok let me bit explaing them
command is like that {G01 x0.999 y0.6555 z0.8}
i m getting it from uart of mcu
zh = uart_read() this command equiped zh variable with that coming command from serial port
know zh = the command data from the serial port
is there any possibility that i can bring out these x y z separately out from command as cordx cordy cordz
TyMobile
@TyMobileNetwork_twitter
Oct 02 2016 16:15
do u hav line
i may need a pic of it
bilaliqlhr
@bilaliqlhr
Oct 02 2016 16:15
what u mean by line
sample which is coming from serial port
TyMobile
@TyMobileNetwork_twitter
Oct 02 2016 16:15
the app
bilaliqlhr
@bilaliqlhr
Oct 02 2016 16:16
sorry senior not getting why u said