Skip to content
Ike T. Sanglay Jr.

Ike T. Sanglay Jr.

my pseudorandom blog

  • Youtube
  • GitHub
  • About
Menu

All posts tagged golang

Performing Bitwise Operators indirectly by using Arithmetic Operators and stuff

Posted on August 21, 2024September 16, 2024Author adminPosted in Electronics and Programming

The code is in Go. It could be easily ported to other languages. Did you know that you can bitshift a number to the left or right by multiplying a number by 2 or dividing(integer division) a number by 2 respectively? Anyway, let’s start by getting the least significant bit of a number: Then let’s…

Read
A shift register abstraction in Golang

A shift register abstraction in Golang

Posted on April 14, 2019April 14, 2019Author adminPosted in Electronics and Programming

This builds up on the Golang ar150gpio package I made for accessing the GPIOs of the GL.iNet AR-150 router. If you are interested, here is the blog entry for it. As the number of outputs of the router is limited, I decided to write an abstraction for use with the shift register 74HC595N to expand…

Read

A Go package repository for GL.iNet AR-150 GPIO control

Posted on March 17, 2019April 8, 2019Author adminPosted in Consumer Electronics, Electronics and Programming

I have a GL.iNet AR-150 router that I bought from here. It is running OpenWrt. The variant that I chose is the one with an external antenna. I did write a shell script for manipulating the GPIOs. But I lost it(lol). I even implemented an abstraction for the shift register(74HC595). The idea is that the…

Read

Categories

  • 3D Printing
  • Akruvia
  • Books
  • Consumer Electronics
  • Electronics and Programming
  • Events
  • Food
  • Photography
  • Places
  • Toys
  • Travel
  • Uncategorized

Recent Posts

  • Performing Bitwise Operators indirectly by using Arithmetic Operators and stuff
  • Akruvia OAK48 (Documentation/Product Guide) | 12×4 Ortholinear Keyboard | Gateron Low Profile | Vial
  • Akruvia Palm (Documentation/Product Guide) | Handheld Cyberdeck Small USB Keyboard
  • Akruvia Maker Badge (Documentation/Product Guide)
  • Enabling Bitwise Operations on Mesecon Luacontrollers in Minetest

Archives

  • August 2024
  • May 2024
  • April 2024
  • December 2023
  • November 2023
  • September 2023
  • June 2023
  • May 2023
  • March 2023
  • September 2021
  • June 2021
  • September 2020
  • March 2020
  • January 2020
  • December 2019
  • November 2019
  • October 2019
  • August 2019
  • July 2019
  • June 2019
  • May 2019
  • April 2019
  • March 2019
  • February 2019

©2025 Ike T. Sanglay Jr. | Theme by SuperbThemes.Com