Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void COM::FormatCapacitierPerSlotAndSend() {
- for (uint32_t nCapacityBit = 0; nCapacityBit < TOTAL_CAPACITIES; nCapacityBit++) {
- m_cUART.Write('\n');
- FormatLongAndSend(nCapacityBit);
- for (volatile uint32_t nSlot = 1; nSlot <= NUM_SLOTS; nSlot++) {
- if (m_anSlotListPerCapacity[nCapacityBit] & (uint32_t)(1UL << nSlot)) {
- m_cUART.Write('X');
- }
- else {
- m_cUART.Write('.');
- }
- }
- }
- m_cUART.Write('\n');
- }
Advertisement
Add Comment
Please, Sign In to add comment