News:

Let's find out together what makes a PIC Tick!

Main Menu

Likel New bug with 16f1705

Started by Giuseppe, Today at 08:32 AM

Previous topic - Next topic

Giuseppe

Hi, I'm trying to use the 16f1705 for the first time and it seems like an excellent device. From the data I noticed that there are ports a and c but on the latest version of the compiler the c ports are not highlighted in green. While the b ports that are not on the device are highlighted in green. Do you think it's a compiler bug?

top204

There is no anomaly.

There is no PORTB on the smaller 16F170x devices, only PORTA and PORTC. PORTB is on the 16F171x devices. A quick look in the device's datasheet would have shown that. Pages 3 to 7, with the device outlines and the pin names.

Microchip do very silly things, so a device without a PORTB, but has PORTA and PORTC is ridiculous. Even if the silicon die only brought PORTA and PORTC out, PORTC should have been re-mapped as PORTB.


trastikata

Hello Giuseppe,

Is it possible that you used non-standard ASCII characters, because I don't see any problem with that device.


Giuseppe

sorry maybe I explained myself badly, it doesn't highlight the C ports on the 16f1705 device

trastikata

Quote from: Giuseppe on Today at 09:00 AMsorry maybe I explained myself badly, it doesn't highlight the C ports on the 16f1705 device

Check my previous post.

16F1705.jpg

Giuseppe

sorry you're right I forgot to change the device