<
From version < 75.1 >
edited by BoYang Xie
on 2024/11/21 18:26
To version < 74.1 >
edited by BoYang Xie
on 2024/11/21 18:22
>
Change comment: Uploaded new attachment "image-20241121182239-18.png", version {1}

Summary

Details

Page properties
Content
... ... @@ -47,6 +47,7 @@
47 47  * 5V DC power
48 48  * IP Rating: IP52
49 49  
50 +
50 50  == 1.3  Specification ==
51 51  
52 52  
... ... @@ -86,6 +86,7 @@
86 86  
87 87  * External 5V DC power adapter
88 88  
90 +
89 89  == 1.5  Storage & Operation Temperature ==
90 90  
91 91  
... ... @@ -92,6 +92,7 @@
92 92  * Operation Temperature: -20 ~~ 70°C  (No Dew)
93 93  * Storage Temperature: -30 ~~ 70°C  (No Dew)
94 94  
97 +
95 95  == 1.6  Applications ==
96 96  
97 97  
... ... @@ -102,6 +102,7 @@
102 102  * Smart Cities
103 103  * Smart Factory
104 104  
108 +
105 105  = 2.  Getting Started with Hello World =
106 106  
107 107  == 2.1  About this demo ==
... ... @@ -291,91 +291,7 @@
291 291  
292 292  = 4. Example Project 2: LoRaWAN RS485 Alarm =
293 293  
294 -(% class="wikigeneratedid" %)
295 -= 5.  The way to add a new panel to project =
296 296  
297 -~1. Design a panel in SquareLine Studio, using image 5.1 below as a reference.
298 -
299 -[[image:image-20241121113445-1.png||height="584" width="934"]]
300 -
301 - image 5.1 a panel about water_leak
302 -
303 -2. Export the ui file. You need  to adjust the export path first, then click "Export->Export UI Files". This step had been introduced before. Then you can get the ui files as shown in image 5.2.
304 -
305 -[[image:image-20241121141120-4.png||height="383" width="795"]]
306 -
307 - image 5.2 ui files exported
308 -
309 -3. Delete or rename some file. Here are the steps:
310 -
311 - 3.1 Delete the 'components' directory.
312 - 3.2 Delete 'filelist.txt'.
313 - 3.3 Delete 'ui_helpers.c' and 'ui_helpers.h'.
314 - 3.4 Rename 'ui_ScreenMain.c' in the 'screens' directory to 'ui_water_leak_style.c'.
315 - 3.5 Rename the 'screens' directory to 'styles'.
316 -
317 -[[image:image-20241121151934-10.png||height="303" width="792"]]
318 -
319 - image 5.3 rest file 1
320 -
321 -[[image:image-20241121142925-7.png||height="141" width="793"]]
322 -
323 - image 5.4 rest file 2
324 -
325 -4. Open this project in vscode.
326 -
327 -5. Add file include path about water_leak in extra_lib/CMakeLists.txt as shown in image 5.5, 5.6, and its format is similar to the tem_hum or door.
328 -
329 -[[image:image-20241121181957-17.png||height="438" width="516"]]
330 -
331 - image 5.5 before add
332 -
333 -[[image:image-20241121182239-18.png||height="520" width="518"]]
334 -
335 - image 5.6 after add
336 -
337 -6. Modify header file include in fonts and images directory. Open the fonts/ui_font_Font12.c file, as shown in image 5.7, then modify the '#include "../ui.h"' to '#include "../ui_water_leak.h"', the image 5.8 is the modified image. Other font file need to be modified in same way.
338 -
339 -[[image:image-20241121171629-11.png]]
340 -
341 - image 5.7 before-modified font file
342 -
343 -[[image:image-20241121171901-12.png]]
344 -
345 - image 5.8 modified font file
346 -
347 -Open the images/ui_img_battery_empty_png.c file, as shown in image 5.9, then modify the '#include "../ui.h"' to '#include "../ui_water_leak.h"', the image 5.10 is the modified image. Other image file need to be modified in same way.
348 -
349 -[[image:image-20241121172714-13.png]]
350 -
351 - image 5.9 before-modified image file
352 -
353 -[[image:image-20241121172908-14.png]]
354 -
355 - image 5.10 modified image file
356 -
357 -7. Modify the ui_water_leak/CMakeLists.txt. Open this file, and modify it from image 5.11 to image 5.12.
358 -
359 -[[image:image-20241121180030-15.png]]
360 -
361 - image 5.11 before modification
362 -
363 -[[image:image-20241121180517-16.png]]
364 -
365 - image 5.12 after modification
366 -
367 -8.
368 -
369 -
370 -
371 -
372 -
373 -
374 -
375 -
376 -
377 -
378 -
379 379  = 6. FAQ =
380 380  
381 381  == 6.1 ==
... ... @@ -398,6 +398,7 @@
398 398  * 5V,2A DC Power Adapter.
399 399  * USB Type C Program Cable
400 400  
321 +
401 401  = 8. Support =
402 402  
403 403  
... ... @@ -404,6 +404,7 @@
404 404  * Support is provided Monday to Friday, from 09:00 to 18:00 GMT+8. Due to different timezones we cannot offer live support. However, your questions will be answered as soon as possible in the before-mentioned schedule.
405 405  * Provide as much information as possible regarding your enquiry (product models, accurately describe your problem and steps to replicate it etc) and send a mail to [[support@dragino.com>>url:file:///D:/市场资料/说明书/LoRa/LT系列/support@dragino.com]].
406 406  
328 +
407 407  = 9.  Reference material =
408 408  
409 409  
... ... @@ -411,6 +411,7 @@
411 411  * Source Code
412 412  * Mechinical
413 413  
336 +
414 414  = 10. FCC Warning =
415 415  
416 416  
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0