Using the seven segment display driver is rather simple: You can display hex numbers from ´0x0´ to ´0xF´ by writing the corresponding **ASCII character** (*not* the raw number!) into the character device file located in ´/dev/sevenseg´. Example usage:
Using the seven segment display driver is rather simple: You can display hex numbers from `0x0` to `0xF` by writing the corresponding **ASCII character** (*not* the raw number!) into the character device file located in `/dev/sevenseg`. Example usage:
´´´bash
```bash
root@raspberrypi:~# echo 3 > /dev/sevenseg
´´´
```
This command makes the display show the number `3`, as you most probably figured out already. If you want to ensure everything is working fine, you can execute the test script included in the project's root directory:
```bash
root@raspberrypi:~/SevenSegController# chmod +x test.sh # Has to be made executeable first