Search results

  1. chopnhack

    Converting Switch/Case statement in C to ASM?

    Thank you Harald, you have given me a lot to think over! I am not familiar with using those operators together - is this correct or a typo - does that really allow all numbers but 3 to be compared to Random? True, and I will have to run some tests when I get more code written to look at that...
  2. chopnhack

    Converting Switch/Case statement in C to ASM?

    Thanks Harald, I wasn't sure if the entire line of code was acted upon at that moment. Indeed, I was thrilled to have landed on something like this!! it seemed very well aligned for what I wanted to do. You guys are too much! Harald - I understand, he is in a different time zone, but Hop - you...
  3. chopnhack

    Converting Switch/Case statement in C to ASM?

    Hi guys, I have already done some research on this task, which I thought was going to be simple, but its not(at least for not for me)! I am trying to convert a switch/case statement in C from my previous program (see below): /* * PIC10LF320 * * 02/2016 */ #include <xc.h> #include...
  4. chopnhack

    Question about passing a variable value to an array in C

    Thanks Steve, I went the modulo route, but it was too taxing on the word count of the pic. 63 word count for modulo!!
  5. chopnhack

    Question about passing a variable value to an array in C

    Spot on Adam. Yes, I am taking the value of TMR0 which is a three digit unsigned number, and asking to place each digit into an array so that I can access only the last digit (I actually only need the last digit so other methods that don't take all of the numbers are ok too). From some...
  6. chopnhack

    Question about passing a variable value to an array in C

    Hello all, as the title states, I am trying to pass a variable into an array in C. Specifically I am trying to get the random value of TMR0 of the pic that I am working on into the array. The TMR0 status is an unsigned number from 0-255(I believe). I don't find much information on Google on...
  7. chopnhack

    A long overdue courtesy reminder .....

    I agree with you Dave, if you are not adding content, you are actually making it more distracting and this takes away from the conversation and readability. The 'Like' button is there for that exact reason as KJ6 mentioned as well. I now see that most of this post is probably irrelevant, but its...
  8. chopnhack

    Free TI Webinar SMPS Design

    http://links.mkt102.com/servlet/MailView?ms=NTA2MjE2NjAS1&r=MTM2NjczMTM0OTg0S0&j=ODYwNDUwMDEwS0&mt=2&rj=ODYwNDUwMDA4S0&rt=0
  9. chopnhack

    Wuuussuuup?

    Welcome Nate and thank you for your service!
  10. chopnhack

    Beginner help?

    You can still remote the LED's - just make sure you get the correct leads to the right holes in the board.
  11. chopnhack

    Beginner help?

    LED's normally need a resistor to protect them from excess current. Do you have a link to the build instructions?
  12. chopnhack

    TMP006 Temperature Sensor

    I see no difference. Check to see whichever is cheaper with shipping and order what you need. The boards/chips are the same. Did you see that despite it not being a contact sensor, for any degree of accuracy you have to have the chip very close to its target? The adafruit website had a great...
  13. chopnhack

    Beginner help?

    I would strongly recommend reading the instructions that came with the kit thoroughly first to gain a good understanding of all the components and their placement. The item listed as 'foot' seems to be a pcb where you are to make your attachments. If you want to remote the LED's then yes, you...
  14. chopnhack

    Don't Bin that Microwave!

    I thought of doing the same but noticed that the ceramic paint finish started to chip off! I still have it, but was going to pitch it, maybe I will save it after all, thanks for the input. Did you have any issues with chipping? My thought on reuse was to cut to over sized and then roll the...
  15. chopnhack

    Rest in Peace, Kris

    I think his online family feels the same. It was a rare treat to have known him. RIP Kris.
  16. chopnhack

    LED Fade Circuit

    9 amps of LED lights? How did you come up with a max load of 9A?
  17. chopnhack

    Don't Bin that Microwave!

    I never would have thought it, but microwave ovens have a lot of recoverable parts!! If you are asking why I say this, I took apart two that were destined for the land fill and was able to walk away with a small milk crate full of cool parts. Lots of relays, contact switches, t-stats (more...
  18. chopnhack

    Complete beginner, looking for a the path to build a stun gun

    I would begin with something like Getting Started in Electronics to get some idea of basic electronics. Also ARRL Basic Electronics and Grobs The latter is a text if you get more seriously interested. The first two are good with ARRL probably the best to start with if you want a good overview...
Top