Class AB Audio Amplifier | HACK A WEEK This week we’ll take a look at another type of audio amplifier, the class AB amp. As we saw in Hack #19 the class A amp has a transistor that is biased with a voltage that makes it essentially stay turned on all the time. This single transistor handles the entire waveform both positive and negative. The class B amplifier uses two transistors. One handles the positive side of the waveform and the other handles the negative side of the waveform. This project is fairly easy to build and all the parts are readily available. Keep on hackin! Parts list: 2 – 2N3904 NPN transistors 1 – 2N3906 PNP transistor 1 – 47 uF electrolytic capacitor 1 – 470 uF electrolytic capacitor 1 – 100K ohm resistor 1 – 1K ohm resistor 2 – 1N4148 diodes Schematic:
Android Tools Project Site Minecraft Script Pictures Wherein you can see nifty pictures, and read some text too. It's minecraft! Yay! The Code Go to this page if you're interested in the code, so you too can modify your Minecraft save files. Intro So, I realized that there is no combined page for the scripts I've been writing for Minecraft. The Story Beginnings Like many of you, I learned about Minecraft through a link from a blog (I think it was Three Panel Soul). The first script I wrote was a simple interface to edit .mclevel files. Next, I started on a script to convert Dwarf Fortress levels to Minecraft levels. Castles Castles! Over the course of a few weeks, I gradually upgraded the code to allow multiple levels, an offset keep, doors, gatehouses, and towers along the walls. Merging Maps During this whole process, I was becoming familiar with the Minecraft forums and the mapping community. Trees While developing the code for making castles, another thought had been growing in my mind. This is by far my most popular script. City Groundwork
Rosetta Code C language - Simultaneous button push & Switch Like the example you provided of 157 where it's sent as '1' '5' and '7' is there a way to put all three of those in one element? Yes and no. If by one element, you mean something like an int, then, no, not directly. If by one element, you mean an array of chars, then, yes. We need to go back to your original question. I am trying to read inputs from Serial.read(). Where is this data coming from, and what triggers that source to send data? Serial data transmission is asynchronous. It also means that the sender needs to present the data in a way that the receiver can tell how to deal with the data it receives. If the sender is going to send 4 values, 157, 213, 101, and 89, as characters, and includes no separators, the data stream will look like this: "15721310189". Given a stream like that, it is impossible to reconstruct the data from the sender. If the data is sent like "157;213;101;89;" instead, then the receiver has a hope of reconstructing the data.
Tutorial - Learn Python in 10 minutes | Stavros' Stuff NOTE: If you would like some Python development done, my company, Stochastic Technologies, is available for consulting. This tutorial is available as a short ebook. The e-book features extra content from follow-up posts on various Python best practices, all in a convenient, self-contained format. All future updates are free for people who purchase it. Preliminary fluff So, you want to learn the Python programming language but can't find a concise and yet full-featured tutorial. Properties Python is strongly typed (i.e. types are enforced), dynamically, implicitly typed (i.e. you don't have to declare variables), case sensitive (i.e. var and VAR are two different variables) and object-oriented (i.e. everything is an object). Getting help Help in Python is always available right in the interpreter. >>> help(5)Help on int object:(etc etc) >>> dir(5)['__abs__', '__add__', ...] >>> abs. Syntax Python has no mandatory statement termination characters and blocks are specified by indentation. Strings
YouTube Playlists for Learning Programming YouTube has been very good platform for learning any thing. Earlier you have seen 400+ courses on YouTube and 130+ NPTEL courses. There are few more courses especially about computer programming. These are contributed by various individuals. thenewboston: thenewboston is a great youtube channel, has more than 2o playlists covering topics Python, C, Java, iPhone development and web programming like HTML, CSS, PHP. Xoax.net Xoax has more than 200 videos but mainly focuses on C++. PHPacademy As the name suggests, it focuses mainly on PHP and some on MySql. There are more videos on small projects like writing your own search engine for your database, pagination, creating a rating system etc… Related posts: Get more stuff like this
Programming, Motherfucker - Do you speak it?