The blink samples are generated by a script. They all use a certainly named port pin. Once a user complained that the blink sample did not work. It was due to a read/modify/write problem on a certain chip, which actually could only drive 3.5mA on the standard pin. There were solutions discussed, including to have different blink samples which use a per-chip selected pin that can drive 25mA. That would have been a huge amount of work for a very small effect. So the solution chosen was to just recommend a low current LED for all samples.
Greets,Kiste Gesendet von Yahoo Mail auf Android Am Mo., Mai 11, 2020 at 22:45 schrieb Zet Weeh<[email protected]>: Hi Sunish Thanks for your fast reply. I have three questions ( written in red). xx -- In the datsheet on page 40 I see some configuration-bits but the register has no name. Is it still possible to use those bits? pragma target clock 4_000_000 -- oscillator frequency -- pragma target OSC INTOSC_NOCLKOUT -- Int osc, no clockout ………..>>>>> in the datasheet and in the library16F505: I can't find 'noclkout' pragma target WDT DISABLED -- watchdog pragma target MCLR INTERNAL -- internal reset -- -- A low current (2 mA) led with 2.2K series resistor is recommended -- since the chosen pin may not be able to drive an ordinary 20mA led. ……….>>>>>> in the datasheet the pin can deliver 25 mA/that is enough for a standard led -- --Best regards, Peter Op maandag 11 mei 2020 00:34:10 UTC+2 schreef Zet Weeh: HiI never worked with small PIC's.I want to use the internal oscillator of the 16F505.Is it correct I need to change in the library 16F505 in the oscillator part: pragma fuse_def OSC 0x7 in pragma fuse_def OSC 0x4 Best regards,Peter -- You received this message because you are subscribed to the Google Groups "jallib" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jallib/533949a2-b755-4b22-8c56-09ed4a2e6793%40googlegroups.com. -- You received this message because you are subscribed to the Google Groups "jallib" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jallib/179800413.1848743.1589263432301%40mail.yahoo.com.
