{"action":"created","issue":{"url":"https://api.github.com/repos/aFewBits/stc-led-clock/issues/9","repository_url":"https://api.github.com/repos/aFewBits/stc-led-clock","labels_url":"https://api.github.com/repos/aFewBits/stc-led-clock/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/aFewBits/stc-led-clock/issues/9/comments","events_url":"https://api.github.com/repos/aFewBits/stc-led-clock/issues/9/events","html_url":"https://github.com/aFewBits/stc-led-clock/issues/9","id":336190952,"node_id":"MDU6SXNzdWUzMzYxOTA5NTI=","number":9,"title":"Need working HEX file for YD-020 clock","user":{"login":"Madhava-04","id":40631195,"node_id":"MDQ6VXNlcjQwNjMxMTk1","avatar_url":"https://avatars3.githubusercontent.com/u/40631195?v=4","gravatar_id":"","url":"https://api.github.com/users/Madhava-04","html_url":"https://github.com/Madhava-04","followers_url":"https://api.github.com/users/Madhava-04/followers","following_url":"https://api.github.com/users/Madhava-04/following{/other_user}","gists_url":"https://api.github.com/users/Madhava-04/gists{/gist_id}","starred_url":"https://api.github.com/users/Madhava-04/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Madhava-04/subscriptions","organizations_url":"https://api.github.com/users/Madhava-04/orgs","repos_url":"https://api.github.com/users/Madhava-04/repos","events_url":"https://api.github.com/users/Madhava-04/events{/privacy}","received_events_url":"https://api.github.com/users/Madhava-04/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-27T11:34:31Z","updated_at":"2018-06-29T14:39:24Z","closed_at":null,"author_association":"NONE","body":"I understand that you have a code that works well for the circuit I attach here.  As I have no knowledge of coding, I request you to send me HEX file that I could flash to STC15F204EA on this clock.  I want to do this mainly because the stock firmware does not support 12/24 Hr mode. \r\n![yd-020 clock](https://user-images.githubusercontent.com/40631195/41971446-18799598-7a2c-11e8-9f6d-1f9622c39549.jpg)\r\n"},"comment":{"url":"https://api.github.com/repos/aFewBits/stc-led-clock/issues/comments/401374550","html_url":"https://github.com/aFewBits/stc-led-clock/issues/9#issuecomment-401374550","issue_url":"https://api.github.com/repos/aFewBits/stc-led-clock/issues/9","id":401374550,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMTM3NDU1MA==","user":{"login":"flyingsaucer75","id":12463245,"node_id":"MDQ6VXNlcjEyNDYzMjQ1","avatar_url":"https://avatars2.githubusercontent.com/u/12463245?v=4","gravatar_id":"","url":"https://api.github.com/users/flyingsaucer75","html_url":"https://github.com/flyingsaucer75","followers_url":"https://api.github.com/users/flyingsaucer75/followers","following_url":"https://api.github.com/users/flyingsaucer75/following{/other_user}","gists_url":"https://api.github.com/users/flyingsaucer75/gists{/gist_id}","starred_url":"https://api.github.com/users/flyingsaucer75/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flyingsaucer75/subscriptions","organizations_url":"https://api.github.com/users/flyingsaucer75/orgs","repos_url":"https://api.github.com/users/flyingsaucer75/repos","events_url":"https://api.github.com/users/flyingsaucer75/events{/privacy}","received_events_url":"https://api.github.com/users/flyingsaucer75/received_events","type":"User","site_admin":false},"created_at":"2018-06-29T14:39:24Z","updated_at":"2018-06-29T14:39:24Z","author_association":"NONE","body":"@Madhava-04\r\nMy green model is based on STC15W404AS and schematic it's different. It seems to me that you have my amber model based on STC15F204 but without relay and only 4 Transistor 8550, while relay one model has 5 transistor plus relay module. So looking between two schematic yours and mine I've recompiled as my amber and told false to relay.\r\n\r\n#define BOARD_TALKING FALSE\r\n#define BOARD_BLUE_6 FALSE\r\n#define BOARD_BLUE_5_RELAY TRUE\r\n#define BOARD_YELLOW_5 FALSE\r\n#define BOARD_YELLOW_SMALL FALSE\r\n#define BOARD_WHITE_SMALL FALSE\r\n#define BOARD_GREEN_SMALL FALSE\r\n\r\n#define COMMON_ANODE TRUE\r\n#define COMMON_CATHODE FALSE\r\n#define PROC_IS_15W408AS FALSE\r\n#define PROC_IS_15W404AS FALSE\r\n#define PROC_IS_15F204EA TRUE\r\n\r\n#define HAS_LDR TRUE\r\n#define HAS_THERMISTOR TRUE\r\n#define HAS_RELAY FALSE\r\n\r\n#define DIGIT_3_FLIP TRUE\r\n\r\n// When setting TEST_DEFAULTS to TRUE,\r\n// ensure that all display options are TRUE as well\r\n// OPT_TEMP_DSP OPT_DATE_DSP OPT_DAY_DSP\r\n// All three must be set to TRUE otherwise some code will fail\r\n// Just ensure that any mode bit that is ON has\r\n// has corresponding logic enabled in codeto support it.\r\n\r\n#define TEST_DEFAULTS FALSE\r\n//---------------------------------------------------------------------------\r\n// End Hardware Option configuration\r\n//---------------------------------------------------------------------------\r\n//---------------------------------------------------------------------------\r\n// Begin Software Option configuration\r\n//---------------------------------------------------------------------------\r\n#define OPT_ALARM TRUE // TRUE to implement\r\n#define OPT_CHIME TRUE // FALSE removes\r\n#define OPT_TEMP_DSP TRUE\r\n#define OPT_DATE_DSP TRUE\r\n#define OPT_DAY_DSP TRUE\r\n#define OPT_UNITS_GROUP FALSE // use 12/F/MD or 24/C/DM groups\r\n// Set the default units for the clock\r\n// Use only one each of these groups of two\r\n#define SET_12HR_FORMAT FALSE\r\n#define SET_24HR_FORMAT TRUE\r\n#define SET_MMDD_FORMAT FALSE\r\n#define SET_DDMM_FORMAT TRUE\r\n#define SET_DEGF_FORMAT FALSE\r\n#define SET_DEGC_FORMAT TRUE\r\n\r\nhere it is main.hex compiled go this page I've uploaded there here it's not working\r\n\r\nhttps://ufile.io/hfb02\r\n\r\nclick on slow download to take main.hex link expires in 4 weeks\r\n\r\nBest regards\r\nTony\r\nLet me know if it's working"}}
{"actor":{"display_login":"flyingsaucer75"}}