Advertisement
Cookins

Untitled

Apr 4th, 2018
149
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.15 KB | None | 0 0
  1. Arduino: 1.8.5 (Windows 7), Board: "Generic STM32F103C series, STM32F103C8 (20k RAM. 64k Flash), STLink, 72Mhz (Normal), Smallest (default)"
  2.  
  3. C:\Users\PC\Desktop\RF22_CW_beacon\RF22_CW_beacon.ino: In function 'void AlarmFunction()':
  4.  
  5. RF22_CW_beacon:42: error: no matching function for call to 'RTClock::getTime(tm*&)'
  6.  
  7. tm_ptr = rt.getTime(tm_ptr);
  8.  
  9. ^
  10.  
  11. C:\Users\PC\Desktop\RF22_CW_beacon\RF22_CW_beacon.ino:42:29: note: candidates are:
  12.  
  13. In file included from C:\Users\PC\Desktop\RF22_CW_beacon\RF22_CW_beacon.ino:9:0:
  14.  
  15. C:\Users\PC\Documents\Arduino\hardware\Arduino_STM32\STM32F1\libraries\RTClock\src/RTClock.h:53:9: note: time_t RTClock::getTime()
  16.  
  17. time_t getTime();
  18.  
  19. ^
  20.  
  21. C:\Users\PC\Documents\Arduino\hardware\Arduino_STM32\STM32F1\libraries\RTClock\src/RTClock.h:53:9: note: candidate expects 0 arguments, 1 provided
  22.  
  23. C:\Users\PC\Documents\Arduino\hardware\Arduino_STM32\STM32F1\libraries\RTClock\src/RTClock.h:54:7: note: void RTClock::getTime(tm_t&)
  24.  
  25. void getTime(tm_t & tmm );
  26.  
  27. ^
  28.  
  29. C:\Users\PC\Documents\Arduino\hardware\Arduino_STM32\STM32F1\libraries\RTClock\src/RTClock.h:54:7: note: no known conversion for argument 1 from 'tm*' to 'tm_t&'
  30.  
  31. C:\Users\PC\Desktop\RF22_CW_beacon\RF22_CW_beacon.ino: In function 'void setup()':
  32.  
  33. RF22_CW_beacon:103: error: invalid conversion from 'tm*' to 'time_t {aka long int}' [-fpermissive]
  34.  
  35. rt.setTime(&time_tm);
  36.  
  37. ^
  38.  
  39. In file included from C:\Users\PC\Desktop\RF22_CW_beacon\RF22_CW_beacon.ino:9:0:
  40.  
  41. C:\Users\PC\Documents\Arduino\hardware\Arduino_STM32\STM32F1\libraries\RTClock\src/RTClock.h:50:7: error: initializing argument 1 of 'void RTClock::setTime(time_t)' [-fpermissive]
  42.  
  43. void setTime (time_t time_stamp);
  44.  
  45. ^
  46.  
  47. RF22_CW_beacon:107: error: invalid conversion from 'tm*' to 'time_t {aka long int}' [-fpermissive]
  48.  
  49. rt.createAlarm(&AlarmFunction, &time_tm); //ring the alarm 1 minutes later...
  50.  
  51. ^
  52.  
  53. In file included from C:\Users\PC\Desktop\RF22_CW_beacon\RF22_CW_beacon.ino:9:0:
  54.  
  55. C:\Users\PC\Documents\Arduino\hardware\Arduino_STM32\STM32F1\libraries\RTClock\src/RTClock.h:83:7: error: initializing argument 2 of 'void RTClock::createAlarm(voidFuncPtr, time_t)' [-fpermissive]
  56.  
  57. void createAlarm(voidFuncPtr function, time_t alarm_time_t);
  58.  
  59. ^
  60.  
  61. C:\Users\PC\Desktop\RF22_CW_beacon\RF22_CW_beacon.ino: In function 'void loop()':
  62.  
  63. C:\Users\PC\Desktop\RF22_CW_beacon\RF22_CW_beacon.ino:213:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
  64.  
  65. morse_str("CQ CQ UR5TLZ/B",14);
  66.  
  67. ^
  68.  
  69. C:\Users\PC\Desktop\RF22_CW_beacon\RF22_CW_beacon.ino:240:21: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
  70.  
  71. morse_str("ECHO",4);
  72.  
  73. ^
  74.  
  75. Multiple libraries were found for "RTClock.h"
  76. Used: C:\Users\PC\Documents\Arduino\hardware\Arduino_STM32\STM32F1\libraries\RTClock
  77. Not used: C:\Program Files (x86)\Arduino\libraries\RTClock
  78. Not used: C:\Program Files (x86)\Arduino\libraries\MapleRTC
  79. exit status 1
  80. no matching function for call to 'RTClock::getTime(tm*&)'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement