From cce3f196f8ffee5d014320f7363d4555253cfeb0 Mon Sep 17 00:00:00 2001 From: Erik Auerswald Date: Sun, 11 Jul 2021 17:56:42 +0200 Subject: [PATCH] defines.h: add commented out three segment N While I know of seven segment displays that use _ | | as 'N', ssocr detects the size of the individual seven segment displays and thus always sees this as _ | | | | unless the digit boundary detection fails. This commit is intended as a reminder for me that I have already thought about this issue. --- defines.h | 1 + 1 file changed, 1 insertion(+) diff --git a/defines.h b/defines.h index c42c1b0..b2dbccf 100644 --- a/defines.h +++ b/defines.h @@ -87,6 +87,7 @@ #define D_R (D_ZERO & ~(VERT_RIGHT_DOWN | HORIZ_DOWN)) #define D_P (D_HEX_F | VERT_RIGHT_UP) #define D_N (D_ZERO & ~HORIZ_DOWN) +/* an N in the lower half can only happen when digit boundary detection fails *//* define D_LOW_N (VERT_LEFT_DOWN | VERT_RIGHT_DOWN | HORIZ_MID) */ #define D_UNKNOWN 0 #define NUMBER_OF_DIGITS 6 /* in this special case */