for(int counter1 = 0; counter1 < 24; ++counter1) { // Redraw using leftover red byte values, not yet overwritten for(int counter2 = 0 ; counter2 < 32 ; ++counter2) { arcada.display->fillRect(16 + counter2 * 4, 92 - counter1 * 4, 4, 4, colorPal[(uint16_t)pixelArray[3...
To turn on decimal points when using DIRECT mode, clear the most significant bit of the character after it is converted to segments. (This may seem counter-intuitive, but DIRECT mode sends the data as-is to the driver chip, and it expects bit 7 cleared to turn the decimal point on.):...
So, after choosing the proper 'brain' for this system, the next step was the development of its software, also to keep it simple we decided to simply use a sequential program, that does the following sequence at a frequency of 1Hz: Sensors readings > data storage > data transmission The ...
The RS-bus supports a maximum of 128 feedback addresses, numbered 1 to 128. The master polls all 128 addresses in a sequential order to ask if they have data to send. Per address 8 bits of feedback data can be send; individual feedback messages carry only 4 of these bits (a nibble...