John_25
Newbie level 3
- Joined
- Apr 8, 2015
- Messages
- 4
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1
- Activity points
- 31
Hello all, I am a new to PIC and stuck up with a couple of questions. Could you please help me.
1) a) Can you create the decision tree, IF-THEN-ELSE, using the PIC16 instruction set (in as few instructions as possible?
b) Will this decision tree get the same answers if the instructions are fetched sequentially from the ATE vector memory?
2) Using a PIC16F1783 create a program that will force a constant voltage of 1.5 Volts on a pin regardless of the VDD voltage.
I have solved the first part of Q1 and have some guesses about 1a and Q2 but need clarification.
1) a) Can you create the decision tree, IF-THEN-ELSE, using the PIC16 instruction set (in as few instructions as possible?
b) Will this decision tree get the same answers if the instructions are fetched sequentially from the ATE vector memory?
2) Using a PIC16F1783 create a program that will force a constant voltage of 1.5 Volts on a pin regardless of the VDD voltage.
I have solved the first part of Q1 and have some guesses about 1a and Q2 but need clarification.