YCAM Workshop Part 2

Loading...

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

0 comments

Post a comment

    Post a comment
    Embed Video
    Edit your comment Cancel

    1 Favorite

    YCAM Workshop Part 2 - Presentation Transcript

    1. 2007.12.22-23 YCAM #2 HELLO!!
    2. 2 1 14:40 15:00 • • • LED
    3. • – 2 – GND – V
    4. • – – A
    5. • – – Ω
    6. • 1,000 1kΩ • 1,000,000 1MΩ • 1,000 1 1mA • 1,000,000 1 50µA
    7. • •
    8. +5V GND
    9. LED
    10. • • – – –
    11. • • •
    12. • •
    13. LED
    14. LED • LED 20mA • • •
    15. V =I ×R • V V • I A • R Ω
    16. − LED = LED ×R R − LED R= LED 5.0V LED 1.8V 10mA 5 − 1.8 3.2 R= = = 0.01 0.01
    17. LED
    18. • +5V • GND •
    19. LED NG
    20. 2 2 15:00 15:20 Processing • • •
    21. Processing • • • •
    22. Processing • Processing Development Environment • Sketch • Display Window
    23. Processing 1 1 // 1 void setup() { // Display Window size(200, 200); } // void draw() { // background(255, 255, 255); }
    24. Processing 2
    25. Processing 2 2 PFont myFont; // void setup() { size(200, 200); myFont = loadFont(\"HelveticaNeue-32.vlw\"); // textFont(myFont, 32); // } void draw() { background(120, 120, 120); text(\"Hello!!\", 15, 50); // }
    26. Processing • • •
    27. 2 3 15:20 16:30 Funnel • Gainer I/O • • LED •
    28. Funnel Gainer I/O 1. Funnel Server 2. I/O LED 3. I/O LED
    29. Funnel 3 I/O LED import processing.funnel.*; Gainer gainer; void setup() { size(200, 200); frameRate(30); gainer= new Gainer(this, Gainer.MODE1); gainer.autoUpdate = true; } void draw() { background(100); }
    30. Funnel 4 I/O LED void mousePressed() { gainer.led().value = 1.0; } void mouseReleased() { gainer.led().value = 0.0; }
    31. Funnel 5 I/O LED import processing.funnel.*; Gainer gainer; void setup() { size(200, 200); frameRate(30); gainer= new Gainer(this, Gainer.MODE1); gainer.autoUpdate = true; } void draw() { background(100); }
    32. Funnel 6 I/O LED void gainerButtonEvent(boolean pressed) { if (pressed) { gainer.led().value = 1.0; } else { gainer.led().value = 0.0; } }
    33. Funnel Gainer I/O 2 • dout 0 1 2 – LED – • aout 0 255 256 – LED –
    34. Funnel aout 0 LED
    35. Funnel aout 0 LED
    36. Funnel 7 aout 0 LED void setup() { ... osc = new Osc(this, Osc.SQUARE, 1.0, 0); osc.serviceInterval = 30; osc.addEventListener(Osc.UPDATE, \"oscUpdated\"); } void oscUpdated(Osc osc) { gainer.led().value = osc.value; }
    37. Funnel 8 aout 0 LED void risingEdge(PortEvent e) { if (e.target.number == gainer.button) { osc.reset(); osc.start(); } } void fallingEdge(PortEvent e) { if (e.target.number == gainer.button) { osc.stop(); } }
    38. Funnel Gainer I/O 2 • din 0 1 2 – – • ain 0 255 256 – –
    39. Funnel ain 0
    40. Funnel ain 0
    41. Funnel ain 0 1. SimpleScope 2. 3. ain 1 4.
    42. Funnel
    43. Funnel
    44. Funnel 1. Topics/Fractals and L-Systems/Tree 2. 3. Funnel 4. mouseX ain 0
    45. Funnel ain 0
    46. Funnel ain 0
    47. Funnel ain 0 1. Tree 2. SimpleScope 3. Scaler 4.
    48. Funnel ain 0
    49. Funnel ain 0
    50. Funnel ain 0
    51. Funnel ain 0
    52. Funnel ain 0
    53. Funnel ain 0
    54. Funnel ain
    55. Funnel ain
    56. Funnel ain 1. SimpleScope 2. 3 3. x, y, z • •
    57. Funnel • •
    58. Funnel
    59. Funnel 1. 2. SimpleScope 3. -1 +1 4. sin
    60. Funnel 1. RGBCube Mouse 2. 3.
    61. Funnel ain 0
    62. Funnel • • •
    63. 2 16:30 17:00 • LED 9 analogInput(0) SetPoint void setup() { ... gainer.analogInput(0).filters = filters; ... } void risingEdge(PortEvent e) { if (e.target.number == gainer.analogInput[0]) { ... } }
    64. 3 17:00 18:00 1. 30 2. 1

    kotobukikotobuki, 2 years ago

    custom

    1479 views, 1 favs, 1 embeds more stats

    More Info

    © All Rights Reserved

    Go to text version
    • Total Views 1479
      • 1457 on SlideShare
      • 22 from embeds
    • Comments 0
    • Favorites 1
    • Downloads 36
    Most viewed embeds
    • 22 views on http://funnel.cc

    more

    All embeds
    • 22 views on http://funnel.cc

    less

    Flagged as inappropriate Flag as inappropriate
    Flag as innappropriate

    Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

    Cancel

    Categories