Skip to content

Commit a511e8b

Browse files
AsCressmarcnause
authored andcommitted
feat: added guide screen
1 parent b06280b commit a511e8b

File tree

6 files changed

+383
-106
lines changed

6 files changed

+383
-106
lines changed

assets/images/sin_wave_circuit.png

38.5 KB
Loading

assets/images/square_wave_circuit.png

5.11 KB
Loading

lib/l10n/app_en.arb

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,24 @@
118118
"sine": "Sine",
119119
"tri": "Tri",
120120
"pwm": "pwm",
121+
"waveGeneratorIntro": "The wave generator can be used to generate different types of waves like Sine wave, square wave and saw-tooth wave allow us to change their characteristics like frequency, phase and duty. It also allows us to produce PWM signals having different phase and duty.",
122+
"sineWaveCaption": "To generate Sine wave or Saw-Tooth wave:",
123+
"sineWaveBulletPoint1": "Connect the Wave pins S1 and S2 to the channel pins CH1, CH2 as shown in the above figure.",
124+
"sineWaveBulletPoint2": "Select the Wave1 button for S1 pin and Wave2 button for S2 pin.",
125+
"sineWaveBulletPoint3": "Press Sine image button for Sine wave and Saw-Tooth image button for Saw-Tooth wave.",
126+
"sineWaveBulletPoint4": "Set their respective frequencies and phase difference(optional) using buttons in waveform panel.",
127+
"sineWaveBulletPoint5": "Press the View button to view the waves in oscilloscope.",
128+
"squareWaveCaption": "To generate Square wave:",
129+
"squareWaveBulletPoint1": "Connect the Wave pins SQ1 to the channel pin CH1 as shown in the above figure.",
130+
"squareWaveBulletPoint2": "Ensure the mode is selected to the Square, if not press the mode button to switch to Square mode.",
131+
"squareWaveBulletPoint3": "Select the SQ1 button",
132+
"squareWaveBulletPoint4": "Set its Frequency and Duty Cycle",
133+
"squareWaveBulletPoint5": "Press the View button to view the square wave in oscilloscope.",
134+
"pwmCaption": "Similarly, to produce four different PWM signals:",
135+
"pwmBulletPoint1": "Switch over to PWM mode(In this mode S1 and S2 pin will be disabled).",
136+
"pwmBulletPoint2": "Set the common frequency for all the SQ pins.",
137+
"pwmBulletPoint3": "Set the duty and phase for all the SQ pins.",
138+
"pwmBulletPoint4": "Press View button to generate the PWM signals.",
121139
"analyze": "Analyze",
122140
"settings": "Settings",
123141
"autoStart": "Auto Start",

lib/l10n/app_localizations.dart

Lines changed: 108 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -802,6 +802,114 @@ abstract class AppLocalizations {
802802
/// **'pwm'**
803803
String get pwm;
804804

805+
/// No description provided for @waveGeneratorIntro.
806+
///
807+
/// In en, this message translates to:
808+
/// **'The wave generator can be used to generate different types of waves like Sine wave, square wave and saw-tooth wave allow us to change their characteristics like frequency, phase and duty. It also allows us to produce PWM signals having different phase and duty.'**
809+
String get waveGeneratorIntro;
810+
811+
/// No description provided for @sineWaveCaption.
812+
///
813+
/// In en, this message translates to:
814+
/// **'To generate Sine wave or Saw-Tooth wave:'**
815+
String get sineWaveCaption;
816+
817+
/// No description provided for @sineWaveBulletPoint1.
818+
///
819+
/// In en, this message translates to:
820+
/// **'Connect the Wave pins S1 and S2 to the channel pins CH1, CH2 as shown in the above figure.'**
821+
String get sineWaveBulletPoint1;
822+
823+
/// No description provided for @sineWaveBulletPoint2.
824+
///
825+
/// In en, this message translates to:
826+
/// **'Select the Wave1 button for S1 pin and Wave2 button for S2 pin.'**
827+
String get sineWaveBulletPoint2;
828+
829+
/// No description provided for @sineWaveBulletPoint3.
830+
///
831+
/// In en, this message translates to:
832+
/// **'Press Sine image button for Sine wave and Saw-Tooth image button for Saw-Tooth wave.'**
833+
String get sineWaveBulletPoint3;
834+
835+
/// No description provided for @sineWaveBulletPoint4.
836+
///
837+
/// In en, this message translates to:
838+
/// **'Set their respective frequencies and phase difference(optional) using buttons in waveform panel.'**
839+
String get sineWaveBulletPoint4;
840+
841+
/// No description provided for @sineWaveBulletPoint5.
842+
///
843+
/// In en, this message translates to:
844+
/// **'Press the View button to view the waves in oscilloscope.'**
845+
String get sineWaveBulletPoint5;
846+
847+
/// No description provided for @squareWaveCaption.
848+
///
849+
/// In en, this message translates to:
850+
/// **'To generate Square wave:'**
851+
String get squareWaveCaption;
852+
853+
/// No description provided for @squareWaveBulletPoint1.
854+
///
855+
/// In en, this message translates to:
856+
/// **'Connect the Wave pins SQ1 to the channel pin CH1 as shown in the above figure.'**
857+
String get squareWaveBulletPoint1;
858+
859+
/// No description provided for @squareWaveBulletPoint2.
860+
///
861+
/// In en, this message translates to:
862+
/// **'Ensure the mode is selected to the Square, if not press the mode button to switch to Square mode.'**
863+
String get squareWaveBulletPoint2;
864+
865+
/// No description provided for @squareWaveBulletPoint3.
866+
///
867+
/// In en, this message translates to:
868+
/// **'Select the SQ1 button'**
869+
String get squareWaveBulletPoint3;
870+
871+
/// No description provided for @squareWaveBulletPoint4.
872+
///
873+
/// In en, this message translates to:
874+
/// **'Set its Frequency and Duty Cycle'**
875+
String get squareWaveBulletPoint4;
876+
877+
/// No description provided for @squareWaveBulletPoint5.
878+
///
879+
/// In en, this message translates to:
880+
/// **'Press the View button to view the square wave in oscilloscope.'**
881+
String get squareWaveBulletPoint5;
882+
883+
/// No description provided for @pwmCaption.
884+
///
885+
/// In en, this message translates to:
886+
/// **'Similarly, to produce four different PWM signals:'**
887+
String get pwmCaption;
888+
889+
/// No description provided for @pwmBulletPoint1.
890+
///
891+
/// In en, this message translates to:
892+
/// **'Switch over to PWM mode(In this mode S1 and S2 pin will be disabled).'**
893+
String get pwmBulletPoint1;
894+
895+
/// No description provided for @pwmBulletPoint2.
896+
///
897+
/// In en, this message translates to:
898+
/// **'Set the common frequency for all the SQ pins.'**
899+
String get pwmBulletPoint2;
900+
901+
/// No description provided for @pwmBulletPoint3.
902+
///
903+
/// In en, this message translates to:
904+
/// **'Set the duty and phase for all the SQ pins.'**
905+
String get pwmBulletPoint3;
906+
907+
/// No description provided for @pwmBulletPoint4.
908+
///
909+
/// In en, this message translates to:
910+
/// **'Press View button to generate the PWM signals.'**
911+
String get pwmBulletPoint4;
912+
805913
/// No description provided for @analyze.
806914
///
807915
/// In en, this message translates to:

lib/l10n/app_localizations_en.dart

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -373,6 +373,71 @@ class AppLocalizationsEn extends AppLocalizations {
373373
@override
374374
String get pwm => 'pwm';
375375

376+
@override
377+
String get waveGeneratorIntro =>
378+
'The wave generator can be used to generate different types of waves like Sine wave, square wave and saw-tooth wave allow us to change their characteristics like frequency, phase and duty. It also allows us to produce PWM signals having different phase and duty.';
379+
380+
@override
381+
String get sineWaveCaption => 'To generate Sine wave or Saw-Tooth wave:';
382+
383+
@override
384+
String get sineWaveBulletPoint1 =>
385+
'Connect the Wave pins S1 and S2 to the channel pins CH1, CH2 as shown in the above figure.';
386+
387+
@override
388+
String get sineWaveBulletPoint2 =>
389+
'Select the Wave1 button for S1 pin and Wave2 button for S2 pin.';
390+
391+
@override
392+
String get sineWaveBulletPoint3 =>
393+
'Press Sine image button for Sine wave and Saw-Tooth image button for Saw-Tooth wave.';
394+
395+
@override
396+
String get sineWaveBulletPoint4 =>
397+
'Set their respective frequencies and phase difference(optional) using buttons in waveform panel.';
398+
399+
@override
400+
String get sineWaveBulletPoint5 =>
401+
'Press the View button to view the waves in oscilloscope.';
402+
403+
@override
404+
String get squareWaveCaption => 'To generate Square wave:';
405+
406+
@override
407+
String get squareWaveBulletPoint1 =>
408+
'Connect the Wave pins SQ1 to the channel pin CH1 as shown in the above figure.';
409+
410+
@override
411+
String get squareWaveBulletPoint2 =>
412+
'Ensure the mode is selected to the Square, if not press the mode button to switch to Square mode.';
413+
414+
@override
415+
String get squareWaveBulletPoint3 => 'Select the SQ1 button';
416+
417+
@override
418+
String get squareWaveBulletPoint4 => 'Set its Frequency and Duty Cycle';
419+
420+
@override
421+
String get squareWaveBulletPoint5 =>
422+
'Press the View button to view the square wave in oscilloscope.';
423+
424+
@override
425+
String get pwmCaption => 'Similarly, to produce four different PWM signals:';
426+
427+
@override
428+
String get pwmBulletPoint1 =>
429+
'Switch over to PWM mode(In this mode S1 and S2 pin will be disabled).';
430+
431+
@override
432+
String get pwmBulletPoint2 => 'Set the common frequency for all the SQ pins.';
433+
434+
@override
435+
String get pwmBulletPoint3 => 'Set the duty and phase for all the SQ pins.';
436+
437+
@override
438+
String get pwmBulletPoint4 =>
439+
'Press View button to generate the PWM signals.';
440+
376441
@override
377442
String get analyze => 'Analyze';
378443

0 commit comments

Comments
 (0)