fuck meaningful commit messages
[bort-panel.git] / seg.c
diff --git a/seg.c b/seg.c
old mode 100755 (executable)
new mode 100644 (file)
index 2f6867f..6f7b25f
--- a/seg.c
+++ b/seg.c
@@ -26,21 +26,21 @@ int main(int argc, char *argv[]) {
        config_pins();
        pincnt();
 
-       start();
-       byte(0x8f);
-       stop();
+//     start();
+//     byte(0x8f);
+//     stop();
 
        start();
        byte(0x40);
        stop();
        start();
-       byte(0xc0 | 0x00);
-       byte(0x00);
-       byte(0x00);
-       byte(0x00);
-       byte(0x00);
-       byte(0x00);
-       byte(0x00);
+       byte(0xc0 | 0x03);
+       byte(0xff);
+       byte(0xff);
+       byte(0xff);
+       byte(0xff);
+       byte(0xff);
+       byte(0xff);
 /*for(;;) {
        arc4random_buf(ent, 32);
        byte(ent[0]);
@@ -50,12 +50,12 @@ int main(int argc, char *argv[]) {
        usleep(DEL);
 }*/
 
-for(;;) {
+/*for(;;) {
        UP("clk");
        usleep(1);
        DOWN("clk");
        usleep(1);
-}
+}*/
 
 for(;;) {
        byte(dig(0x0c));