<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[CANNY logic forum — 16 bit to 8 bit]]></title>
	<link rel="self" href="https://forum.cannylogic.com/extern.php?action=feed&amp;tid=73&amp;type=atom" />
	<updated>2023-09-08T09:24:48Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.cannylogic.com/viewtopic.php?id=73</id>
		<entry>
			<title type="html"><![CDATA[Re: 16 bit to 8 bit]]></title>
			<link rel="alternate" href="https://forum.cannylogic.com/viewtopic.php?pid=1036#p1036" />
			<content type="html"><![CDATA[<p>For linear scaling input range 0..65535 to output range 0..255 you can:<br /></p><ul><li><p>divide the input value by 256: <a href="https://cannylogic.com/docs/fbd/arithmetic_operations/divide/" target="_blank">https://cannylogic.com/docs/fbd/arithme … ns/divide/</a> </p></li><li><p>or use bitwise right shift to 8 bit: <a href="https://cannylogic.com/docs/fbd/bitwise_operations/right_shift/" target="_blank">https://cannylogic.com/docs/fbd/bitwise … ght_shift/</a> </p></li><li><p>or use linear interpolation from one range to another: <a href="https://cannylogic.com/docs/fbd/converters/map/" target="_blank">https://cannylogic.com/docs/fbd/converters/map/</a> </p></li></ul>]]></content>
			<author>
				<name><![CDATA[Konstantin, CANNY logic]]></name>
				<uri>https://forum.cannylogic.com/profile.php?id=2</uri>
			</author>
			<updated>2023-09-08T09:24:48Z</updated>
			<id>https://forum.cannylogic.com/viewtopic.php?pid=1036#p1036</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: 16 bit to 8 bit]]></title>
			<link rel="alternate" href="https://forum.cannylogic.com/viewtopic.php?pid=1035#p1035" />
			<content type="html"><![CDATA[<p>hi what i need is my ecu send 2 byte of data 0 to 65535 for engine temp <br />but my gauge read&nbsp; 1byte&nbsp; 0 to 255</p>]]></content>
			<author>
				<name><![CDATA[Abdo28]]></name>
				<uri>https://forum.cannylogic.com/profile.php?id=310</uri>
			</author>
			<updated>2023-09-08T00:38:08Z</updated>
			<id>https://forum.cannylogic.com/viewtopic.php?pid=1035#p1035</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: 16 bit to 8 bit]]></title>
			<link rel="alternate" href="https://forum.cannylogic.com/viewtopic.php?pid=1032#p1032" />
			<content type="html"><![CDATA[<p>It&#039;s not entirely clear from the diagram what exactly you want to do. Your data reception is wrong. An example of the reception can be found here: <a href="https://cannylogic.com/docs/c72duo/can/#sec--c72duo-can-receive_example-ex_1" target="_blank">https://cannylogic.com/docs/c72duo/can/ … ample-ex_1</a></p><p>In particular, the meaning of this fragment is not clear:</p>]]></content>
			<author>
				<name><![CDATA[Konstantin, CANNY logic]]></name>
				<uri>https://forum.cannylogic.com/profile.php?id=2</uri>
			</author>
			<updated>2023-09-06T15:23:14Z</updated>
			<id>https://forum.cannylogic.com/viewtopic.php?pid=1032#p1032</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: 16 bit to 8 bit]]></title>
			<link rel="alternate" href="https://forum.cannylogic.com/viewtopic.php?pid=1028#p1028" />
			<content type="html"><![CDATA[<p>the setup i am working on buffer 2 is engine temp</p>]]></content>
			<author>
				<name><![CDATA[Abdo28]]></name>
				<uri>https://forum.cannylogic.com/profile.php?id=310</uri>
			</author>
			<updated>2023-07-18T15:41:07Z</updated>
			<id>https://forum.cannylogic.com/viewtopic.php?pid=1028#p1028</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: 16 bit to 8 bit]]></title>
			<link rel="alternate" href="https://forum.cannylogic.com/viewtopic.php?pid=1027#p1027" />
			<content type="html"><![CDATA[<p>this is the setup i am working on buffer 2 is engine temp</p>]]></content>
			<author>
				<name><![CDATA[Abdo28]]></name>
				<uri>https://forum.cannylogic.com/profile.php?id=310</uri>
			</author>
			<updated>2023-07-18T15:39:20Z</updated>
			<id>https://forum.cannylogic.com/viewtopic.php?pid=1027#p1027</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: 16 bit to 8 bit]]></title>
			<link rel="alternate" href="https://forum.cannylogic.com/viewtopic.php?pid=1026#p1026" />
			<content type="html"><![CDATA[<p>divider</p>]]></content>
			<author>
				<name><![CDATA[Abdo28]]></name>
				<uri>https://forum.cannylogic.com/profile.php?id=310</uri>
			</author>
			<updated>2023-07-18T15:24:21Z</updated>
			<id>https://forum.cannylogic.com/viewtopic.php?pid=1026#p1026</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: 16 bit to 8 bit]]></title>
			<link rel="alternate" href="https://forum.cannylogic.com/viewtopic.php?pid=1025#p1025" />
			<content type="html"><![CDATA[<p>What is the mathematical expression for the transformation you want to perform?</p>]]></content>
			<author>
				<name><![CDATA[Konstantin, CANNY logic]]></name>
				<uri>https://forum.cannylogic.com/profile.php?id=2</uri>
			</author>
			<updated>2023-07-17T12:44:53Z</updated>
			<id>https://forum.cannylogic.com/viewtopic.php?pid=1025#p1025</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[16 bit to 8 bit]]></title>
			<link rel="alternate" href="https://forum.cannylogic.com/viewtopic.php?pid=1024#p1024" />
			<content type="html"><![CDATA[<p>hi how can i covert 16 bit to 8 bit i got canny7.2 my ecu transmit 16 bit engine temp but my gauge cluster need to recive<br />8 bit how can i do it can you&nbsp; show me example</p>]]></content>
			<author>
				<name><![CDATA[Abdo28]]></name>
				<uri>https://forum.cannylogic.com/profile.php?id=310</uri>
			</author>
			<updated>2023-07-15T19:06:31Z</updated>
			<id>https://forum.cannylogic.com/viewtopic.php?pid=1024#p1024</id>
		</entry>
</feed>
