Jump to content

e4opening

EstablishedMember
  • Content Count

    6
  • Joined

  • Last visited

Community Reputation

0 Neutral

About e4opening

  • Rank
    Newbrie
  1. Tony Here is a good place to start. PIC Micro Programming In BoostC for Beginners http://forum.sourceboost.com/index.php?showtopic=2399
  2. If your data rates are high enough you may need to look at your circuit traces as transmission lines. That is, you will want to make sure that all clock and data lines are properly terminated to avoid unnecessary line reflections. This may or may not be an issue for you. Just a thought to keep in the back of your head.
  3. The next generation release of Microchips IDE MPLABX will be built on the Netbeans platform. Has any beta testing been done with BoostC integration into the new platform? Or in the interim should I wait for a news update from SourceBoost saying everything is compatible? From Microchips website blurb, third party vendors apps should be easier to work with - famous last words. Don't think I'll dump V8.xx just yet. Thinking about trying out MPLABX beta though. Thanks in advance,
  4. Looking at your pics. It might be prudent to add a current limiting resistor between the I/O pin and your LED. I'm no expert on the 18FPICS, but the mid-range pics limit the I/O pin source/sink capabilities to +/- 20mA. I typically use 1.5V for an LED forward voltage. The formula to calculate the correct resistance: R[ohms] = (power supply voltage[VDD]- LED forward voltage[Vf]) / LED operating current. Example: R = (5[VDD] - 1.5[Vf]) / 10mA R = 350 ohms, use a standard 330 ohm resistor. Other than that, I would say your circuit is O.K. The electrolytic capacitor looks fine, just make sure the polarity is correct.
  5. Just as a sanity check. Is all the hardware working correctly? I've placed an LED in backwards once, actually quite a few times. If you're convinced the code is correct, then it must be and the problem lies elsewhere.
  6. You might want to increase your delay a bit. It looks like you only have a 1ms delay. If so, you're won't see much on an LED. delay_ms(1); Better: delay_ms(500);
×
×
  • Create New...