Now I wanted to be able to display words of more than 4 letters on the display so a message could be displayed and the only way to do this is to scroll the display to the left with the code below 20 characters can be displayed it is demonstrated by showing from letter "A" to the letter "T" in the code below if the code for the ADC , scan I2C buss and the infra-red is removed it fits into the 8K of the normal display.
the Sub Scrolllr does this in HT1632.inc
There is code for measuring current using a ACS713 0 t 20 amps sensor with noise reduction by taking multiple samples and shifting the binary value right Note this is not the same as just dividing the addition of all the samples buy how many taken to get an average. This is necessary as the ACS current sensors have a 20mv noise present on their outputs.
Regards Paul
↧