{"action":"reopened","issue":{"url":"https://api.github.com/repos/rlogiacco/VoltageReference/issues/6","repository_url":"https://api.github.com/repos/rlogiacco/VoltageReference","labels_url":"https://api.github.com/repos/rlogiacco/VoltageReference/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/rlogiacco/VoltageReference/issues/6/comments","events_url":"https://api.github.com/repos/rlogiacco/VoltageReference/issues/6/events","html_url":"https://github.com/rlogiacco/VoltageReference/issues/6","id":316602248,"number":6,"title":"Calculated input voltage not providing calibration value","user":{"login":"cuteboi","id":3236512,"avatar_url":"https://avatars3.githubusercontent.com/u/3236512?v=4","gravatar_id":"","url":"https://api.github.com/users/cuteboi","html_url":"https://github.com/cuteboi","followers_url":"https://api.github.com/users/cuteboi/followers","following_url":"https://api.github.com/users/cuteboi/following{/other_user}","gists_url":"https://api.github.com/users/cuteboi/gists{/gist_id}","starred_url":"https://api.github.com/users/cuteboi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cuteboi/subscriptions","organizations_url":"https://api.github.com/users/cuteboi/orgs","repos_url":"https://api.github.com/users/cuteboi/repos","events_url":"https://api.github.com/users/cuteboi/events{/privacy}","received_events_url":"https://api.github.com/users/cuteboi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-04-22T18:36:48Z","updated_at":"2018-04-23T08:42:13Z","closed_at":null,"author_association":"NONE","body":"I tried this out on an Arduino Uno - Mega328p\r\n\r\n```\r\n--- MENU ---\r\n\tR to read Vcc\r\n\tL to load calibration from EEPROM\r\n\tS to store calibration into EEPROM\r\n\tC to clear calibration from EEPROM\r\n\tdddd (4 digits) to calibrate for mV\r\n\tA to print EEPROM calibration start address (length 3)\r\n\tAdddd (4 digits) to set EEPROM calibration start address (length 3)\r\n\tH prints this help\r\nCalculated input voltage is 5120mV\r\nReal bandgap voltage is 1101mV\r\nCalibrating for Vcc 0mV\r\nCalibration value is 0\r\nReal bandgap voltage is 0mV\r\nCalibrating for Vcc 0mV\r\nCalibration value is 0\r\nReal bandgap voltage is 0mV\r\n```\r\nSending R again to the serial again, presented me with 0mv for everything\r\n\r\n```\r\nCalculated input voltage is 0mV\r\nReal bandgap voltage is 0mV\r\nCalibrating for Vcc 0mV\r\nCalibration value is 0\r\nReal bandgap voltage is 0mV\r\nCalibrating for Vcc 0mV\r\nCalibration value is 0\r\nReal bandgap voltage is 0mV\r\n```\r\n\r\nIdeas? The code looks correct, and works when using the readVCC() from the secret multimeter."}}
{"actor":{"display_login":"rlogiacco"}}