1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 | using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace PWMjack { public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void Go_Click(object sender, EventArgs e) { wavetime.Interval = Int32.Parse(avlue.Text); wavetime.Enabled = true; } private void wavetime_Tick(object sender, EventArgs e) { Console.Beep(); wavetime.Interval = Int32.Parse(avlue.Text); } private void avlue_TextChanged(object sender, EventArgs e) { } private void track_Scroll(object sender, EventArgs e) { avlue.Text = track.Value.ToString(); wavetime.Interval= Int32.Parse(avlue.Text); } } } |
Saturday, September 5, 2015
Audio Jack PWM
Needed a goodway to do pwm from the computer directly, went with the audio jack as the source. Pretty simple script and GUI but this damn bog is just a showcase in case for some reason I need to demonstrate whatever.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment