arduino-infrared-pronto icon indicating copy to clipboard operation
arduino-infrared-pronto copied to clipboard

unable to find numeric literal operator 'operator""D'

Open momoster69 opened this issue 6 years ago • 0 comments

Hello,

I'm working with the SendHardcodedPronto example and I am getting the "unable to find numeric literal operator 'operator""D'" error whenever I replace the uint16_t up[78] = { 0x0, 0x6D, 0x22, 0x3, 0xA9, 0xA8, 0x15, 0x3F, 0x15, 0x3F, 0x15, 0x3F, 0x15, 0x15, 0x15, 0x15, 0x15, 0x15, 0x15, 0x15, 0x15, 0x15, 0x15, 0x3F, 0x15, 0x3F, 0x15, 0x3F, 0x15, 0x15, 0x15, 0x15, 0x15, 0x15, 0x15, 0x15, 0x15, 0x15, 0x15, 0x15, 0x15, 0x3F, 0x15, 0x15, 0x15, 0x15, 0x15, 0x15, 0x15, 0x15, 0x15, 0x15, 0x15, 0x15, 0x15, 0x40, 0x15, 0x15, 0x15, 0x3F, 0x15, 0x3F, 0x15, 0x3F, 0x15, 0x3F, 0x15, 0x3F, 0x15, 0x3F, 0x15, 0x702, 0xA9, 0xA8, 0x15, 0x15, 0x15, 0xE6E };

with uint16_t up[78] = { 0000, 006D, 0022, 0002, 0156, 00AB, 0015, 0015, 0015, 0015, 0015, 0015, 0015, 0015, 0015, 0015, 0015, 0015, 0015, 0015, 0015, 003F, 0015, 0015, 0015, 0015, 0015, 0015, 0015, 003F, 0015, 003F, 0015, 0015, 0015, 003F, 0015, 003F, 0015, 003F, 0015, 003F, 0015, 003F, 0015, 003F, 0015, 003F, 0015, 0015, 0015, 0015, 0015, 0015, 0015, 0015, 0015, 0015, 0015, 0015, 0015, 0015, 0015, 0015, 0015, 003F, 0015, 003F, 0015, 003F, 0015, 067D, 0156, 0055, 0015, 0E4E, };

now the string of new codes works fine when I uploada the ProntoCodesSentOverSerial skit and send: '0000 006D 0022 0002 0156 00AB 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 003F 0015 0015 0015 0015 0015 0015 0015 003F 0015 003F 0015 0015 0015 003F 0015 003F 0015 003F 0015 003F 0015 003F 0015 003F 0015 003F 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 003F 0015 003F 0015 003F 0015 067D 0156 0055 0015 0E4E' over serial so i have no clue what the problem is....

momoster69 avatar Dec 04 '19 06:12 momoster69