User manual

To check that the values have been transferred correctly, we can
see a checksum at the end of the transfer that is made up of a
fixed number and the XOR-formation of this, as well as the two
bytes.
001 crc = 170^highbyte^lowbyte
002 Serial.write(crc)
Info
The program also works without PC-program and can be used as
a stand-alone volt meter.
Example code: VOLTMETER
001 // Integrating LCD-Library
002 #include <LiquidCrystal.h>
003
004 // Specifying LCD pins
005 // RS, E, D4, D5, D6, D7
006 LiquidCrystal lcd(11, 10, 2, 3, 4, 5);
007
008 #define LCD_LENGHT 16.0
009 #define ADC_CHANNEL 0
010
011 const int numReadings = 20;
012 unsigned int readings[numReadings];
013 int index = 0;
014 unsigned int total = 0;
015
016 byte MyChar0[8] = {
017 B00000,
018 B00000,
019 B00000,
020 B00000,
021 B00000,
022 B00000,
023 B00000,
024 B00000,
025 };
026
027 byte MyChar1[8] = {
028 B10000,
029 B10000,
030 B10000,