Skip to content

DigitalFuturesOCADU/Pong-Controller

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Game Start

Overview

This repository contains code for creating a wireless controller for the DF Pong game. The controller uses Bluetooth Low Energy (BLE) to send movement data to a central device and provides audio feedback through a buzzer.

Two Button Example

The Two Button Example demonstrates how to create a simple wireless controller using two buttons and a piezo buzzer. This example is designed for the Nano33 IOT but can be adapted for any Arduino that supports the ArduinoBLE library.

How it works:

  • Two buttons are used to control the movement in the DF Pong game.
  • A piezo buzzer provides audio feedback.
  • The controller sends BLE signals to the central device to indicate button presses.

Interaction:

  • Press the left button to move up.
  • Press the right button to move down.
  • The buzzer will sound when a button is pressed.

Start Template Example

The Start Template Example provides a basic template to start building your own custom controller.

How it works:

  • Basic BLE setup to connect with the DF Pong game.
  • Placeholder functions for button presses and buzzer feedback.

Interaction:

  • Customize the template by adding your own buttons and buzzer logic.
  • Use the provided functions to handle BLE communication and audio feedback.

Arduino Files

For more information about the DF Pong game, visit the DF Pong GitHub repository.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors