Skip to content

Commit d4288ae

Browse files
author
Mike Grusin
committed
Fixed analog out bug
Removed reference to mapResolution (removed to use fixed resolution to reduce core size)
1 parent 1adff9d commit d4288ae

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

IDE_Board_Manager/package_sparkfun_index.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -222,8 +222,8 @@
222222
"category": "Contributed",
223223
"url": "https://github.com/sparkfun/Arduino_Boards/raw/LilyMini_testing/IDE_Board_Manager/sparkfun-samd-1.4.0.tar.bz2",
224224
"archiveFileName": "sparkfun-samd-1.4.0.tar.bz2",
225-
"checksum": "SHA-256:C5FFF33FC410E4074A454CDDCE9242DBBDFAD1C1B387A14644C5A83D07DA4A54",
226-
"size": "288760",
225+
"checksum": "SHA-256:D2DBAFABE77F60A1A085A80DE3E086328681FE90F16D026B417554B3FB9EDFDD",
226+
"size": "288700",
227227
"help": {
228228
"online": "https://forums.sparkfun.com"
229229
},
-60 Bytes
Binary file not shown.

sparkfun/samd/cores/LilyMini/wiring_analog.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ void analogWrite(uint32_t pin, uint32_t value)
232232

233233
// DAC removed in LilyMini for space / simplicity (use PWM)
234234

235-
value = mapResolution(value, _writeResolution, 8);
235+
// value = mapResolution(value, _writeResolution, 8);
236236

237237
if ((attr & PIN_ATTR_PWM) == PIN_ATTR_PWM)
238238
{

0 commit comments

Comments
 (0)