From 52a232f1e920b87bfcb1580915af37056eb53434 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20Proch=C3=A1zka?= Date: Sun, 21 Sep 2025 10:49:39 +0200 Subject: [PATCH] Now using the correct header file with all port definitions --- example.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/example.c b/example.c index e65d92d..64f9b84 100644 --- a/example.c +++ b/example.c @@ -8,20 +8,13 @@ //********************************************************************** //********************************************************************** -#include +#include #include #include #define TICK_RATE 100 #define NPER (0x10000 - (20000000 / 12 / TICK_RATE)) -// Missing port definitions -__sbit __at (0xC4) P4_4; -__sbit __at (0xC3) P4_3; -__sbit __at (0xC2) P4_2; -__sbit __at (0xC1) P4_1; -__sbit __at (0xC0) P4_0; - // I/O definitions #define BUTTON_1 P3_2 #define BUTTON_2 P3_3