scene_info.c 1.1 KB

12345678910111213141516171819202122232425262728293031
  1. #include "scene_info.h"
  2. #include "app_state.h"
  3. #include "scenes.h"
  4. void lwc_info_scene_on_enter(void* context) {
  5. App* app = context;
  6. text_box_set_text(
  7. app->info_text,
  8. "Long wave time signal senders broadcast the exact time and date over LW radio. "
  9. "If you're in range, you can receive their signals with an inexpensive receiver tuned to their frequency. "
  10. "These come with a big enough ferrite core, and some low pass filtering. "
  11. "Keep the ferrite core away from the flipper (3-5cm) and away from E/M radiation (at least 1 metre away from a monitor). "
  12. "Best reception next to a window or outside with no obstructions. Nights are best. "
  13. "Keep the ferrite core level to ground and perpendicular to the sender if possible.");
  14. view_dispatcher_switch_to_view(app->view_dispatcher, LWCInfoView);
  15. }
  16. bool lwc_info_scene_on_event(void* context, SceneManagerEvent event) {
  17. UNUSED(context);
  18. UNUSED(event);
  19. return false;
  20. }
  21. void lwc_info_scene_on_exit(void* context) {
  22. App* app = context;
  23. text_box_reset(app->about);
  24. }