Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

Need help on binary clock PIC files

Status
Not open for further replies.

RK3

New Member
I am attempting to make the project described here "**broken link removed**" and it would be VERY easy if I had a PIC16F882 or PIC16F886 but I don’t have them available at the moment :( the stores in my area do have a PIC16F877 though .. But when I change the device in MPLAB to 16F877 and compile it gives me an error...

My question is... is there a way to convert or use this asm to compile a hex that can be used with the 16F877? Or does it have to be rewritten?
 
Hi,

It probably would run ok on a 16f877 with slight amendments, but it would be simpler if you just show what errors its throwing up.
Saves everyone having to duplicate what you have already done.
 
Well it gives me this long list of errors about an error 113 "Symbol not previously defined"... I would really appreciate it if someone would review the code and see what amendments need to be made in order for the code to function normally using the same ports on a PIC16F877...

Heres the list:
Error[113] C:\USERS\K3\DESKTOP\BINARY CLOCK\BINARY CLOCK\BINARY CLOCK.ASM 206 : Symbol not previously defined (STATUS)
Error[113] C:\USERS\K3\DESKTOP\BINARY CLOCK\BINARY CLOCK\BINARY CLOCK.ASM 208 : Symbol not previously defined (PCLATH)
Error[113] C:\USERS\K3\DESKTOP\BINARY CLOCK\BINARY CLOCK\BINARY CLOCK.ASM 215 : Symbol not previously defined (INTCON)
Error[113] C:\USERS\K3\DESKTOP\BINARY CLOCK\BINARY CLOCK\BINARY CLOCK.ASM 215 : Symbol not previously defined (TMR0IF)
Error[113] C:\USERS\K3\DESKTOP\BINARY CLOCK\BINARY CLOCK\BINARY CLOCK.ASM 217 : Symbol not previously defined (INTCON)
Error[113] C:\USERS\K3\DESKTOP\BINARY CLOCK\BINARY CLOCK\BINARY CLOCK.ASM 217 : Symbol not previously defined (TMR0IF)
Error[113] C:\USERS\K3\DESKTOP\BINARY CLOCK\BINARY CLOCK\BINARY CLOCK.ASM 219 : Symbol not previously defined (TMR0)
Error[113] C:\USERS\K3\DESKTOP\BINARY CLOCK\BINARY CLOCK\BINARY CLOCK.ASM 221 : Symbol not previously defined (TMR0)
Error[113] C:\USERS\K3\DESKTOP\BINARY CLOCK\BINARY CLOCK\BINARY CLOCK.ASM 224 : Symbol not previously defined (STATUS)
Error[113] C:\USERS\K3\DESKTOP\BINARY CLOCK\BINARY CLOCK\BINARY CLOCK.ASM 224 : Symbol not previously defined (Z)
Error[113] C:\USERS\K3\DESKTOP\BINARY CLOCK\BINARY CLOCK\BINARY CLOCK.ASM 230 : Symbol not previously defined (PIR1)
Error[113] C:\USERS\K3\DESKTOP\BINARY CLOCK\BINARY CLOCK\BINARY CLOCK.ASM 231 : Symbol not previously defined (PIR1)
Error[113] C:\USERS\K3\DESKTOP\BINARY CLOCK\BINARY CLOCK\BINARY CLOCK.ASM 231 : Symbol not previously defined (TMR1IF)
Error[113] C:\USERS\K3\DESKTOP\BINARY CLOCK\BINARY CLOCK\BINARY CLOCK.ASM 233 : Symbol not previously defined (PIR1)
Error[113] C:\USERS\K3\DESKTOP\BINARY CLOCK\BINARY CLOCK\BINARY CLOCK.ASM 233 : Symbol not previously defined (TMR1IF)
Error[113] C:\USERS\K3\DESKTOP\BINARY CLOCK\BINARY CLOCK\BINARY CLOCK.ASM 235 : Symbol not previously defined (TMR1H)
Error[113] C:\USERS\K3\DESKTOP\BINARY CLOCK\BINARY CLOCK\BINARY CLOCK.ASM 237 : Symbol not previously defined (TMR1H)
Error[113] C:\USERS\K3\DESKTOP\BINARY CLOCK\BINARY CLOCK\BINARY CLOCK.ASM 244 : Symbol not previously defined (STATUS)
Error[113] C:\USERS\K3\DESKTOP\BINARY CLOCK\BINARY CLOCK\BINARY CLOCK.ASM 244 : Symbol not previously defined (Z)
Error[113] C:\USERS\K3\DESKTOP\BINARY CLOCK\BINARY CLOCK\BINARY CLOCK.ASM 253 : Symbol not previously defined (STATUS)
Error[113] C:\USERS\K3\DESKTOP\BINARY CLOCK\BINARY CLOCK\BINARY CLOCK.ASM 253 : Symbol not previously defined (Z)
Error[113] C:\USERS\K3\DESKTOP\BINARY CLOCK\BINARY CLOCK\BINARY CLOCK.ASM 262 : Symbol not previously defined (STATUS)
Error[113] C:\USERS\K3\DESKTOP\BINARY CLOCK\BINARY CLOCK\BINARY CLOCK.ASM 262 : Symbol not previously defined (Z)
Error[113] C:\USERS\K3\DESKTOP\BINARY CLOCK\BINARY CLOCK\BINARY CLOCK.ASM 268 : Symbol not previously defined (INTCON)
Error[113] C:\USERS\K3\DESKTOP\BINARY CLOCK\BINARY CLOCK\BINARY CLOCK.ASM 268 : Symbol not previously defined (RBIF)
Error[113] C:\USERS\K3\DESKTOP\BINARY CLOCK\BINARY CLOCK\BINARY CLOCK.ASM 270 : Symbol not previously defined (INTCON)
Error[113] C:\USERS\K3\DESKTOP\BINARY CLOCK\BINARY CLOCK\BINARY CLOCK.ASM 270 : Symbol not previously defined (RBIF)
Error[113] C:\USERS\K3\DESKTOP\BINARY CLOCK\BINARY CLOCK\BINARY CLOCK.ASM 272 : Symbol not previously defined (PORTB)
Error[113] C:\USERS\K3\DESKTOP\BINARY CLOCK\BINARY CLOCK\BINARY CLOCK.ASM 273 : Symbol not previously defined (PORTB)
Error[113] C:\USERS\K3\DESKTOP\BINARY CLOCK\BINARY CLOCK\BINARY CLOCK.ASM 279 : Symbol not previously defined (PCLATH)
Error[113] C:\USERS\K3\DESKTOP\BINARY CLOCK\BINARY CLOCK\BINARY CLOCK.ASM 281 : Symbol not previously defined (STATUS)
Error[113] C:\USERS\K3\DESKTOP\BINARY CLOCK\BINARY CLOCK\BINARY CLOCK.ASM 299 : Symbol not previously defined (OPTION_REG)
Error[113] C:\USERS\K3\DESKTOP\BINARY CLOCK\BINARY CLOCK\BINARY CLOCK.ASM 303 : Symbol not previously defined (OPTION_REG)
Error[113] C:\USERS\K3\DESKTOP\BINARY CLOCK\BINARY CLOCK\BINARY CLOCK.ASM 307 : Symbol not previously defined (PORTA)
Error[113] C:\USERS\K3\DESKTOP\BINARY CLOCK\BINARY CLOCK\BINARY CLOCK.ASM 308 : Symbol not previously defined (PORTA)
Error[113] C:\USERS\K3\DESKTOP\BINARY CLOCK\BINARY CLOCK\BINARY CLOCK.ASM 309 : Symbol not previously defined (PORTB)
Error[113] C:\USERS\K3\DESKTOP\BINARY CLOCK\BINARY CLOCK\BINARY CLOCK.ASM 310 : Symbol not previously defined (PORTB)
Error[113] C:\USERS\K3\DESKTOP\BINARY CLOCK\BINARY CLOCK\BINARY CLOCK.ASM 311 : Symbol not previously defined (ANSEL)
Error[113] C:\USERS\K3\DESKTOP\BINARY CLOCK\BINARY CLOCK\BINARY CLOCK.ASM 312 : Symbol not previously defined (ANSEL)
Error[113] C:\USERS\K3\DESKTOP\BINARY CLOCK\BINARY CLOCK\BINARY CLOCK.ASM 313 : Symbol not previously defined (ANSELH)
Error[113] C:\USERS\K3\DESKTOP\BINARY CLOCK\BINARY CLOCK\BINARY CLOCK.ASM 315 : Symbol not previously defined (TRISA)
Error[113] C:\USERS\K3\DESKTOP\BINARY CLOCK\BINARY CLOCK\BINARY CLOCK.ASM 317 : Symbol not previously defined (TRISA)
Error[113] C:\USERS\K3\DESKTOP\BINARY CLOCK\BINARY CLOCK\BINARY CLOCK.ASM 319 : Symbol not previously defined (TRISB)
Error[113] C:\USERS\K3\DESKTOP\BINARY CLOCK\BINARY CLOCK\BINARY CLOCK.ASM 321 : Symbol not previously defined (TRISC)
Error[113] C:\USERS\K3\DESKTOP\BINARY CLOCK\BINARY CLOCK\BINARY CLOCK.ASM 323 : Symbol not previously defined (WPUB)
Error[113] C:\USERS\K3\DESKTOP\BINARY CLOCK\BINARY CLOCK\BINARY CLOCK.ASM 325 : Symbol not previously defined (WPUB)
Error[113] C:\USERS\K3\DESKTOP\BINARY CLOCK\BINARY CLOCK\BINARY CLOCK.ASM 327 : Symbol not previously defined (INTCON)
Error[113] C:\USERS\K3\DESKTOP\BINARY CLOCK\BINARY CLOCK\BINARY CLOCK.ASM 327 : Symbol not previously defined (RBIE)
Error[113] C:\USERS\K3\DESKTOP\BINARY CLOCK\BINARY CLOCK\BINARY CLOCK.ASM 331 : Symbol not previously defined (TMR0)
Error[113] C:\USERS\K3\DESKTOP\BINARY CLOCK\BINARY CLOCK\BINARY CLOCK.ASM 332 : Symbol not previously defined (TMR0)
Error[113] C:\USERS\K3\DESKTOP\BINARY CLOCK\BINARY CLOCK\BINARY CLOCK.ASM 334 : Symbol not previously defined (INTCON)
Error[113] C:\USERS\K3\DESKTOP\BINARY CLOCK\BINARY CLOCK\BINARY CLOCK.ASM 334 : Symbol not previously defined (TMR0IE)
Error[113] C:\USERS\K3\DESKTOP\BINARY CLOCK\BINARY CLOCK\BINARY CLOCK.ASM 335 : Symbol not previously defined (INTCON)
Error[113] C:\USERS\K3\DESKTOP\BINARY CLOCK\BINARY CLOCK\BINARY CLOCK.ASM 335 : Symbol not previously defined (TMR0IF)
Error[113] C:\USERS\K3\DESKTOP\BINARY CLOCK\BINARY CLOCK\BINARY CLOCK.ASM 339 : Symbol not previously defined (T1CON)
Error[113] C:\USERS\K3\DESKTOP\BINARY CLOCK\BINARY CLOCK\BINARY CLOCK.ASM 345 : Symbol not previously defined (T1CON)
Error[113] C:\USERS\K3\DESKTOP\BINARY CLOCK\BINARY CLOCK\BINARY CLOCK.ASM 347 : Symbol not previously defined (TMR1L)
Error[113] C:\USERS\K3\DESKTOP\BINARY CLOCK\BINARY CLOCK\BINARY CLOCK.ASM 348 : Symbol not previously defined (TMR1L)
Error[113] C:\USERS\K3\DESKTOP\BINARY CLOCK\BINARY CLOCK\BINARY CLOCK.ASM 349 : Symbol not previously defined (TMR1H)
Error[113] C:\USERS\K3\DESKTOP\BINARY CLOCK\BINARY CLOCK\BINARY CLOCK.ASM 351 : Symbol not previously defined (PIE1)
Error[113] C:\USERS\K3\DESKTOP\BINARY CLOCK\BINARY CLOCK\BINARY CLOCK.ASM 352 : Symbol not previously defined (PIE1)
Error[113] C:\USERS\K3\DESKTOP\BINARY CLOCK\BINARY CLOCK\BINARY CLOCK.ASM 352 : Symbol not previously defined (TMR1IE)
Error[113] C:\USERS\K3\DESKTOP\BINARY CLOCK\BINARY CLOCK\BINARY CLOCK.ASM 353 : Symbol not previously defined (PIR1)
Error[113] C:\USERS\K3\DESKTOP\BINARY CLOCK\BINARY CLOCK\BINARY CLOCK.ASM 354 : Symbol not previously defined (PIR1)
Error[113] C:\USERS\K3\DESKTOP\BINARY CLOCK\BINARY CLOCK\BINARY CLOCK.ASM 354 : Symbol not previously defined (TMR1IF)
Error[113] C:\USERS\K3\DESKTOP\BINARY CLOCK\BINARY CLOCK\BINARY CLOCK.ASM 362 : Symbol not previously defined (INTCON)
Error[113] C:\USERS\K3\DESKTOP\BINARY CLOCK\BINARY CLOCK\BINARY CLOCK.ASM 362 : Symbol not previously defined (PEIE)
Error[113] C:\USERS\K3\DESKTOP\BINARY CLOCK\BINARY CLOCK\BINARY CLOCK.ASM 363 : Symbol not previously defined (INTCON)
Error[113] C:\USERS\K3\DESKTOP\BINARY CLOCK\BINARY CLOCK\BINARY CLOCK.ASM 363 : Symbol not previously defined (GIE)
Error[113] C:\USERS\K3\DESKTOP\BINARY CLOCK\BINARY CLOCK\BINARY CLOCK.ASM 370 : Symbol not previously defined (STATUS)
Error[113] C:\USERS\K3\DESKTOP\BINARY CLOCK\BINARY CLOCK\BINARY CLOCK.ASM 370 : Symbol not previously defined (Z)
Error[113] C:\USERS\K3\DESKTOP\BINARY CLOCK\BINARY CLOCK\BINARY CLOCK.ASM 373 : Symbol not previously defined (T1CON)
Error[113] C:\USERS\K3\DESKTOP\BINARY CLOCK\BINARY CLOCK\BINARY CLOCK.ASM 374 : Symbol not previously defined (T1CON)
Error[113] C:\USERS\K3\DESKTOP\BINARY CLOCK\BINARY CLOCK\BINARY CLOCK.ASM 374 : Symbol not previously defined (TMR1ON)
Error[113] C:\USERS\K3\DESKTOP\BINARY CLOCK\BINARY CLOCK\BINARY CLOCK.ASM 387 : Symbol not previously defined (PORTB)
Error[113] C:\USERS\K3\DESKTOP\BINARY CLOCK\BINARY CLOCK\BINARY CLOCK.ASM 388 : Symbol not previously defined (PORTB)
Error[113] C:\USERS\K3\DESKTOP\BINARY CLOCK\BINARY CLOCK\BINARY CLOCK.ASM 390 : Symbol not previously defined (PORTB)
Error[113] C:\USERS\K3\DESKTOP\BINARY CLOCK\BINARY CLOCK\BINARY CLOCK.ASM 405 : Symbol not previously defined (PORTB)
Error[113] C:\USERS\K3\DESKTOP\BINARY CLOCK\BINARY CLOCK\BINARY CLOCK.ASM 406 : Symbol not previously defined (PORTB)
Error[113] C:\USERS\K3\DESKTOP\BINARY CLOCK\BINARY CLOCK\BINARY CLOCK.ASM 409 : Symbol not previously defined (STATUS)
Error[113] C:\USERS\K3\DESKTOP\BINARY CLOCK\BINARY CLOCK\BINARY CLOCK.ASM 409 : Symbol not previously defined (Z)
Error[113] C:\USERS\K3\DESKTOP\BINARY CLOCK\BINARY CLOCK\BINARY CLOCK.ASM 416 : Symbol not previously defined (STATUS)
Error[113] C:\USERS\K3\DESKTOP\BINARY CLOCK\BINARY CLOCK\BINARY CLOCK.ASM 416 : Symbol not previously defined (Z)
Error[113] C:\USERS\K3\DESKTOP\BINARY CLOCK\BINARY CLOCK\BINARY CLOCK.ASM 425 : Symbol not previously defined (PORTB)
Error[113] C:\USERS\K3\DESKTOP\BINARY CLOCK\BINARY CLOCK\BINARY CLOCK.ASM 426 : Symbol not previously defined (PORTB)
Error[113] C:\USERS\K3\DESKTOP\BINARY CLOCK\BINARY CLOCK\BINARY CLOCK.ASM 429 : Symbol not previously defined (STATUS)
Error[113] C:\USERS\K3\DESKTOP\BINARY CLOCK\BINARY CLOCK\BINARY CLOCK.ASM 429 : Symbol not previously defined (Z)
Error[113] C:\USERS\K3\DESKTOP\BINARY CLOCK\BINARY CLOCK\BINARY CLOCK.ASM 440 : Symbol not previously defined (PORTB)
Error[113] C:\USERS\K3\DESKTOP\BINARY CLOCK\BINARY CLOCK\BINARY CLOCK.ASM 441 : Symbol not previously defined (PORTB)
Error[113] C:\USERS\K3\DESKTOP\BINARY CLOCK\BINARY CLOCK\BINARY CLOCK.ASM 444 : Symbol not previously defined (STATUS)
Error[113] C:\USERS\K3\DESKTOP\BINARY CLOCK\BINARY CLOCK\BINARY CLOCK.ASM 444 : Symbol not previously defined (Z)
Error[113] C:\USERS\K3\DESKTOP\BINARY CLOCK\BINARY CLOCK\BINARY CLOCK.ASM 451 : Symbol not previously defined (STATUS)
Error[113] C:\USERS\K3\DESKTOP\BINARY CLOCK\BINARY CLOCK\BINARY CLOCK.ASM 451 : Symbol not previously defined (Z)
Error[113] C:\USERS\K3\DESKTOP\BINARY CLOCK\BINARY CLOCK\BINARY CLOCK.ASM 461 : Symbol not previously defined (PORTB)
Error[113] C:\USERS\K3\DESKTOP\BINARY CLOCK\BINARY CLOCK\BINARY CLOCK.ASM 462 : Symbol not previously defined (PORTB)
Error[113] C:\USERS\K3\DESKTOP\BINARY CLOCK\BINARY CLOCK\BINARY CLOCK.ASM 465 : Symbol not previously defined (STATUS)
Error[113] C:\USERS\K3\DESKTOP\BINARY CLOCK\BINARY CLOCK\BINARY CLOCK.ASM 465 : Symbol not previously defined (Z)
Error[113] C:\USERS\K3\DESKTOP\BINARY CLOCK\BINARY CLOCK\BINARY CLOCK.ASM 477 : Symbol not previously defined (STATUS)
Error[113] C:\USERS\K3\DESKTOP\BINARY CLOCK\BINARY CLOCK\BINARY CLOCK.ASM 477 : Symbol not previously defined (DC)
Error[113] C:\USERS\K3\DESKTOP\BINARY CLOCK\BINARY CLOCK\BINARY CLOCK.ASM 539 : Symbol not previously defined (PORTA)
Error[113] C:\USERS\K3\DESKTOP\BINARY CLOCK\BINARY CLOCK\BINARY CLOCK.ASM 541 : Symbol not previously defined (PORTA)
Error[113] C:\USERS\K3\DESKTOP\BINARY CLOCK\BINARY CLOCK\BINARY CLOCK.ASM 543 : Symbol not previously defined (PORTB)
Error[113] C:\USERS\K3\DESKTOP\BINARY CLOCK\BINARY CLOCK\BINARY CLOCK.ASM 545 : Symbol not previously defined (PORTC)
 
Hi,

Its rejecting all the Special Function Registers so I suspect it something like you have not changed all reference to the original chip.
There are usually three points - two in the beginning of the code -
P=pic16F877 and the Include pic 16F877, then on the mplab toolbar go into 'Configure' and 'Select Device' to = 16F877 and that should build OK.

Unfortunately you still have a problem, the 882/6 chips use its main internal oscillator but the 877 does not have one so must use another external crystal, which means you must use two of the i/o ports that have been allocated to driving the leds, so that would seem to compromise the design.
( the crystal you can see in the circuit diagram is soley for the Real TIme clock)

You can get round the crystal problem and moving the leds onto other spare ports on the 877 chip but you will have to recode accordingly.
Might be easier to send off for the right chip.
 
Last edited:
Thank you Wp100, I tried what you have suggested by changing the following:

ifdef __16F882
include P16F882.inc
To:
ifdef __16F877
include P16F877.inc

And I changed the device to PIC16F877 as I have already done before. I also made sure to remove the old header files and linker script from the project and add the two relating to the PIC16F877.

Yet I ended up with a shorter list of errors:
Error[113] C:\USERS\K3\DESKTOP\PROJECT-2009-06-10\BINARY CLOCK\BINARY CLOCK.ASM 61 : Symbol not previously defined (_FCMEN_OFF)
Error[113] C:\USERS\K3\DESKTOP\PROJECT-2009-06-10\BINARY CLOCK\BINARY CLOCK.ASM 61 : Symbol not previously defined (_IESO_OFF)
Error[113] C:\USERS\K3\DESKTOP\PROJECT-2009-06-10\BINARY CLOCK\BINARY CLOCK.ASM 61 : Symbol not previously defined (_BOR_OFF)
Error[113] C:\USERS\K3\DESKTOP\PROJECT-2009-06-10\BINARY CLOCK\BINARY CLOCK.ASM 61 : Symbol not previously defined (_MCLRE_ON)
Error[113] C:\USERS\K3\DESKTOP\PROJECT-2009-06-10\BINARY CLOCK\BINARY CLOCK.ASM 61 : Symbol not previously defined (_INTOSCIO)
Error[113] C:\USERS\K3\DESKTOP\PROJECT-2009-06-10\BINARY CLOCK\BINARY CLOCK.ASM 65 : Symbol not previously defined (_CP_ON)
Error[113] C:\USERS\K3\DESKTOP\PROJECT-2009-06-10\BINARY CLOCK\BINARY CLOCK.ASM 68 : Symbol not previously defined (_CONFIG1)
Error[108] C:\USERS\K3\DESKTOP\PROJECT-2009-06-10\BINARY CLOCK\BINARY CLOCK.ASM 68 : Illegal character (,)
Error[113] C:\USERS\K3\DESKTOP\PROJECT-2009-06-10\BINARY CLOCK\BINARY CLOCK.ASM 69 : Symbol not previously defined (_CONFIG2)
Error[108] C:\USERS\K3\DESKTOP\PROJECT-2009-06-10\BINARY CLOCK\BINARY CLOCK.ASM 69 : Illegal character (,)
Error[118] C:\USERS\K3\DESKTOP\PROJECT-2009-06-10\BINARY CLOCK\BINARY CLOCK.ASM 69 : Overwriting previous address contents (2007)
Message[310] C:\PROGRAM FILES\MICROCHIP\MPASM SUITE\P16F877.INC 712 : Superseding current maximum RAM and RAM map.
Error[113] C:\USERS\K3\DESKTOP\PROJECT-2009-06-10\BINARY CLOCK\BINARY CLOCK.ASM 77 : Symbol not previously defined (_FCMEN_OFF)
Error[113] C:\USERS\K3\DESKTOP\PROJECT-2009-06-10\BINARY CLOCK\BINARY CLOCK.ASM 77 : Symbol not previously defined (_IESO_OFF)
Error[113] C:\USERS\K3\DESKTOP\PROJECT-2009-06-10\BINARY CLOCK\BINARY CLOCK.ASM 77 : Symbol not previously defined (_BOR_OFF)
Error[113] C:\USERS\K3\DESKTOP\PROJECT-2009-06-10\BINARY CLOCK\BINARY CLOCK.ASM 77 : Symbol not previously defined (_MCLRE_ON)
Error[113] C:\USERS\K3\DESKTOP\PROJECT-2009-06-10\BINARY CLOCK\BINARY CLOCK.ASM 77 : Symbol not previously defined (_INTOSCIO)
Error[113] C:\USERS\K3\DESKTOP\PROJECT-2009-06-10\BINARY CLOCK\BINARY CLOCK.ASM 81 : Symbol not previously defined (_CP_ON)
Error[113] C:\USERS\K3\DESKTOP\PROJECT-2009-06-10\BINARY CLOCK\BINARY CLOCK.ASM 84 : Symbol not previously defined (_CONFIG1)
Error[108] C:\USERS\K3\DESKTOP\PROJECT-2009-06-10\BINARY CLOCK\BINARY CLOCK.ASM 84 : Illegal character (,)
Error[118] C:\USERS\K3\DESKTOP\PROJECT-2009-06-10\BINARY CLOCK\BINARY CLOCK.ASM 84 : Overwriting previous address contents (2007)
Error[113] C:\USERS\K3\DESKTOP\PROJECT-2009-06-10\BINARY CLOCK\BINARY CLOCK.ASM 85 : Symbol not previously defined (_CONFIG2)
Error[108] C:\USERS\K3\DESKTOP\PROJECT-2009-06-10\BINARY CLOCK\BINARY CLOCK.ASM 85 : Illegal character (,)
Error[118] C:\USERS\K3\DESKTOP\PROJECT-2009-06-10\BINARY CLOCK\BINARY CLOCK.ASM 85 : Overwriting previous address contents (2007)
Error[113] C:\USERS\K3\DESKTOP\PROJECT-2009-06-10\BINARY CLOCK\BINARY CLOCK.ASM 215 : Symbol not previously defined (TMR0IF)
Error[113] C:\USERS\K3\DESKTOP\PROJECT-2009-06-10\BINARY CLOCK\BINARY CLOCK.ASM 217 : Symbol not previously defined (TMR0IF)
Error[113] C:\USERS\K3\DESKTOP\PROJECT-2009-06-10\BINARY CLOCK\BINARY CLOCK.ASM 311 : Symbol not previously defined (ANSEL)
Error[113] C:\USERS\K3\DESKTOP\PROJECT-2009-06-10\BINARY CLOCK\BINARY CLOCK.ASM 312 : Symbol not previously defined (ANSEL)
Error[113] C:\USERS\K3\DESKTOP\PROJECT-2009-06-10\BINARY CLOCK\BINARY CLOCK.ASM 313 : Symbol not previously defined (ANSELH)
Error[113] C:\USERS\K3\DESKTOP\PROJECT-2009-06-10\BINARY CLOCK\BINARY CLOCK.ASM 323 : Symbol not previously defined (WPUB)
Error[113] C:\USERS\K3\DESKTOP\PROJECT-2009-06-10\BINARY CLOCK\BINARY CLOCK.ASM 325 : Symbol not previously defined (WPUB)
Error[113] C:\USERS\K3\DESKTOP\PROJECT-2009-06-10\BINARY CLOCK\BINARY CLOCK.ASM 334 : Symbol not previously defined (TMR0IE)
Error[113] C:\USERS\K3\DESKTOP\PROJECT-2009-06-10\BINARY CLOCK\BINARY CLOCK.ASM 335 : Symbol not previously defined (TMR0IF)

I am willing to change the Ports so that I can use another external oscillator. Would anyone be kind enough to revise the code and alter it appropriately to fit the schematics shown in the original website and tell me what changes to the schematics I would have to do to make this work with a 16F877?
 
Status
Not open for further replies.

New Articles From Microcontroller Tips

Back
Top