{"id":15510320,"url":"https://github.com/ananace/bitwizard-ruby","last_synced_at":"2026-05-14T18:32:36.820Z","repository":{"id":15964757,"uuid":"18707435","full_name":"ananace/BitWizard-Ruby","owner":"ananace","description":"Ruby library for controlling the BitWizard boards (SPI and I2C)","archived":false,"fork":false,"pushed_at":"2014-04-22T10:45:45.000Z","size":429,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-21T04:16:47.874Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ananace.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-04-12T15:36:32.000Z","updated_at":"2016-04-08T20:51:33.000Z","dependencies_parsed_at":"2022-09-13T11:00:49.388Z","dependency_job_id":null,"html_url":"https://github.com/ananace/BitWizard-Ruby","commit_stats":null,"previous_names":["ace13/bitwizard-ruby"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ananace%2FBitWizard-Ruby","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ananace%2FBitWizard-Ruby/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ananace%2FBitWizard-Ruby/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ananace%2FBitWizard-Ruby/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ananace","download_url":"https://codeload.github.com/ananace/BitWizard-Ruby/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240420982,"owners_count":19798502,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-02T09:47:44.007Z","updated_at":"2026-05-14T18:32:36.765Z","avatar_url":"https://github.com/ananace.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"BitWizard-Ruby [![Gem Version](https://badge.fury.io/rb/bitwizard.svg)](http://badge.fury.io/rb/bitwizard)\n==============\n\nRuby library for controlling the BitWizard boards (over both SPI and I2C, though only SPI is tested for now)\nBuilt using [pi_piper](https://github.com/jwhitehorn/pi_piper), so for now it only works on the Raspberry Pi\n\nInstallation\n------------\n\nJust run ```# gem install bitwizard``` as root to install the library.\n\n\nExamples\n-------\n\nReading PWM values from a spi_3fets board would be something as simple as;\n```ruby\nrequire 'bitwizard'\n\nboard = BitWizard::Board.detect address: 0x8a\nputs \"#{board.type}:\"\n(1..3).each do |i|\n  puts \"  #{board[i]}\"\nend\n```\n\nIf you want to use the i2c version of the board all you would have to do is add ```bus: :i2c```\n```ruby\nboard = BitWizard::Board.detect address: 0x8a, bus: :i2c\n```\n\nYou can also use the ```bitwizardctl``` utility to perform simple actions without writing your own software, things like;\n - Reading/Writing PWM values\n - Getting/Setting stepper position/target/delay\n - Spinning/Stopping motors\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fananace%2Fbitwizard-ruby","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fananace%2Fbitwizard-ruby","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fananace%2Fbitwizard-ruby/lists"}