I found some C code that helped with the transition. When I get everything running I'll post it. I was able to translate the 42480000 to 84480000 but I'm still getting nothing out of the ftoia call. The value of aint is the same before and after. I looked through the include files and the best I can tell is aint should be the variable being changed.
aint = S_RateL 'copy over
serout2 portc.6,newbaud,["hex value = ", hex8 aint]
gosub ftoia
serout2 portc.6,newbaud,["after conversion hex value = ", hex8 aint]
Bookmarks