MCPcopy Create free account
hub / github.com/RobTillaart/Arduino / setDram

Method setDram

libraries/weight/weight.h:81–81  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

79 void setTroyOunce(float value = 0) { _w = value * 31.1034768; };
80 void setRobie(float value = 0) { _w = value * 10; };
81 void setDram(float value = 0) { _w = value * 1.77184519531; };
82 void setDrachme(float value = 0) { _w = value * 3.8; };
83 void setPoint(float value = 0) { _w = value * 0.002; };
84 void setGrain(float value = 0) { _w = value * 0.0647989; };

Callers 1

unittestFunction · 0.80

Calls

no outgoing calls

Tested by 1

unittestFunction · 0.64