Glcd plot unplot


+ Reply to Thread
Results 1 to 9 of 9

Thread: Glcd plot unplot5036 days old

  1. #1
    Junior Member stefano's Avatar
    Join Date
    Dec 2005
    Posts
    51
    Thumbs Up
    Received: 1
    Given: 1
    Total Downloaded
    793.31 MB

    0 Not allowed!

    Default Glcd plot unplot

    Hi, I'm Stefano, I would want print a bargraph on glcd 128 X 64.
    This is my routine:

    again: vinput=ADIn 0
    .................................................. ......
    For ypos = 47 To 52
    xpos = 1 + vinput
    Plot ypos, xpos
    Next
    For ypos = 47 To 52
    xpos = 1 + vinput
    UnPlot ypos, xpos
    Next
    GoTo again
    The problem is : on display I see only one vertical line(Example: < I > ), but I need a bargraph (Example: < IIIIIIII > ).
    ok, .....because with unplot it delete me the printed characters....
    Question: how can I be the refresh of the bargraph?
    Can I have a help?
    Thanks.
    Stefano

  2. Attention

    This valuable resource relies upon the very small amount of revenue generated by displaying online advertisements to our visitors.

    The advertisements we display are relevant to this web site and your browsing history

    Please consider supporting us by disabling your ad blocker.


    Note: Some users have reported issues related to ad-blockers rendering parts of this wesite unusable,
    where possible we will rectify the issues to enable you to use this resource with adblocking enabled.

    If you can, please report issues in the forum area WebSite / Forum Issues


    Thank you for your attention.

  3. #2
    Prolific Poster RGV250's Avatar
    Join Date
    Aug 2005
    Posts
    2,366
    Thumbs Up
    Received: 29
    Given: 7
    Total Downloaded
    1.16 GB

    0 Not allowed!

    Default

    Hi Stefano,
    I have a bargraph on GLCD (Samsung type) which I will post for you when I get home late tonight, it goes horizontal and you should be able to simulate it on the VSM.

    Regards,
    Bobby

  4. Attention

    This valuable resource relies upon the very small amount of revenue generated by displaying online advertisements to our visitors.

    The advertisements we display are relevant to this web site and your browsing history

    Please consider supporting us by disabling your ad blocker.


    Note: Some users have reported issues related to ad-blockers rendering parts of this wesite unusable,
    where possible we will rectify the issues to enable you to use this resource with adblocking enabled.

    If you can, please report issues in the forum area WebSite / Forum Issues


    Thank you for your attention.

  5. #3
    Prolific Poster RGV250's Avatar
    Join Date
    Aug 2005
    Posts
    2,366
    Thumbs Up
    Received: 29
    Given: 7
    Total Downloaded
    1.16 GB

    0 Not allowed!

    Default

    Hi Stefano,
    You can run this in the 16 glcd VSM
    I have cut out all the stuff you don't want and just left the bargraph (revcounter) in. There may be some references to CAN etc still in it. and a routine to simulate data coming in UP_DN_REV
    I did not use plot/unplot. The actual line that prints to the display is in display_revcounter where it prints a series of : or ;. If you look in the cdata at the bottom you will see that these are in fact "|" or " "(space) 8pixel high.

    Regards,
    Bobby



    'G10 for ISIS sim
    Include "PROTON_G10.INT" ' Demo using PROTON Dev board

    ' Device = 18F458
    ' XTAL = 20

    'Set up PIC registers
    ' @CONFIG_REQ
    ' @__CONFIG config1h, OSCS_OFF_1 & HS_OSC_1 & CP_OFF_1L
    ' @__CONFIG config2l, BOR_ON_2 & BORV_42_2 & PWRT_ON_2
    ' @__CONFIG config2h, WDT_OFF_2
    ' @__CONFIG config4l, STVR_ON_4 & LVP_OFF_4 & DEBUG_OFF_4

    GLCD_EXTERNAL_PRINT = PPRINT ' Point to PPRINT.INC file

    Dim CALL_FIXED_COUNT As Word

    Dim REVS As Byte

    Dim x As Byte
    Dim y As Byte

    Dim RCTDIR As Bit

    Dim TIMER1 As TMR1L.Word

    ' Symbol IPEN = RCON.7
    ' Symbol TMR1IP = IPR1.0
    Symbol TMR1IF = PIR1.0
    Symbol TMR1IE = PIE1.0
    Symbol GIEH = INTCON.7
    Symbol GIEL = INTCON.6
    Symbol TMR1ON = T1CON.0

    '***********************************************
    '* Interrupt service vector initialization *
    '***********************************************
    ON_INTERRUPT GoTo INTERRUPT_ROUTINE 'Point to the Interrupt handler

    GoTo INIT 'Jump over the Interrupt routine

    '************************************************* ***************
    '* Interrupt Service Routine *
    '* Determine if it is a timed interrupt or CAN module interrupt *
    '* Also the ISR determines whether a Valid message or CAN error *
    '* interrupt has occured and then proceeds accordingly *
    '************************************************* ***************
    INTERRUPT_ROUTINE:
    Clear T1CON.0 'Stop timer

    CALL_FIXED_COUNT = CALL_FIXED_COUNT + 1

    'Set / clear relevant bits before returning from interupt
    PIR1.0 = 0 'Clear Timer 1 overflow interrupt bit
    TIMER1 = 60536 'Load value so timer rolls over At 50 000 cycles (100 / second)
    Set T1CON.0 'Re-start timer
    Context Restore 'Exit ISR and re-enable interrupts

    '***********************************************
    '* Start of Main Code *
    '***********************************************
    START:

    'Set up priority interrupts.
    ' IPEN = 1 ' Enable priority interrupts.
    ' TMR1IP = 1 ' Set Timer1 as a high priority interrupt source
    TMR1IF = 0 ' Clear the Timer1 interrupt flag
    TMR1IE = 1 ' Enable Timer1 interrupts
    GIEH = 1 ' Set the global interrupt enable bits


    'Set up TIMER1
    T1CON = %00000000 'Timer1 - 1:1 prescaler and act as timer
    TIMER1 = 60536 'Load value so timer rolls over at 50 000 cycles (100 / second)
    T1CON.0 = 1 'Start Timer running
    PIR1.0 = 0 'Clear timer 1 overflow bit
    PIE1 = 1 'Enable Timer1 interrupt

    DelayMS 100
    Cls

    GoSub DISPLAY_FIXED

    '***********************************************
    '* Main program LOOP *
    '***********************************************
    MAIN_LOOP:
    INTCON = %00000000 'Turn off interrupts

    GoSub UP_DN_REV 'Simulation data
    If CALL_FIXED_COUNT > 20 Then GoSub DISPLAY_FIXED
    GoSub DISPLAY_REVCOUNTER

    INTCON = %11000000 'Turn interrupts back on
    GoTo MAIN_LOOP

    'Display ticks below bargraph, refresh periodically
    DISPLAY_FIXED:
    For x = 4 To 124 Step 5
    Plot 8,x
    Plot 9,x
    Next x
    For x = 9 To 119 Step 10
    Plot 10,x
    Plot 11,x
    Next x
    Clear CALL_FIXED_COUNT
    Return

    'Generate simulation data for rev counter
    UP_DN_REV:
    If RCTDIR = 0 Then GoTo DOWN_REV
    REVS = REVS + 4
    If REVS = 128 Then RCTDIR = 0
    Return
    DOWN_REV:
    REVS = REVS - 4
    If REVS = 0 Then RCTDIR = 1
    Return

    'Write to display
    DISPLAY_REVCOUNTER:
    Print Font ICONS
    Print At 0,0, Rep ":" \REVS, Rep ";" \ (128 - REVS)
    Return

    INIT:
    REVS = 4
    GoTo START

    '
    ' CDATA for ICONS
    ' 0 = Oil warning
    '
    '
    ' 7 = degree for temp
    ' 8 = high beam
    ' 9 = dip beam
    ' : = | for bargrapn
    ' ; = " " for bargraph
    '
    '---------------------------------------------------------------------------------------------------'
    '
    '
    ' Pointers to the actual font table
    '
    ICONS:-

    CData Word 8 ' ICONS 8 High

    CData ICON_0,ICON_1,ICON_2,ICON_3,ICON_4,_
    ICON_5,ICON_6,ICON_7,ICON_8,ICON_9,_
    ICON_10,ICON_11,ICON_12,ICON_13,ICON_14,_
    ICON_15,ICON_16,ICON_17,ICON_18,ICON_19,_
    ICON_20,ICON_21,ICON_22,ICON_23,ICON_24,_
    ICON_25,ICON_26,ICON_27

    ' ICON data

    ICON_0:-
    CData 16,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 ' Code for "space" 8 x 16 pixels
    ICON_1:-
    ICON_2:-
    ICON_3:-
    ICON_4:-
    ICON_5:-
    ICON_6:-
    ICON_7:-
    ICON_8:-
    ICON_9:-
    ICON_10:-
    ICON_11:-
    ICON_12:-
    ICON_13:-
    ICON_14:-
    ICON_15:-
    ICON_16:-
    CData 16,216,8,8,8,24,56,120,248,252,253,255,253,252,40, 40,56,0 ' "0" - Code for Oil warning
    ICON_17:-
    CData 4,4,0,2,0,255,0,0,0 ' Code for char 1
    ICON_18:-
    CData 6,130,0,193,0,161,0,145,0,142,0,0,0 ' Code for char 2
    ICON_19:-
    CData 6,66,0,129,0,137,0,137,0,118,0,0,0 ' Code for char 3
    ICON_20:-
    CData 6,48,0,44,0,34,0,255,0,32,0,0,0 ' Code for char 4
    ICON_21:-
    CData 6,76,0,139,0,137,0,137,0,113,0,0,0 ' Code for char 5
    ICON_22:-
    CData 6,126,0,137,0,137,0,137,0,114,0,0,0 ' Code for char 6
    ICON_23:-
    CData 14,6,15,9,15,6,0,0,62,127,65,65,65,103,38,0 ' "7" - Code for degree c
    ICON_24:-
    CData 10,28,62,127,127,0,73,73,73,73,73,0 ' "8" - Code for High beam
    ICON_25:-
    CData 10,28,62,127,127,0,73,146,36,72,144,0 ' "9" - Code for Dip beam
    ICON_26:-
    CData 1,255,0 ' ":" - Code for | used in bargraph
    ICON_27:-
    CData 1,0,0 ' ";" - Code for " " used in bargraph

  6. Attention

    This valuable resource relies upon the very small amount of revenue generated by displaying online advertisements to our visitors.

    The advertisements we display are relevant to this web site and your browsing history

    Please consider supporting us by disabling your ad blocker.


    Note: Some users have reported issues related to ad-blockers rendering parts of this wesite unusable,
    where possible we will rectify the issues to enable you to use this resource with adblocking enabled.

    If you can, please report issues in the forum area WebSite / Forum Issues


    Thank you for your attention.

  7. #4
    Junior Member stefano's Avatar
    Join Date
    Dec 2005
    Posts
    51
    Thumbs Up
    Received: 1
    Given: 1
    Total Downloaded
    793.31 MB

    0 Not allowed!

    Default

    Ok, thanks Bobby, good quality. Now I would want to print on BARGRAPH the volts coming from the PORTA.0:
    Declare ADIN_RES= 8
    Declare ADIN_TAD=frc
    Declare ADIN_STIME=50
    ADCON1=%00001110
    TRISA=%00000001

    This is a var to print: voltsin=ADIn 0

    How can I do?
    Thanks again !
    Regards.
    Stefano.

  8. Attention

    This valuable resource relies upon the very small amount of revenue generated by displaying online advertisements to our visitors.

    The advertisements we display are relevant to this web site and your browsing history

    Please consider supporting us by disabling your ad blocker.


    Note: Some users have reported issues related to ad-blockers rendering parts of this wesite unusable,
    where possible we will rectify the issues to enable you to use this resource with adblocking enabled.

    If you can, please report issues in the forum area WebSite / Forum Issues


    Thank you for your attention.

  9. #5
    Prolific Poster RGV250's Avatar
    Join Date
    Aug 2005
    Posts
    2,366
    Thumbs Up
    Received: 29
    Given: 7
    Total Downloaded
    1.16 GB

    0 Not allowed!

    Default

    Hi Stefano,
    I have taken out the simulation data and the unused icon data as this uses up code space. You will see that I have modified the DISPLAY_REVCOUNTER to DISPLAY_VOLTAGE and REVS variable has been changed to VOLTSIN. I'm afraid you will have to do the rest as I have not done any analog stuff. Basically you will need to scale VOLTSIN to 0 - 128.
    You may not also want to call the subroutine as much but as in my case it is a revcounter I called a lot. In this demo it is called every scan which I changed in a later version. The CALL_FIXED_COUNT (used to refresh the ticks on the bargraph and in my case a lot more fixed screen data in case it got corrupted) is a counter that increments every interrupt and at a preset count I call the sub, at the end of the sub clear this variable before returning so different routines are called at different times.

    Regards,
    Bobby




    'G10 for ISIS sim
    Include "PROTON_G10.INT" ' Demo using PROTON Dev board

    ' Device = 18F458
    ' XTAL = 20

    'Set up PIC registers
    ' @CONFIG_REQ
    ' @__CONFIG config1h, OSCS_OFF_1 & HS_OSC_1 & CP_OFF_1L
    ' @__CONFIG config2l, BOR_ON_2 & BORV_42_2 & PWRT_ON_2
    ' @__CONFIG config2h, WDT_OFF_2
    ' @__CONFIG config4l, STVR_ON_4 & LVP_OFF_4 & DEBUG_OFF_4

    GLCD_EXTERNAL_PRINT = PPRINT ' Point to PPRINT.INC file

    Dim CALL_FIXED_COUNT As Word

    Dim VOLTSIN As Byte

    Dim x As Byte
    Dim y As Byte

    Dim TIMER1 As TMR1L.Word

    ' Symbol IPEN = RCON.7
    ' Symbol TMR1IP = IPR1.0
    Symbol TMR1IF = PIR1.0
    Symbol TMR1IE = PIE1.0
    Symbol GIEH = INTCON.7
    Symbol GIEL = INTCON.6
    Symbol TMR1ON = T1CON.0

    '***********************************************
    '* Interrupt service vector initialization *
    '***********************************************
    ON_INTERRUPT GoTo INTERRUPT_ROUTINE 'Point to the Interrupt handler

    GoTo INIT 'Jump over the Interrupt routine

    '*************************************************
    '* Interrupt Service Routine *
    '*************************************************
    INTERRUPT_ROUTINE:
    Clear T1CON.0 'Stop timer

    CALL_FIXED_COUNT = CALL_FIXED_COUNT + 1

    'Set / clear relevant bits before returning from interupt
    PIR1.0 = 0 'Clear Timer 1 overflow interrupt bit
    TIMER1 = 60536 'Load value so timer rolls over At 50 000 cycles (100 / second)
    Set T1CON.0 'Re-start timer
    Context Restore 'Exit ISR and re-enable interrupts

    '***********************************************
    '* Start of Main Code *
    '***********************************************
    START:

    'Set up priority interrupts.
    ' IPEN = 1 ' Enable priority interrupts.
    ' TMR1IP = 1 ' Set Timer1 as a high priority interrupt source
    TMR1IF = 0 ' Clear the Timer1 interrupt flag
    TMR1IE = 1 ' Enable Timer1 interrupts
    GIEH = 1 ' Set the global interrupt enable bits


    'Set up TIMER1
    T1CON = %00000000 'Timer1 - 1:1 prescaler and act as timer
    TIMER1 = 60536 'Load value so timer rolls over at 50 000 cycles (100 / second)
    T1CON.0 = 1 'Start Timer running
    PIR1.0 = 0 'Clear timer 1 overflow bit
    PIE1 = 1 'Enable Timer1 interrupt

    DelayMS 100
    Cls

    GoSub DISPLAY_FIXED

    '***********************************************
    '* Main program LOOP *
    '***********************************************
    MAIN_LOOP:
    INTCON = %00000000 'Turn off interrupts

    If CALL_FIXED_COUNT > 20 Then GoSub DISPLAY_FIXED
    GoSub DISPLAY_VOLTAGE

    INTCON = %11000000 'Turn interrupts back on
    GoTo MAIN_LOOP

    'Display ticks below bargraph, refresh periodically
    DISPLAY_FIXED:
    For x = 4 To 124 Step 5
    Plot 8,x
    Plot 9,x
    Next x
    For x = 9 To 119 Step 10
    Plot 10,x
    Plot 11,x
    Next x
    Clear CALL_FIXED_COUNT
    Return


    'Write to display
    DISPLAY_VOLTAGE:
    Print Font ICONS
    Print At 0,0, Rep ":" \VOLTSIN, Rep ";" \ (128 - REVS)
    Return

    INIT:
    Normally have INIT data here
    GoTo START

    '
    ' CDATA for ICONS
    '
    '
    'I use this for ICONS, I have taken out all the ones that you will
    'not need to free up space
    '
    '
    ' : = | for bargrapn
    ' ; = " " for bargraph
    '
    '---------------------------------------------------------------------------------------------------'
    '
    '
    ' Pointers to the actual font table
    '
    ICONS:-

    CData Word 8 ' ICONS 8 High

    CData ICON_0,ICON_1,ICON_2,ICON_3,ICON_4,_
    ICON_5,ICON_6,ICON_7,ICON_8,ICON_9,_
    ICON_10,ICON_11,ICON_12,ICON_13,ICON_14,_
    ICON_15,ICON_16,ICON_17,ICON_18,ICON_19,_
    ICON_20,ICON_21,ICON_22,ICON_23,ICON_24,_
    ICON_25,ICON_26,ICON_27

    ' ICON data

    ICON_0:-
    ICON_1:-
    ICON_2:-
    ICON_3:-
    ICON_4:-
    ICON_5:-
    ICON_6:-
    ICON_7:-
    ICON_8:-
    ICON_9:-
    ICON_10:-
    ICON_11:-
    ICON_12:-
    ICON_13:-
    ICON_14:-
    ICON_15:-
    ICON_16:-
    ICON_17:-
    ICON_18:-
    ICON_19:-
    ICON_20:-
    ICON_21:-
    ICON_22:-
    ICON_23:-
    ICON_24:-
    ICON_25:-
    ICON_26:-
    CData 1,255,0 ' ":" - Code for | used in bargraph
    ICON_27:-
    CData 1,0,0 ' ";" - Code for " " used in bargraph

  10. Attention

    This valuable resource relies upon the very small amount of revenue generated by displaying online advertisements to our visitors.

    The advertisements we display are relevant to this web site and your browsing history

    Please consider supporting us by disabling your ad blocker.


    Note: Some users have reported issues related to ad-blockers rendering parts of this wesite unusable,
    where possible we will rectify the issues to enable you to use this resource with adblocking enabled.

    If you can, please report issues in the forum area WebSite / Forum Issues


    Thank you for your attention.

  11. #6
    Junior Member stefano's Avatar
    Join Date
    Dec 2005
    Posts
    51
    Thumbs Up
    Received: 1
    Given: 1
    Total Downloaded
    793.31 MB

    0 Not allowed!

    Default

    Ok Bobby this is the right result. thanks for your interest I hope to repay in the future!
    Best regards.
    Stefano.

    ADCON1=%00001110 ' registro ADC settato per tre porte(valore=14 datasheet)
    TRISA=%00000001 ' set porta A (0, in analogico)
    GLCD_EXTERNAL_PRINT = PPRINT ' Point to PPRINT.INC file
    Dim CALL_FIXED_COUNT As Word
    Dim REVS As Byte
    Dim x As Byte
    Dim y As Byte
    Dim RCTDIR As Bit
    Dim TIMER1 As TMR1L.Word
    Dim voltsin As Byte

    ' Symbol IPEN = RCON.7
    ' Symbol TMR1IP = IPR1.0
    Symbol TMR1IF = PIR1.0
    Symbol TMR1IE = PIE1.0
    Symbol GIEH = INTCON.7
    Symbol GIEL = INTCON.6
    Symbol TMR1ON = T1CON.0

    '***********************************************
    '* Interrupt service vector initialization *
    '***********************************************
    ON_INTERRUPT GoTo INTERRUPT_ROUTINE 'Point to the Interrupt handler

    GoTo INIT 'Jump over the Interrupt routine

    '************************************************* ***************
    '* Interrupt Service Routine *
    '* Determine if it is a timed interrupt or CAN module interrupt *
    '* Also the ISR determines whether a Valid message or CAN error *
    '* interrupt has occured and then proceeds accordingly *
    '************************************************* ***************
    INTERRUPT_ROUTINE:
    Clear T1CON.0 'Stop timer

    CALL_FIXED_COUNT = CALL_FIXED_COUNT + 1

    'Set / clear relevant bits before returning from interupt
    PIR1.0 = 0 'Clear Timer 1 overflow interrupt bit
    TIMER1 = 60536 'Load value so timer rolls over At 50 000 cycles (100 / second)
    Set T1CON.0 'Re-start timer
    Context Restore 'Exit ISR and re-enable interrupts

    '***********************************************
    '* Start of Main Code *
    '***********************************************
    START:

    'Set up priority interrupts.
    ' IPEN = 1 ' Enable priority interrupts.
    ' TMR1IP = 1 ' Set Timer1 as a high priority interrupt source
    TMR1IF = 0 ' Clear the Timer1 interrupt flag
    TMR1IE = 1 ' Enable Timer1 interrupts
    GIEH = 1 ' Set the global interrupt enable bits


    'Set up TIMER1
    T1CON = %00000000 'Timer1 - 1:1 prescaler and act as timer
    TIMER1 = 60536 'Load value so timer rolls over at 50 000 cycles (100 / second)
    T1CON.0 = 1 'Start Timer running
    PIR1.0 = 0 'Clear timer 1 overflow bit
    PIE1 = 1 'Enable Timer1 interrupt

    DelayMS 100
    Cls

    GoSub DISPLAY_FIXED

    '***********************************************
    '* Main program LOOP *
    '***********************************************
    MAIN_LOOP:
    INTCON = %00000000 'Turn off interrupts

    GoSub UP_DN_REV 'Simulation data
    If CALL_FIXED_COUNT > 20 Then GoSub DISPLAY_FIXED
    GoSub DISPLAY_REVCOUNTER

    INTCON = %11000000 'Turn interrupts back on
    GoTo MAIN_LOOP

    'Display ticks below bargraph, refresh periodically
    DISPLAY_FIXED:
    For x = 4 To 124 Step 5
    Plot 8,x
    Plot 9,x
    Next x
    For x = 9 To 119 Step 10
    Plot 10,x
    Plot 11,x
    Next x
    Clear CALL_FIXED_COUNT
    Return

    'Generate simulation data for rev counter
    UP_DN_REV:
    voltsin = ADIn 0 'ANALOG INPUT''''''''''''''''''


    If RCTDIR = 0 Then GoTo DOWN_REV '
    REVS = voltsin + 1 '
    If voltsin = 128 Then RCTDIR = 0 '
    Return
    DOWN_REV:
    REVS = voltsin - 1 '
    If voltsin = 0 Then RCTDIR = 1 '
    Return

    'Write to display
    DISPLAY_REVCOUNTER:
    Print Font ICONS
    Print At 0,0, Rep ":" \REVS, Rep ";" \ (128 - REVS)
    Return

    INIT:

    GoTo START

    .........................etc...............

  12. Attention

    This valuable resource relies upon the very small amount of revenue generated by displaying online advertisements to our visitors.

    The advertisements we display are relevant to this web site and your browsing history

    Please consider supporting us by disabling your ad blocker.


    Note: Some users have reported issues related to ad-blockers rendering parts of this wesite unusable,
    where possible we will rectify the issues to enable you to use this resource with adblocking enabled.

    If you can, please report issues in the forum area WebSite / Forum Issues


    Thank you for your attention.

  13. #7
    Prolific Poster RGV250's Avatar
    Join Date
    Aug 2005
    Posts
    2,366
    Thumbs Up
    Received: 29
    Given: 7
    Total Downloaded
    1.16 GB

    0 Not allowed!

    Default

    Hi Stefano,
    You do not need the UP_DN_REV: routine, this was only to simulate data so you could see it working.

    I made an error in my previous post, the line should be
    Print At 0,0, Rep ":" \VOLTSIN, Rep ";" \ (128 - VOLTSIN)

    You can scale your analog input, 5 volts will give a value of 255 so if you do a bit shift right it will divide by 2 so if you put a line before the print command something like this it will mean that the bargraph will be full scale at 5 volts.
    VOLTSIN = VOLTSIN >> 1

    Regards,
    Bobby

  14. Attention

    This valuable resource relies upon the very small amount of revenue generated by displaying online advertisements to our visitors.

    The advertisements we display are relevant to this web site and your browsing history

    Please consider supporting us by disabling your ad blocker.


    Note: Some users have reported issues related to ad-blockers rendering parts of this wesite unusable,
    where possible we will rectify the issues to enable you to use this resource with adblocking enabled.

    If you can, please report issues in the forum area WebSite / Forum Issues


    Thank you for your attention.

  15. #8
    Junior Member stefano's Avatar
    Join Date
    Dec 2005
    Posts
    51
    Thumbs Up
    Received: 1
    Given: 1
    Total Downloaded
    793.31 MB

    0 Not allowed!

    Thumbs up Final Vu-bargraph

    Hi Bobby, this is the "real final script" :
    '''''''''''''''''''''''''''''''''''''''''''''''''' '''''''''''''''''''''''''''''
    smeter:

    lettura:
    volt = voltsin*0.2509 'divide 64 for 255 ( 8 bit)
    voltsin = volt

    'write on display
    stampameter:
    Print Font ICONS
    Print At 39,0, Rep ":" \voltsin, Rep ";" \ (64 - voltsin)
    Return
    '''''''''''''''''''''''''''''''''''''''''''''''''' '''''''''''''


    Thanks & regards.
    Stefano.

  16. Attention

    This valuable resource relies upon the very small amount of revenue generated by displaying online advertisements to our visitors.

    The advertisements we display are relevant to this web site and your browsing history

    Please consider supporting us by disabling your ad blocker.


    Note: Some users have reported issues related to ad-blockers rendering parts of this wesite unusable,
    where possible we will rectify the issues to enable you to use this resource with adblocking enabled.

    If you can, please report issues in the forum area WebSite / Forum Issues


    Thank you for your attention.

  17. #9
    Prolific Poster RGV250's Avatar
    Join Date
    Aug 2005
    Posts
    2,366
    Thumbs Up
    Received: 29
    Given: 7
    Total Downloaded
    1.16 GB

    0 Not allowed!

    Default

    Hi Stefano,
    Glad I could help.

    Regards,
    Bobby

  18. Attention

    This valuable resource relies upon the very small amount of revenue generated by displaying online advertisements to our visitors.

    The advertisements we display are relevant to this web site and your browsing history

    Please consider supporting us by disabling your ad blocker.


    Note: Some users have reported issues related to ad-blockers rendering parts of this wesite unusable,
    where possible we will rectify the issues to enable you to use this resource with adblocking enabled.

    If you can, please report issues in the forum area WebSite / Forum Issues


    Thank you for your attention.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Similar Threads

  1. [SOLVED !] Plot with Ks0108 driver
    By molendijkm in forum LCD module
    Replies: 5
    Last Post: 21st February 2014, 12:13
  2. GLCD Help
    By C_Moore in forum The Lounge
    Replies: 6
    Last Post: 19th June 2010, 09:58
  3. Glcd
    By ADLIN SYSTEMS in forum The Lounge
    Replies: 9
    Last Post: 13th March 2010, 20:51
  4. Glcd
    By ADLIN SYSTEMS in forum The Lounge
    Replies: 0
    Last Post: 15th July 2009, 22:41
  5. Glcd
    By ADLIN SYSTEMS in forum The Lounge
    Replies: 0
    Last Post: 15th July 2009, 22:31

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts