Open seveibar opened 3 weeks ago
/attempt #34
with your implementation plan/claim #34
in the PR body to claim the bountyThank you for contributing to tscircuit/docs!
Add a bounty • Share on socials
Attempt | Started (GMT+0) | Solution |
---|---|---|
🔴 @Srayash | Nov 2, 2024, 1:13:05 AM | WIP |
@seveibar I have added schematic circuits for and and or gates.Can you check and verify this? https://stackblitz.com/edit/tscircuit-ttl-and-or-gates?file=lib%2FMyCircuit.manual-edits.ts
Hey @Niharika0104 that's pretty great work, but we need to do a couple things to make this a tutorial:
Same for the OR gate. I can't say that this is an easy issue at the moment, but we do plan on creating a lot of issues like this as we go! (So hopefully there will be more examples of people completing it!)
@seveibar
I'm trying to add two examples, one for an OR gate and another for an AND gate, but I'm encountering an error that says I can't have multiple manual-edits.tsx
files. It seems that a single project can only accommodate one circuit diagram. Am I correct in this assumption? Are you okay with me creating one Stackblitz project to demonstrate the AND gate and another project for the OR gate?
@Niharika0104 so stackblitz currently uses a really really old version of tscircuit, so to be clear stackblitz projects aren't acceptable generally for this task. The code has to run on https://snippets.tscircuit.com because the CLI that runs on stackblitz is very out of date.
Also note that that AND gate and OR gate would be separate snippets. This may be a difficult initial bounty.
@seveibar So you want me to demostrate the examples on https://snippets.tscircuit.com/ not on stackbliz??
@seveibar https://snippets.tscircuit.com/editor?snippet_id=cec8bae1-0afc-44c5-89af-7a7b35b836b7 I made AND Gate circuit If you are okay with this,I will go ahead and create a similar one to OR gate as well.
@Niharika0104 I guess i don't really get your AND gate, shouldn't you have like two push buttons, and if someone presses BOTH of the push buttons a light turns on or something? You have a chip in there but there's no input to it.
Let's make it so...
I have reduced the scope of this issue and the bounty to only the AND gate (the bounty $$$ is the same, but the scope of the issue is decreased to get the bounty. We will do the OR gate as a separate bounty)
@Niharika0104 you may want to reference the USBC Flashlight
I will add them.Right now I'm using this IC7408 from jlcpcb(this is also an AND gate). I will do the changes and get back to you.
/bounty $50