Transition Minimized Differential Signaling のメモ

毎回調べてい気がするのでメモ #include <iostream> #include <bitset> int main() { std::bitset<8> rline[2200] = {0}; std::bitset<10> rout[2200] = {0}; //init for(int i=0;i<1920;i++) { rline[i] = 0x50; } int cnt = -2; for(int i=0;i<1920;i++) { std::cout << rline[i]; int n0 = 0; int n1 = 0; if((rline[i].count() >= 5) …</bitset></iostream>