Hi, thanks for the reply.. I got it working in the end.
The thing that I was doing wrong was having a larger duty cycle value in PDC0L and PDC0H than the value in PTPERL and PTPERH. Since the PWM...
Type: Posts; User: Peaps; Keyword(s):
Hi, thanks for the reply.. I got it working in the end.
The thing that I was doing wrong was having a larger duty cycle value in PDC0L and PDC0H than the value in PTPERL and PTPERH. Since the PWM...
Hi.
Did you get anywhere with the PWM code for the 18F1330?
I don't think that you can use HPWM with this device as it's PWM module is completely different to the normal PWM module found in 16F...
This would be very useful. Even if this meant converting the string to a Byte[array] with a null char (0) at the end.
I think a lot of people would benefit from some basic form of string handling.
Hi Dan,
It may have been because PORTA.0 was currently at logic low, or as far as PBP is concerned, 0.
Effectively, you were writing:
ADCIN 0, Var
Which would have read from PORTA.0...
Hi, I have just browsed through the datasheet, and if I were doing it, I would set the following registers:
INTCON.7 = 0 'Disable interrupts
TRISC.1 = 1 'Set PORTC.1 to be an input
CM1CON0.7...
I can answer my own question, - Yes, it goes in pin 1 the same as 18pin devices.
I had a dead PIC chip. It's amazing how much time you can waste, and the amount that you question your own sanity...
Hi.
Do you insert the PIC so that pin 1 is where pin 1 would be on an 18 pin PIC on these devices? I am getting the error Programming error at 0000 when trying to program PIC12F683s, but I can...