{"action":"created","issue":{"url":"https://api.github.com/repos/nickgammon/arduino_sketches/issues/7","labels_url":"https://api.github.com/repos/nickgammon/arduino_sketches/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/nickgammon/arduino_sketches/issues/7/comments","events_url":"https://api.github.com/repos/nickgammon/arduino_sketches/issues/7/events","html_url":"https://github.com/nickgammon/arduino_sketches/issues/7","id":55408155,"number":7,"title":"Missing F() makro in board programmer","user":{"login":"NicoHood","id":6888294,"avatar_url":"https://avatars.githubusercontent.com/u/6888294?v=3","gravatar_id":"","url":"https://api.github.com/users/NicoHood","html_url":"https://github.com/NicoHood","followers_url":"https://api.github.com/users/NicoHood/followers","following_url":"https://api.github.com/users/NicoHood/following{/other_user}","gists_url":"https://api.github.com/users/NicoHood/gists{/gist_id}","starred_url":"https://api.github.com/users/NicoHood/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NicoHood/subscriptions","organizations_url":"https://api.github.com/users/NicoHood/orgs","repos_url":"https://api.github.com/users/NicoHood/repos","events_url":"https://api.github.com/users/NicoHood/events{/privacy}","received_events_url":"https://api.github.com/users/NicoHood/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/nickgammon/arduino_sketches/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":{"login":"nickgammon","id":185088,"avatar_url":"https://avatars.githubusercontent.com/u/185088?v=3","gravatar_id":"","url":"https://api.github.com/users/nickgammon","html_url":"https://github.com/nickgammon","followers_url":"https://api.github.com/users/nickgammon/followers","following_url":"https://api.github.com/users/nickgammon/following{/other_user}","gists_url":"https://api.github.com/users/nickgammon/gists{/gist_id}","starred_url":"https://api.github.com/users/nickgammon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nickgammon/subscriptions","organizations_url":"https://api.github.com/users/nickgammon/orgs","repos_url":"https://api.github.com/users/nickgammon/repos","events_url":"https://api.github.com/users/nickgammon/events{/privacy}","received_events_url":"https://api.github.com/users/nickgammon/received_events","type":"User","site_admin":false},"milestone":null,"comments":13,"created_at":"2015-01-25T10:02:05Z","updated_at":"2015-02-18T10:08:25Z","closed_at":null,"body":"https://github.com/nickgammon/arduino_sketches/blob/master/Atmega_Board_Programmer/Atmega_Board_Programmer.ino#L480\r\nhttps://github.com/nickgammon/arduino_sketches/blob/master/Atmega_Board_Programmer/Atmega_Board_Programmer.ino#L595\r\nhttps://github.com/nickgammon/arduino_sketches/blob/master/Atmega_Board_Programmer/Atmega_Board_Programmer.ino#L681\r\n\r\nI am also wondering if we should put this into a special function to make it more clear (and easier to modify) Maybe something with a better API to also add BootLoaders for Micro and Pro Micro for example.\r\nhttps://github.com/nickgammon/arduino_sketches/blob/master/Atmega_Board_Programmer/Atmega_Board_Programmer.ino#L519-L542\r\n\r\nAnd btw a little note here:\r\nMy modified version uses 99% of the Unos memory. One guy got a verification error at byte 0x7800. Seems that he has no Optiboot installed. For further development you should keep in mind to no exceed this size for an uno. Also the sketch does not compile by default with a Leonardo. But you have the settings, which are nice. Should be fine, just wanted to mention it. Maybe you could default outcomment some bootloader but add some more for specific MCUs like Pro Micro, Micro etc."},"comment":{"url":"https://api.github.com/repos/nickgammon/arduino_sketches/issues/comments/74840380","html_url":"https://github.com/nickgammon/arduino_sketches/issues/7#issuecomment-74840380","issue_url":"https://api.github.com/repos/nickgammon/arduino_sketches/issues/7","id":74840380,"user":{"login":"NicoHood","id":6888294,"avatar_url":"https://avatars.githubusercontent.com/u/6888294?v=3","gravatar_id":"","url":"https://api.github.com/users/NicoHood","html_url":"https://github.com/NicoHood","followers_url":"https://api.github.com/users/NicoHood/followers","following_url":"https://api.github.com/users/NicoHood/following{/other_user}","gists_url":"https://api.github.com/users/NicoHood/gists{/gist_id}","starred_url":"https://api.github.com/users/NicoHood/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NicoHood/subscriptions","organizations_url":"https://api.github.com/users/NicoHood/orgs","repos_url":"https://api.github.com/users/NicoHood/repos","events_url":"https://api.github.com/users/NicoHood/events{/privacy}","received_events_url":"https://api.github.com/users/NicoHood/received_events","type":"User","site_admin":false},"created_at":"2015-02-18T10:08:25Z","updated_at":"2015-02-18T10:08:25Z","body":"Sorry for the long delay of my response.\r\n\r\nI just tested it again. I used an Arduino Uno Clone board and uploaded your sketch (atmega board programmer). No wires attached to the SPI pins (nor pin 10-13).\r\n\r\nIts loads and fails. Then it asks again. Then i type c and it stucks.\r\n```\r\n`Attempting to enter programming mode ...\r\nAtmega chip programmer.\r\nWritten by Nick Gammon.\r\nVersion 1.30\r\nCompiled on Feb 18 2015 at 11:03:37\r\nAttempting to enter programming mode ......................................................\r\nFailed to enter programming mode. Double-check wiring!\r\nProgramming mode off.\r\nType 'C' when ready to continue with another chip ...\r\nAttempting to enter programming mode ...\r\n```\r\n\r\nUsed IDE 1.6 Win7/8.1 to compile. (maybe you should add the IDE version to the beginning of the sketch as well)."}}