git.y1.nz

gbdk-2020

GameBoy Development Kit
download: https://git.y1.nz/archives/gbdk.tar.gz
README | Files | Log | Refs | LICENSE

commit 05adfffd3304fd09249c0b30fcf6056384c76508
parent 71a2398278fe7301554e2c4014cbfafc8813e1f5
Author: bbbbbr <bbbbbr@users.noreply.github.com>
Date:   Fri,  9 May 2025 22:46:06 -0700

Merge pull request #776 from bbbbbr/example/mbc7_note

Example: MBC7: note typos
Diffstat:
Mgbdk-lib/examples/gb/mbc7_accelerometer/Readme.md2+-
Mgbdk-lib/examples/gb/mbc7_accelerometer/src/mbc7_accelerometer.c9++++-----
2 files changed, 5 insertions(+), 6 deletions(-)

diff --git a/gbdk-lib/examples/gb/mbc7_accelerometer/Readme.md b/gbdk-lib/examples/gb/mbc7_accelerometer/Readme.md @@ -31,7 +31,7 @@ The range is for a full rotation of 90 degrees from flat. Note: The ranges below are for regular single-speed processor mode. In GBC Double-speed mode there appears to be an offset of around +440 on the X axis and +480 -on the axis when the cart is flat/centered. +on the Y axis when the cart is flat/centered. X: Left Centered Right 0x8230 <------- 0x81BC -------> 0x8148 diff --git a/gbdk-lib/examples/gb/mbc7_accelerometer/src/mbc7_accelerometer.c b/gbdk-lib/examples/gb/mbc7_accelerometer/src/mbc7_accelerometer.c @@ -19,11 +19,10 @@ // Accelerometer Sensor data ranges // -// These ranges are for regular single-speed -// processor mode. In GBC Double-speed mode -// there appears to be an offset of +440 on -// the X axis and +480 on the axis when the -// cart is flat/centered. +// Note: The ranges below are for regular single-speed +// processor mode. In GBC Double-speed mode there appears +// to be an offset of around +440 on the X axis and +480 +// on the Y axis when the cart is flat/centered. // // Slow rotation, measuring mostly the pull // earth's gravity when the sensor not flat.

This webpage is intended to be an accessible preview of this repository. To get a fuller picture, clone it and use the git CLI.