Hi everybody
I've just uploaded a new release of ldMicro32 on usual Github:
https://github.com/joegil95/LdMicro32
What's new in this 5.2a version ?
1)
I have implemented I2C (master) for PIC16F in C programming mode. PIC16F628 has no I2C or SPI at all.
For PIC16F88 or 819, which only support I2C in slave mode, I have developped a software I2C Master (see library).
It has been tested in a PIC simulator on PIC16F88 & PIC16F876.
Others are normally compatible with one of these two.
There's an additionnal library to use a 16x2 (or more) LCD display with an I2C I/O Expander, as for AVRs.
2)
I have enabled Config Bits in Control panel for AVRs and ARMs.
They can be used to modify default Pull-up activation on input pins.
For AVRs: one can modify Pull-ups on 8 bit Ports A, B, and C.
If value = 0xZZYYXX, XX bits modify pull-ups on PortA inputs, YY on PORTB and ZZ on PORTC.
A 1 bit will disable the corresponding pull-up, a 0 bit will let it enabled by default.
For ARMs: one can modify Pull-ups on 16 bit Port D only.
If value = 0xXXXX, 0 and 1 bits will behave as above (via a Xor).
Default Config-bits value is set to 0 for AVRs, as in previous versions of ldmicro. So, if one dosn't use use this option, nothing will be changed, and ladders will generate the same result as before.
Nothing has changed for PICS either.
I'll halt developpement for the time being ; maybe I could implement some PIC18F (as 18F4550 with USB), in C programming mode only of course (with C18 compiler), if some people are interested...
Let me know if you :) or ;( along usage...
Best regards
JG