Search found 54 matches

by simon-sandtcontrols
Sun Mar 01, 2026 3:25 pm
Forum: Bug Reports
Topic: PIC16F1788/9 ADC Resolution
Replies: 8
Views: 1494

Re: PIC16F1788/9 ADC Resolution

Hi All,

Sorry for the delayed reply, a bit of unexpected self oscillation in my circuitry due to a power supply line moving by 10mV to sort out. I can now confirm that it is running successfully as a 12Bit ADC in hardware.

Thanks for the help.

Simon
by simon-sandtcontrols
Fri Feb 20, 2026 1:04 pm
Forum: Bug Reports
Topic: PIC16F1788/9 ADC Resolution
Replies: 8
Views: 1494

Re: PIC16F1788/9 ADC Resolution

Hi Martin, OK, that makes sense. I wasn't sure as it appeared to be an option in the properties. For what I want fixed at 12 bit is fine. I haven't tried the filters or math function, I usually convert to a lower resolution using a calculation. I will have a play around. Hopefully the input I have w...
by simon-sandtcontrols
Fri Feb 20, 2026 11:02 am
Forum: Bug Reports
Topic: PIC16F1788/9 ADC Resolution
Replies: 8
Views: 1494

Re: PIC16F1788/9 ADC Resolution

Hi Steve,

I have just done the update, it's now fixed at 12bit resolution, it's fine for what I want, but is that correct it can't be changed between 10 & 12?

I haven't finished the program for it yet. I will update when I load it into the IC.

Thanks.

Simon.
by simon-sandtcontrols
Fri Feb 20, 2026 9:19 am
Forum: Bug Reports
Topic: PIC16F1788/9 ADC Resolution
Replies: 8
Views: 1494

Re: PIC16F1788/9 ADC Resolution

Thanks Steve,

I think it's slightly different symptoms. I can't change the resolution from 10bit in the ADC properties, it's greyed out. I haven't tried simulating it or compiling it.

Simon.
by simon-sandtcontrols
Thu Feb 19, 2026 7:31 pm
Forum: Bug Reports
Topic: PIC16F1788/9 ADC Resolution
Replies: 8
Views: 1494

PIC16F1788/9 ADC Resolution

Hi All, I wonder if you can help, please. I have been working on a project I need a 12bit ADC for. I have chosen the PIC 16F1788 for the job and built the hardware. I have just gone to start programming it and discovered that Flowcode's ADC properties for that IC are showing the ADC resolution is fi...
by simon-sandtcontrols
Wed Feb 11, 2026 10:54 am
Forum: Bug Reports
Topic: PIC12F629 Compile error
Replies: 8
Views: 1191

Re: PIC12F629 Compile error

Perfect, thanks Ben.

Compiles to .hex and loads into the PIC fine.

Much appreciated.
by simon-sandtcontrols
Tue Feb 10, 2026 6:03 pm
Forum: Bug Reports
Topic: PIC12F629 Compile error
Replies: 8
Views: 1191

Re: PIC12F629 Compile error

Thanks Steve.

Glad it wasn't me going mad.
by simon-sandtcontrols
Tue Feb 10, 2026 11:58 am
Forum: Bug Reports
Topic: PIC12F629 Compile error
Replies: 8
Views: 1191

Re: PIC12F629 Compile error

Hi Chipfryer, Thanks for taking a look. I Usually use a C code block and set the OSCCON register, but when I went to the data sheet, I couldn't find any reference to a register for the internal clock. I assumed, possibly incorrectly, that it is simply set to 4MHz and is configured by the configurati...
by simon-sandtcontrols
Tue Feb 10, 2026 10:31 am
Forum: Bug Reports
Topic: PIC12F629 Compile error
Replies: 8
Views: 1191

PIC12F629 Compile error

Hi All, I hope I am right and this is a bug and not something I am doing daft. I can not get a PIC 12F629 to compile. I just wanted a simple oscillator to toggle 2 pins on and off. I have replaced the device with a 12F683 and it worked straight away. I have a draw full of 12F629's so it would be nic...
by simon-sandtcontrols
Sat Jan 10, 2026 11:52 am
Forum: Bug Reports
Topic: Error in PIC data
Replies: 2
Views: 881

Re: Error in PIC data

Hi Ben,

Thanks for this. I didn't realise you can do that and I have just found the component. That might just solve my problem as I just need to store a calibration offset, that needs updating by the second UART every year or so.

Simon.