Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
hi guys
i have been trying to run the following program on the PIC16F876 so that it can detect an address bit in the serial input code from DMX console and dim the light according to toe data bits send. it does not run. have i missed some coding here?
please help
here is the coding...
Re: MP ASM warning
thanks Tagli, i have managed to makre it run
i changed SHIFT EQU 0x0C to 0xFF although i get some massages of not being in bank 0 when i assemble the progrm
next i changed the bit b'01001001' to b'00000001' and i can see the LEDs switching ON in this order from B0 ....B7...
Re: MP ASM warning
ok, thank you
here is the new code ;**********************************************************************
; This file is a basic code template for object module code *
; generation on the PIC16F876. *
; This code cycles a...
Re: MP ASM warning
despite having changed the code as per instruction from my previous post, only one LED switches On constantly until i reset the PIC and then it goes ON again
i do not know where i am going wrong here
i am not well vresed with this MPLAB ASM coding but i want to learn it
Re: MP ASM warning
thank you guys
i was doing a simple program to switch ON LEDs on port B
this was my first program for PIC16F876 to work
now i am going to improve the program to make it more intersting
Added after 2 hours 12 minutes:
i have done a program which is supposed to cycle a bit...
hi
guys
i am using tris in programming the PIC16F876 and when i assemble the program, it says the use of "tris" is not recomended even though i can get a hex file
i am using MPLAB IDE v8.43
the line with the code is like this
' tris PORTB'
can i replace it with ' movwf PORTB'
thank you
hi
i am trying to initialize the (USART) RX port (PORTC, bit 7) on the PIC16F876 so i can be able to receive data and drive an LED on another port say PORTB. the data is in serial format. is there any simple assembly program to do this trick?
thank you in advance
hi folks
i am tyring to use an alternative component for a MAX485 device in KiCad simulation software but cannot get one. i know there is SN75176 but its not in the list as well. please help
tahnks in advance
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.