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.
A forum obviously doesn’t replace school but I went to the internet to find my answer. After googling multiple times I can’t come across any PIC10 examples of toggling a single bit, youtube has nothing to offer either- it’s around 3am and I couldn’t contact a lecturer since they are obviously...
This piece of code sets the state of GP1 as the state of GP0. Using the stimulus Debug tool I can toggle the state of GP0 to make GP1 follow the state change. My issue is figuring out how to make GP1 only change state when GP0 goes from high-to-low. There is no bit toggle instruction for this...
Okay I see, I could only change the state of GP0 using the stimulus tool in MPLABX when debugging. I also have another question but I think I'll close this thread and open a new one with a better explanation of my issue- thank you though.
Simple bit of code to change the state of the GPIO pin 1 dependant on what GPIO pin 0's state is. However, using the BSF and BCF instructions don't seem to set GPIO 0's state when stepping through the debugger? I'm confused as to what the issue is here? Any help as I'm really new to PIC assembly...
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.