{"action":"created","issue":{"url":"https://api.github.com/repos/neu-rah/PCINT/issues/4","repository_url":"https://api.github.com/repos/neu-rah/PCINT","labels_url":"https://api.github.com/repos/neu-rah/PCINT/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/neu-rah/PCINT/issues/4/comments","events_url":"https://api.github.com/repos/neu-rah/PCINT/issues/4/events","html_url":"https://github.com/neu-rah/PCINT/issues/4","id":320070904,"number":4,"title":"no A0","user":{"login":"tarbear123","id":38800609,"avatar_url":"https://avatars2.githubusercontent.com/u/38800609?v=4","gravatar_id":"","url":"https://api.github.com/users/tarbear123","html_url":"https://github.com/tarbear123","followers_url":"https://api.github.com/users/tarbear123/followers","following_url":"https://api.github.com/users/tarbear123/following{/other_user}","gists_url":"https://api.github.com/users/tarbear123/gists{/gist_id}","starred_url":"https://api.github.com/users/tarbear123/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tarbear123/subscriptions","organizations_url":"https://api.github.com/users/tarbear123/orgs","repos_url":"https://api.github.com/users/tarbear123/repos","events_url":"https://api.github.com/users/tarbear123/events{/privacy}","received_events_url":"https://api.github.com/users/tarbear123/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-05-03T20:36:16Z","updated_at":"2018-05-03T21:10:49Z","closed_at":null,"author_association":"NONE","body":"i think that you should add the arduino uno and add pins A0 to A5 (like on the arduino uno)"},"comment":{"url":"https://api.github.com/repos/neu-rah/PCINT/issues/comments/386437836","html_url":"https://github.com/neu-rah/PCINT/issues/4#issuecomment-386437836","issue_url":"https://api.github.com/repos/neu-rah/PCINT/issues/4","id":386437836,"user":{"login":"tarbear123","id":38800609,"avatar_url":"https://avatars2.githubusercontent.com/u/38800609?v=4","gravatar_id":"","url":"https://api.github.com/users/tarbear123","html_url":"https://github.com/tarbear123","followers_url":"https://api.github.com/users/tarbear123/followers","following_url":"https://api.github.com/users/tarbear123/following{/other_user}","gists_url":"https://api.github.com/users/tarbear123/gists{/gist_id}","starred_url":"https://api.github.com/users/tarbear123/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tarbear123/subscriptions","organizations_url":"https://api.github.com/users/tarbear123/orgs","repos_url":"https://api.github.com/users/tarbear123/repos","events_url":"https://api.github.com/users/tarbear123/events{/privacy}","received_events_url":"https://api.github.com/users/tarbear123/received_events","type":"User","site_admin":false},"created_at":"2018-05-03T21:10:49Z","updated_at":"2018-05-03T21:10:49Z","author_association":"NONE","body":"when i go to upload the code, i get\r\nArduino: 1.8.5 (Windows Store 1.8.10.0) (Windows 10), Board: \"Arduino/Genuino Uno\"\r\n\r\nIn file included from C:\\Users\\taran\\Documents\\Arduino\\sketch_may02a\\sketch_may02a.ino:1:0:\r\n\r\nC:\\Users\\taran\\Documents\\Arduino\\libraries\\PCINT-master\\src/pcint.h:50:5: warning: #warning using maps! [-Wcpp]\r\n\r\n    #warning using maps!\r\n\r\n     ^\r\n\r\nC:\\Users\\taran\\Documents\\Arduino\\libraries\\PCINT-master\\src/pcint.h:53:113: warning: narrowing conversion of '-1' from 'int' to 'const uint8_t {aka const unsigned char}' inside { } [-Wnarrowing]\r\n\r\n     const uint8_t pcintPinMap[3][8] PROGMEM={{8,9,10,11,12,13,-1,-1},{14,15,16,17,18,19,20,21},{0,1,2,3,4,5,6,7}};\r\n\r\n                                                                                                                 ^\r\n\r\nC:\\Users\\taran\\Documents\\Arduino\\libraries\\PCINT-master\\src/pcint.h:53:113: warning: narrowing conversion of '-1' from 'int' to 'const uint8_t {aka const unsigned char}' inside { } [-Wnarrowing]\r\n\r\nC:\\Users\\taran\\Documents\\Arduino\\sketch_may02a\\sketch_may02a.ino: In function 'void setup()':\r\n\r\nsketch_may02a:15: error: no matching function for call to 'PCattachInterrupt(int&, int)'\r\n\r\n PCattachInterrupt<14>(mydiceFunction,CHANGE);\r\n\r\n                                            ^\r\n\r\nC:\\Users\\taran\\Documents\\Arduino\\sketch_may02a\\sketch_may02a.ino:15:44: note: candidate is:\r\n\r\nIn file included from C:\\Users\\taran\\Documents\\Arduino\\sketch_may02a\\sketch_may02a.ino:1:0:\r\n\r\nC:\\Users\\taran\\Documents\\Arduino\\libraries\\PCINT-master\\src/pcint.h:103:7: note: template<unsigned char PIN> void PCattachInterrupt(mixHandler, uint8_t)\r\n\r\n  void PCattachInterrupt(HANDLER_TYPE userFunc, uint8_t mode) {\r\n\r\n       ^\r\n\r\nC:\\Users\\taran\\Documents\\Arduino\\libraries\\PCINT-master\\src/pcint.h:103:7: note:   template argument deduction/substitution failed:\r\n\r\nC:\\Users\\taran\\Documents\\Arduino\\sketch_may02a\\sketch_may02a.ino:15:44: note:   cannot convert 'mydiceFunction' (type 'int') to type 'mixHandler'\r\n\r\n PCattachInterrupt<14>(mydiceFunction,CHANGE);\r\n\r\n                                            ^\r\n\r\nexit status 1\r\nno matching function for call to 'PCattachInterrupt(int&, int)'\r\n\r\nand do i need\r\nISR (PCINT1_vect) // handle pin change interrupt for A0 to A5 here\r\n {\r\n     digitalWrite(14,analogRead(A0));\r\n }  "}}
{"actor":{"display_login":"tarbear123"}}