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.
yeah thanks..anyway, i figured out how to do what i wanted to do.
The PIC has an FSR register that acts as a pointer. Simply load the FSR with the address and access the address via the INDF register once the FSR is pointing to the right address.
Hi, to the great PIC assembly language programmers out there, i need some help with assembly language.
Consider the following code:
POINTER equ 0x23 ;so POINTER is pointing to location 0x23
can I get POINTER to point to the next location (i.e. 0x24)?
TIA!
oh right, thanks. i don't really need the object oriented approach, its just that i've used c++ before that's all.
anyway, what i meant by a recursive function is a function that calls itself e.g.:
function factorial(n)
if n=0 then result:=1
else result := n*factorial(n-1)
so the...
Hi, i've got the MPLAB installed and i was hoping someone here can help me figure out how to code the PIC program in c++. Actually, if someone can how me how to code a recursive function in asm that would do as well. because the only reason why i want to use c++ is that i don't know how to code...
thanks! do u know if i could get that zener diode/opto-isolator step-down in some sort of transistor array? I have about 8 inputs and a transistor array or integrated circuit would save loads of space.
anyway, regarding the earlier question on the PIC driving a relay, for anyone who wants to...
I have a 0volt and 12volts output that I need to feed into the PIC, which from what I understand, takes 0volt and 5volts. Does anyone have any suggestions for what I could use as a buffer or step-down converter that is cheap and safe? Preferably some sort of integrated circuit as I need 8 inputs...
Hi, anyone out there know if I can use a PIC to drive a relay to switch a 16V a.c. power supply? Or anyone knows if I might face some unexpected troubles doing that?
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.