(you are viewing a thread; or go back to
list of threads)
LDmicro.GitHub news v4.1.2 (by Ihor Nehrutsa)
https://github.com/LDmicro/LDmicro/releases/tag/4.1.2
== Release 4.1.2
* Changed: COIL, CONTACT draw in simulation mode.
https://github.com/LDmicro/LDmicro/wiki/CONTACTS-and-COILS
* Updated: SET PWM Timer1 at PIC's. PIC16F628, PIC16F88, PIC16F819.
* Updated: SLEEP at PIC's.
* Fixed: Messages in LOOK-UP TABLE.
(no subject) (by MGP)
Wow thanks, PWM on a F628a, F88 ... that was something I was missing.
(no subject) (by MGP)
Ihor,
When using the LUT instruction I made a mistake by selecting a value out of range.
If I simulate the program I get an error, I press OK but then I select "start Real-time simulation" anyway, I can not close the program anymore.
(no subject) (by Alex)
bye the way, what is the LUT instruction for?
(no subject) (by MGP)
To eliminate a bunch of MOV instructions.
(no subject) (by Alex)
interesting, thanks for your reply, but why in LUTtest.ld it has an error?
(no subject) (by MGP)
Open the LUTtest.ld program
Start the simulation
You get an error
Ignore the error and start the "real time simulation".
You can't shut down Ldmicro anymore.
The LUT instruction works, but if you forgot to save it before simulation you can start all over again.
(no subject) (by Alex)
yeah it freezez
LUT its not important (by SEGAR)
i see from ex-spec in the LUT features its not important as well
thanks
16F877A Pin#33 (by Boris)
There is some problem.
When I compile with 2.0 on pin#33 when it is configured as input and pull down resistor 3,9k voltage on pin is 0V.
When I compile with 4.1.2 voltage is 0.84V (same condition) and when I use long flat cable it triggers input. All other pins voltage is 0V.
(no subject) (by MGP)
All pins on RB0..7 are intern pull-ups activated on newer versions of LDmicro.
(no subject) (by Boris)
Only those pins or some else?
Why is that different, I don't see the reason.
Why only 1/4 of PIC is like that, for me is better that everything is same.
Which resistor to put as pull down to disable internal pull up and to have positive logic.
I know that on ATMega all internal pull ups are activated and with 1K pull-down resistor You have positive logic.
(no subject) (by MGP)
Look at the datasheet, but I think It's only PORTB that has internal resistors.
I use them all the time now with the 16F628a, it's a big improvement for small projects.
The weak resistors have a current of 200µA if you put that pin to the GND, so 1K to the GND will do.
(no subject) (by Boris)
That is something that Ihor made in program to activate internal resistor.
For me hardware is now problem because it is not same as earlier and I have to change many projects programed with new LDmicro and it is OK if You have all inputs behave same way.
To Ihor
Is it problem to disable internal resistors in 16F877A?
(no subject) (by MGP)
I am a big fan of pull-up resistors, with PWM for 18pin pics the best hardware improvements so far, in my opinion.
I hope it stays this way.
I have already updated all my programs to V4.1.2
You can hardly turn back these improvements because of old programs.
Windows would never have existed, if we had continue to work with dos because of old programs
You can always compile with a version <V3.5.0 or change ports.
(no subject) (by Boris)
Thank You MGP for telling me that Earth is not flat.
As I said I don't test every new version of LDMicro I download new version and there are always many new improvements and I didn't know for that change in hardware to have 1/4 inputs NPN and 3/4 PNP,
my mistake sorry.
Are all PIC NPN inputs now?
(no subject) (by Boris)
Are there any changes for outputs (output ON is +5V on pin)
Thank you (by hendryawan)
Dear Mr. Ihor Nehrutsa
I am very appreciated to your effort to spend your time to made this software more powerfull.
Thank you very much and best regards.
Hendryawan
(no subject) (by Alex)
Is LUT instruction already fixed? i simulated it, doesn´t freeze anymore
(no subject) (by Ihor Nehrutsa)
to Alex
LUTtest.ld will fixed in Release 4.1.8
(no subject) (by Alex)
Thank you very much Ihor
Post a reply to this comment:
|