Skip to content

Commit

Permalink
Merge pull request #303 from pimoroni/patch-flowsensor-combined
Browse files Browse the repository at this point in the history
Combine PAA5100 and PMW3901 into a single module for #301
  • Loading branch information
Gadgetoid authored Mar 18, 2022
2 parents ba5cffd + 8ca91f8 commit f8b6423
Show file tree
Hide file tree
Showing 10 changed files with 87 additions and 395 deletions.
2 changes: 0 additions & 2 deletions drivers/pmw3901/pmw3901.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,6 @@ namespace pimoroni {
uint8_t product_id = get_id();
uint8_t revision = get_revision();

printf("Product ID and Revision for PMW3901: %d, %d\n", product_id, revision);

if(product_id != 0x49 || revision != 0x00) {
return false;
}
Expand Down
1 change: 0 additions & 1 deletion micropython/modules/badger2040-micropython.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ include(breakout_roundlcd/micropython)
include(breakout_rgbmatrix5x5/micropython)
include(breakout_matrix11x7/micropython)
include(breakout_msa301/micropython)
include(breakout_paa5100/micropython)
include(breakout_pmw3901/micropython)
include(breakout_mics6814/micropython)
include(breakout_potentiometer/micropython)
Expand Down
64 changes: 0 additions & 64 deletions micropython/modules/breakout_paa5100/breakout_paa5100.c

This file was deleted.

284 changes: 0 additions & 284 deletions micropython/modules/breakout_paa5100/breakout_paa5100.cpp

This file was deleted.

18 changes: 0 additions & 18 deletions micropython/modules/breakout_paa5100/breakout_paa5100.h

This file was deleted.

Loading

0 comments on commit f8b6423

Please sign in to comment.