- Lesson 7.1: Making a Programmable Mouse
- Lesson 7.2: Accelerometer Mouse
- Project Examples
- Next Lesson
In Lesson 7 of our CPX series, we will learn how to use the CPX as a programmable mouse. We’ll begin by making a discrete mouse that shifts the mouse cursor by small amounts with button A and B presses before building a more complex accelerometer-based mouse with continuous input.
In this lesson, we will show how to use the CPX as a programmable mouse.
In this lesson, we will show how to use the CPX’s built-in accelerometer to make smooth, continuous mouse input.
All project examples below provide tutorials with example MakeCode code.
In the next lesson, we’ll learn how to hook up external sensors like potentiometers using analog input on the CPX.