Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
I have been trawling through the net... It appears that the TCL library IS the fault.... However the only fixes on the net are for linux based builds.
I have been trying to find the location of the library so I can send you a copy of mine... you could then delete it and replace it with a working one.
If you want to help find it, all the info is on wiki..https://en.wikipedia.org/wiki/Tcllib... Its somewhere on your computer and its corrupt..
Just on a side note..
if you go to "Documents and settings\ian\mcu8051ide\" (obviously it won't be "ian" on your computer)
There are three configuration files... try deleting these three files
; Interface a numeric keypad to PORT 1 and display the entered decimal digits
; ,1-9, on a 7-segment display connected to PORT 2
org 0x0
Repeat:
mov P1, #0x0FF ;Port 1 is not an input port
mov A, P1 ;the contents of P1 are moved into A
CJNE A, #1, DigitIz2 ;if A=1, then this would mean entered digit was "1"
mov P1, #1 ;this will diplay "1" on 7-segment display
SJMP Repeat ;execution of the program repeats
DigitIz2:
CJNE A, #2, DigitIz3
mov P1, #2
SJMP Repeat
DigitIz3:
CJNE A, #3, DigitIz4
mov P1, #3
SJMP Repeat
DigitIz4:
CJNE A, #4, DigitIz5
mov P1, #4
SJMP Repeat
DigitIz5:
CJNE A, #5, DigitIz6
mov P1, #5
SJMP Repeat
DigitIz6:
CJNE A, #6, DigitIz7
mov P1, #6
SJMP Repeat
DigitIz7:
CJNE A, #7, DigitIz8
mov P1, #7
SJMP Repeat
DigitIz8:
CJNE A, #8, DigitIz9
mov P1, #8
SJMP Repeat
DigitIz9:
CJNE A, #9, DigitIz0 ;here digit "0" stands for an error
mov P1, #9
SJMP Repeat
DigitIz0:
mov P1, #0
SJMP Repeat
end
; Interface a numeric keypad to PORT 0 and display the entered decimal digits
; ,1-9, on a 7-segment display connected to PORT 1
org 0x0
Repeat:
mov P0, #0x0FF ;Port 1 is not an input port
mov A, P1 ;the contents of P1 are moved into A
CJNE A, #1, DigitIz2 ;if A=1, then this would mean entered digit was "1"
mov P1, #1 ;this will diplay "1" on 7-segment display
SJMP Repeat ;execution of the program repeats
DigitIz2:
CJNE A, #2, DigitIz3
mov P1, #2
SJMP Repeat
DigitIz3:
CJNE A, #3, DigitIz4
mov P1, #3
SJMP Repeat
DigitIz4:
CJNE A, #4, DigitIz5
mov P1, #4
SJMP Repeat
DigitIz5:
CJNE A, #5, DigitIz6
mov P1, #5
SJMP Repeat
DigitIz6:
CJNE A, #6, DigitIz7
mov P1, #6
SJMP Repeat
DigitIz7:
CJNE A, #7, DigitIz8
mov P1, #7
SJMP Repeat
DigitIz8:
CJNE A, #8, DigitIz9
mov P1, #8
SJMP Repeat
DigitIz9:
CJNE A, #9, DigitIz0 ;here digit "0" stands for an error
mov P1, #9
SJMP Repeat
DigitIz0:
mov P1, #0
SJMP Repeat
end