File tree Expand file tree Collapse file tree 3 files changed +50
-17
lines changed
sparkfun/avr/variants/lilypadusbplus Expand file tree Collapse file tree 3 files changed +50
-17
lines changed Original file line number Diff line number Diff line change 199199 ],
200200 "toolsDependencies" : []
201201 },
202+ {
203+ "name" : " SparkFun AVR Boards" ,
204+ "architecture" : " avr" ,
205+ "version" : " 1.1.9" ,
206+ "category" : " Contributed" ,
207+ "url" : " https://github.com/sparkfun/Arduino_Boards/raw/master/IDE_Board_Manager/sparkfunboards.1.1.9.tar.bz2" ,
208+ "archiveFileName" : " sparkfunboards.1.1.9.tar.bz2" ,
209+ "checksum" : " SHA-256:89480C355876966DB68504E4E4130719942320AECF0AD6AEF819299796B22202" ,
210+ "size" : " 1238253" ,
211+ "help" : {
212+ "online" : " https://forums.sparkfun.com"
213+ },
214+ "boards" : [
215+ {
216+ "name" : " RedBoard"
217+ },
218+ {
219+ "name" : " MaKey MaKey"
220+ },
221+ {
222+ "name" : " Pro Micro"
223+ },
224+ {
225+ "name" : " Fio v3"
226+ },
227+ {
228+ "name" : " Qduino Mini"
229+ },
230+ {
231+ "name" : " Digital Sandbox"
232+ },
233+ {
234+ "name" : " Mega Pro"
235+ },
236+ {
237+ "name" : " RedBot"
238+ },
239+ {
240+ "name" : " Serial 7-segment Display"
241+ },
242+ {
243+ "name" : " ATmega128RFA1 Dev Board"
244+ },
245+ {
246+ "name" : " LilyPad USB Plus"
247+ }
248+ ],
249+ "toolsDependencies" : []
250+ },
202251 {
203252 "name" : " SparkFun SAMD Boards (dependency: Arduino SAMD Boards 1.6.5)" ,
204253 "architecture" : " samd" ,
Original file line number Diff line number Diff line change @@ -156,23 +156,7 @@ static const uint8_t A11 = PIN_A11;
156156//This identifies the register
157157#define digitalPinToPCMSK (p ) ((((p) == 1) || ((p) == 4) || ((p) == 6) || ((p) == 8) || ((p) == 12) || ((p) == 21) || ((p) == 22) || ((p) == 23) || ((p) == A4) || ((p) == A8) || ((p) == A10)) ? (&PCMSK0) : ((uint8_t *)0))
158158//This returns bit position:
159- #define digitalPinToPCMSKbit (p ) ( ((p) == 1) ? 0 : ((p) == 21) ? 1 : ((p) == 22) ? 2 : ((p) == 23) ? 3 : ((p) == 6) ? 7 : (((p) == 4)||((p) == A4)) ? 4 : (((p) == 8)||((p) == A8)) ? 5 : (((p) == 12)||((p) == A10)) ? 6 )
160-
161-
162- //#define digitalPinToPCMSKbit(p) (
163- //((p) >= 8 && (p) <= 11) ?
164- //(p) - 4 :
165- //((p) == 14 ?
166- //3 :
167- //((p) == 15 ?
168- //1 :
169- //((p) == 16 ?
170- //2 :
171- //((p) == 17 ?
172- //0 :
173- //(p - A8 + 4)))))
174-
175-
159+ #define digitalPinToPCMSKbit (p ) ( ((p) == 1) ? 0 : ((p) == 21) ? 1 : ((p) == 22) ? 2 : ((p) == 23) ? 3 : ((p) == 6) ? 7 : (((p) == 4)||((p) == A4)) ? 4 : (((p) == 8)||((p) == A8)) ? 5 : (((p) == 12)||((p) == A10)) ? 6 : (p - A8 + 4) )
176160
177161// __AVR_ATmega32U4__ has an unusual mapping of pins to channels
178162extern const uint8_t PROGMEM analog_pin_to_channel_PGM [];
You can’t perform that action at this time.
0 commit comments