Good vs. Evil

Discussion in 'Forum Games' started by Randomguy404, Oct 12, 2014.

  1. duckfan77

    duckfan77 Well-Known Member

    49 I spent 2.5 hours to configure an ADC... Next time I'm going to find the documentation sooner than 2 hours in.
     
  2. GamerwithnoGame

    GamerwithnoGame Forum Addict

    50. Back at work after a holiday. *sighs*
     
  3. duckfan77

    duckfan77 Well-Known Member

    49 Hope it goes well
     
  4. GamerwithnoGame

    GamerwithnoGame Forum Addict

    50. Yeah, it wasn't too bad :)
     
  5. duckfan77

    duckfan77 Well-Known Member

  6. lenscas

    lenscas Over-Achiever

    52 Decided to try LLDB again. Last time I used it I was able to set breakpoints but despite those seeming to work it was unable to show the state at those points. This time that problems seems to be mostly gone. Some complicated types are a mess (but at least they show up) or don't make a lot of sense but most seem to work. Also, if you are simply stepping over your code you may suddenly find yourself staring at raw assembly. This however has a simple fix: Don't step into build in functions you dofus.
     
  7. duckfan77

    duckfan77 Well-Known Member

    51 Dang, I can't use IC to measure the duty cycle of a PWM signal because the input is channel 3, and I can only slave the second timer/IC channel required to channels 1 or 2
     
  8. GamerwithnoGame

    GamerwithnoGame Forum Addict

    50. I have no idea what any of that means, but I feel like I'd like to...
     
  9. duckfan77

    duckfan77 Well-Known Member

    51 Code/Electrical stuff. IC is Input Capture, PWM is pulse width modulation
     
  10. LordPINE

    LordPINE Well-Known Member

    50. Oh, how convenient that IC also means Integrated Circuit, which is also commonly used in electronics
     
    GamerwithnoGame likes this.
  11. GamerwithnoGame

    GamerwithnoGame Forum Addict

    51. I didn't want to say anything, but yeah I thought it meant Integrated Circuit...
     
  12. duckfan77

    duckfan77 Well-Known Member

    52 It does, but in this case it meant input capture, a peripheral on the microcontroller being used.
     
  13. GamerwithnoGame

    GamerwithnoGame Forum Addict

    51. Ah neato!
     
  14. duckfan77

    duckfan77 Well-Known Member

    52 It lets you easily capture timing information about an input signal, say, the time between rising edges.
     
  15. GamerwithnoGame

    GamerwithnoGame Forum Addict

    51. Ah OK! What can you do with that information?
     
  16. duckfan77

    duckfan77 Well-Known Member

    52 In this case, there's data being sent in the pulse lengths, so getting their lengths would be quite helpful. Specifically, the available current to be provided is sent in the duty cycle of a square wave.
     
  17. GamerwithnoGame

    GamerwithnoGame Forum Addict

    51. Ah neat! OK, that's cool :)
     
  18. duckfan77

    duckfan77 Well-Known Member

    52 I can't use IC for it though, so I'm using EXTernal Interrupts to start and stop timers to get the data manually.
     
  19. triggerfinger12

    triggerfinger12 Well-Known Member

    51. School starts in a week...
     
  20. duckfan77

    duckfan77 Well-Known Member

    52 Couple weeks for me, not until the 3rd
     

Share This Page