Discuss the Integrated Development Environment (IDE)
Moderators: David Barker, Jerry Messina
-
mazur50
- Posts: 68
- Joined: Thu Dec 04, 2008 5:19 am
Post
by mazur50 » Thu Mar 19, 2009 8:06 pm
How can i make PortB.7 = or do the same thing as Portb.3
This is all on a 18f1220
thanks
Mike
-
mazur50
- Posts: 68
- Joined: Thu Dec 04, 2008 5:19 am
Post
by mazur50 » Thu Mar 19, 2009 9:38 pm
I think this is in the wrong section can a mod move this to the Compiler section
thanks
Mike
-
CharlieM
- Registered User
- Posts: 211
- Joined: Wed Oct 10, 2007 12:05 am
Post
by CharlieM » Fri Mar 20, 2009 12:06 am
[quoteHow can i make PortB.7 = or do the same thing as Portb.3[/quote]
PortB.7= PortB.3?
Running version 2.2.4.0 ICC 1.2.1.0
Regards CharlieM
-
mazur50
- Posts: 68
- Joined: Thu Dec 04, 2008 5:19 am
Post
by mazur50 » Tue Nov 10, 2009 11:48 pm
CharlieM wrote:[quoteHow can i make PortB.7 = or do the same thing as Portb.3
PortB.7= PortB.3?[/quote]
Do you need to use the ?
-
CharlieM
- Registered User
- Posts: 211
- Joined: Wed Oct 10, 2007 12:05 am
Post
by CharlieM » Wed Nov 11, 2009 3:37 am
no. Just use PortB.7 = PortB.3
Running version 2.2.4.0 ICC 1.2.1.0
Regards CharlieM
-
mazur50
- Posts: 68
- Joined: Thu Dec 04, 2008 5:19 am
Post
by mazur50 » Wed Nov 11, 2009 1:24 pm
Can this be done with Pwm? I run a 18f1220 and wand another port for pwm.
-
CharlieM
- Registered User
- Posts: 211
- Joined: Wed Oct 10, 2007 12:05 am
Post
by CharlieM » Wed Nov 11, 2009 5:37 pm
Hi,
I don't think So.
Running version 2.2.4.0 ICC 1.2.1.0
Regards CharlieM
-
liak
- Registered User
- Posts: 195
- Joined: Fri Oct 05, 2007 12:26 am
Post
by liak » Wed Nov 18, 2009 9:38 am
Dear mazur50,
Definitely not. If possible, then Microchip will not be offering PICs with multiple PWM ports. For other things, maybe yes. I can imagine if you use interrupts to update the ports and make them identical.
regards,
liak
-
mazur50
- Posts: 68
- Joined: Thu Dec 04, 2008 5:19 am
Post
by mazur50 » Wed Nov 18, 2009 1:17 pm
Thanks for all the help I just wanted to be sure