Hi all, I have found this code to convert a bus into its decimal representation, which is quite useful: RE: Convert Digital Bus to an Integer value - Calculator Viva However it misses the option to take the bus as a thermometric code, Andrew Beckett if you had the bandwidth, would it be possible to update the script accordingly? What could also be useful would be (with lower priority than the previous thermometric feature) to have a function which re-converts this digital decimal output into an analog voltage (maybe with a scaling factor). This would allow some useful data processing (e.g. and ADC input voltage minus its digital output code). In case you had the bandwidth to update it it would be greatly appreciated. BR
↧