Git Product home page Git Product logo

ima767_medp349_spring2019's People

Contributors

andydoro avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

ima767_medp349_spring2019's Issues

Issues with capacitive touch and alligator clips with CPX

I'm attempting to use capacitive touch to activate tones on the Circut Python Express. I've had success with using two different codes (Make Code .uf2 file and CircutPython .py file, both based on what they're linked to) and when the pin on the board is touched, I get sound.

However, whenever I attach an alligator clip, there's continual contact that keeps triggering the sound. I've experimented with code that should have solved this problem and I know there's the mute switch, but nothing is working.

I'm assuming something I'm doing/overlooking is the variable, but I haven't figured it out yet.

What are some better ways to store the resistors?

Hey all! I got the Elegoo UNO R3 Super Starter Kit and the resistors come attached to two really flimsy pieces of paper. It's a pain in the butt putting the resistors back into those pieces, especially after they get real bent up from use.

I'm wondering: what are some more practical ways to organize the resistors, while also saving space? The kit box isn't very big so I'm afraid that getting separate bags for all of them will take up too much space.

If Statement: Tone Frequency

Hello. I am trying to figure out what the function would be for stopping the buzzer for a frequency over 330. There are some errors in my code; I need some help with my integers and the syntax for the argument. Also need clarification on the purpose of a function for tone frequency. Thanks!

int buzzer = 12;
int frequency = 330;

void setup() {
  // put your setup code here, to run once:
pinMode(buzzer, OUTPUT);

Serial.begin(9600);
}

void loop() {
  // put your main code here, to run repeatedly:

if (buzzer > frequency){
    analogWrite (buzzer, frequency);
    delay (1000);
} 
else { analogWrite (buzzer, LOW);
}

tone(buzzer,440); //A
delay(1000);
;

tone(buzzer,370); //F#
delay(1000);

tone(buzzer,330); //E
delay(500);

tone(buzzer,370); //F#
delay(200);

tone(buzzer,330); //E
delay(400);

tone(buzzer,294); //D
delay(500);

tone(buzzer,330); //E
delay(500);

}

LED Brightness

Hi guys! I was wondering if anyone figured out how to make the LED lights brighter. I did some searching on the web but nothing they said worked. I have my lights setup where they delay and look like Knightrider but I can't figure out the brightness level. Any info would help! Thanks!

3-Pin Header in Elegoo Kit for CIRC04?

I'm trying to start work on CIRC04 for the homework on Tuesday, but from what I'm seeing, there's no 3-Pin Header to connect the servo motor to the breadboard. I'm curious as to whether anyone else encountered this/if I'm missing something/if there's a workaround? I'll keep digging, but right now I'm stumped after going through the kit.

Common Cathode vs. Common Anode

I programmed a 4 digit 7 segment display. In my code, when doing the digitalWrite for the digits, LOW would turn that digit on. When doing the digitalWrite for the segments, HIGH would turn that segment on. Does this mean I am working with a common anode or cathode? #confused

Example:
digitalWrite(D1, LOW);
digitalWrite(D2, HIGH);
digitalWrite(D3, HIGH);
digitalWrite(D4, HIGH);
//my first digit will be 0, turning off G segment to make 0
//on LED display
digitalWrite(pinA, HIGH);
digitalWrite(pinB, HIGH);
digitalWrite(pinC, HIGH);
digitalWrite(pinD, HIGH);
digitalWrite(pinE, HIGH);
digitalWrite(pinF, HIGH);
digitalWrite(pinG, LOW);
delay(500);

Knight Rider - first pin too dim

When working on the Knight Rider assignment, I had a brief period where the first pin was significantly dimmer than all other pins. It isn't happening anymore, but I wasn't able to determine what caused it or what solved it. Did this happen to anyone else? Is it code related?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.