adds code


This video is a follow on video. In the previous video we looked at working with node and node-red buffers and working on text data. https://youtu.be/830xM4nRaxs In this video we look at working with Integers and floats. When working with machines you will often be required to send and receive integer and float data. How exactly that data is represented will depend on the machine but the process of encoding and decoding in node red is the same. As an example a machine may use 4 bytes of data to represent an Integer whereas another machine will use 2 bytes. When working with low level data we use the node buffer object and a collection of methods associated with it. You can find a list of methods here. https://www.w3schools.com/nodejs/ref_buffer.asp Tutorial On Site http://www.steves-internet-guide.com/understanding-buffers-node-red/ Flow used in video http://www.steves-internet-guide.com/downloads Related videos Using Status Information and The Node-Red Status Node https://youtu.be/HnX_vpRLW5A Beginners Guide to Node Red Inject and Debug Nodes https://youtu.be/jWjyIz4Jz58 Using the Node Red Change Node-Beginners Guide https://youtu.be/PbEoHxFOdmE Have a question Use the comments or if you want help then use http://www.steves-internet-guide.com/ask-steve/ If you find these videos useful then you might want to consider buying me a coffee https://www.paypal.me/StepenCope
Previous Post Next Post