Quantcast
Channel: Microcontrollers
Viewing all articles
Browse latest Browse all 4923

PIC10F222 asm code builds, but not works as expected

$
0
0
Hello,

The problem is that the asm code builds, but not working as expected. Could anyone help me with this problem? Thank you for your time.

Pin#2 = VCC (5v)
Pin#4 = GPIO,1 (Programmed as an input)
Pin#5 = GPIO,0 (Programmed as an output) Here I do not get any signs of voltage when testing output
Pin#7 = Ground

Code (Text):
  1. list p=10F222 ; list directive to define processor
  2. #include p10F222.inc ; processor specific variable definitions
  3.  
  4. __CONFIG...
PIC10F222 asm code builds, but not works as expected

Viewing all articles
Browse latest Browse all 4923

Trending Articles