Author: Ali Jani

How to measure and display battery level on micro-controller Arduino projects

Many micro-controller projects use lithium ion (li-ion) batteries and we needs a simple way to display the state of charge (SoC) which is how much battery we have left. This is typically displayed on the screen as a partially filled battery icon and optionally a percentage indicator next to it. There are however several challenges […]

Risk dice roller

Here is a simple mobile app I helped my son write. He is a big Risk fan and this seemed like a great way for him to get introduced to android development. Risk Dice Roller app is designed to replace dice needed for the original risk board game. It automates the rolling process and keeps […]

document.getElementById in with Master Pages

Using JavaScript to locate controls in pages that are linked to master pages can be tricky.  This is because the reassigns control IDs dynamically and the names change. A simple solution is to use inline Tags. For Example: Instead for using: document.getElementById(“Label1″) try using: document.getElementById(“<%=Label1.ClientID%>”)

Scroll to top