Search results

  1. chopnhack

    Microcontroller controlled by pushbutton for LED flashlight

    A pickit 2 would serve your purposes. Check that the pic is supported first. From when I last searched pickit 2 was more expensive and harder to find than the 3.
  2. chopnhack

    Microcontroller controlled by pushbutton for LED flashlight

    Not necessarily. Just because they are counterfeit (or as Kris points out clones) doesn't mean they don't work. The circuitry is open source (I believe) and people do make their own, its just the reliability is in question. I wouldn't dismay, use it and if you get 1 in 100 errors, so what - just...
  3. chopnhack

    Microcontroller controlled by pushbutton for LED flashlight

    This is what I was referring to as well - using the socket on a developer board to make it easy to program all your chips. They could be popped out and then soldered into the final device. The sockets are pricey as you have found. Another option would be to make contacts at the edge of the...
  4. chopnhack

    Stumped - please help identify this connector

    I hear ya, that is why I posted the first link. Tyco support is actually really good. You might get lucky with them. They have a chat so you could link them to the photos and see if they can source it for you. Digikey can be hard to navigate sometimes, but customer service their has been top...
  5. chopnhack

    Microcontroller controlled by pushbutton for LED flashlight

    Hi TT, if you go the PIC route you would need a programmer like: Pic Kit 3 This is a complete solution. There is a programming IDE and software to upload your code to the pic itself and it comes with the necessary cables. I don't think you will have room on the board for a ICSP so you would...
  6. chopnhack

    Stumped - please help identify this connector

    You might want to contact Tyco They have many connectors that look similar. Another option would be to contact Digikey and see if they have any matches. You can go through their website as well and search for your connector based on how many pins, etc. Molex makes many as well - most of these...
  7. chopnhack

    Incrementing Slice in Python?

    Cool, I am glad that it has brought interest to you. I think its a great language. When I first started the course, I thought there were some similarities with C, but Python seems more advanced and intuitive than C ever was. I feel this way because of the method by which it processes code - its...
  8. chopnhack

    Incrementing Slice in Python?

    Hi Merlin, I really hate how the site software kills the white space! This picture should help abit. The code did indeed work, even when s1 was shorter than s2 - it was handled by line 26. I separated the incrementing of s1 and s2 to two different variables 'i' and 'it' because they would vary...
  9. chopnhack

    Incrementing Slice in Python?

    Ok, I got it - its ugly but functional and satisfied the various cases thrown at it via the automatic checker. def laceStrings(s1, s2): """ s1 and s2 are strings. Returns a new str with elements of s1 and s2 interlaced, beginning with s1. If strings are not of same...
  10. chopnhack

    Incrementing Slice in Python?

    Thank you Merlin! I need more than that!! LOL Creating the new string and being able to concantenate back to it worked beautifully. The problem became apparent when I only accounted for two scenarios: base test case of both strings equal in length and then, either string being 1 character...
  11. chopnhack

    Tips for learning recursion?

    No worries, it would probably be above my level at the moment anyways! Thank you though.
  12. chopnhack

    Incrementing Slice in Python?

    Hello again, I need assistance on a question - no spoilers, just a direction if you will: I thought I could increment a slice function --> s1[i+1] but Python doesn't allow that operation. def laceStrings(s1, s2): """ s1 and s2 are strings. Returns a new str with elements of s1 and s2...
  13. chopnhack

    Is Nickel Plated Stainless Steel Resistant to Ammonium Persulfate Etching

    This may sound stupid, but look into a product called plasti-dip. Call them up and see if their product would be chemically compatible with what you intend to use. http://www.plastidip.com/home_solutions/Contact_Us If it is, coat the basket several times with enough time in between coats to dry...
  14. chopnhack

    Tips for learning recursion?

    Indeed! Thank you, at least I know I am not alone in this, LOL! Thanks Kris, of course I would love to see it!!! But it might be all Greek to me... LOL The stack explanation was quite good, thanks for that - I had a vague idea of how it was done, but this confirms and builds on it. At this...
  15. chopnhack

    Tips for learning recursion?

    Thank you @Merlin3189 - the topic is wonderfully interesting, but I am still having difficulty. I agree with you with respect to memory allocation and use and I appreciate you bringing that up since my current focus will be using a μcu. Establishing the base case and then coding the recursive...
  16. chopnhack

    Can you use serial communications on ethernet?

    Trying to keep all the pieces together :eek:
  17. chopnhack

    Python programming course help

    Dude, you were Wacky Whale, ROFL lol - I didn't get to see my name, it just said 'me' - ROFL, ROFL - Gregarious Giraffe, that is awesome!!! haahaaahhahaha Yes, I think that site has helped me tremendously! So it happened again with Fibonacci - I think what I am seeing is the temporary value...
  18. chopnhack

    Python programming course help

    I liked your Turing test Kris - are you a real person? :p You didn't expect me on the other end?:D It did work fine, I was just surprised that it didn't terminate at the end of the string length, it might have been the site software for all we know - but you did see it after 'n', it returned...
  19. chopnhack

    Python programming course help

    I really marvel at how fast you are able to type and explain complex matters - thank you!! I did notice some odd behavior when I ran the program through pythontutor.com which has become my favorite method of debugging - I am able to step through each line and see the variables value's at the...
Top