PDA

View Full Version : snvt conversion



shawn
- 7th March 2012, 02:56
Hello,
Does anyone have any links to convert from standard hex to snvt(Standard Network Variable Types) variable types. I need to convert some temperatures in one of my pic projects which is stored as a 2 byte decimal value to a snvt_temp_p variable type. I've been searching the web but cant find any equations. For instance I need to convert 780 to 78.0 snvt_type_p but I have no clue where to start.
Thanks
Nick