Skip to content

Commit

Permalink
还原'2024/10/15 17:26:51 2.2.3'
Browse files Browse the repository at this point in the history
  • Loading branch information
LinDong88 committed Nov 8, 2024
1 parent de4189d commit 7cd268b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion maqueenPlusV2.ts
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ namespace maqueenPlusV2 {
switch(eline){
case MyEnumLineSensor.SensorR2:
pins.i2cWriteNumber(I2CADDR, ADC0_REGISTER, NumberFormat.Int8LE);
let adc0Buffer = pins.i2cReadBuffer(I2CADDR, 2);
let adc0Buffer = pins.i2cReadBuffer(I2CADDR, 1);
data = adc0Buffer[1] << 8 | adc0Buffer[0]
break;
case MyEnumLineSensor.SensorR1:
Expand Down
2 changes: 1 addition & 1 deletion pxt.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "maqueenPlusV2",
"version": "2.2.4",
"version": "2.2.3",
"description": "This is the latest version of Maqueen Plus, a programming robot for STEAM education.",
"license": "MIT",
"dependencies": {
Expand Down

0 comments on commit 7cd268b

Please sign in to comment.