SPI with 2 slaves, GLCD and MAX147 - Page 2


+ Reply to Thread
Page 2 of 2 FirstFirst 12
Results 16 to 23 of 23

Thread: SPI with 2 slaves, GLCD and MAX14791 days old

  1. #16
    Junior Member Broderic's Avatar
    Join Date
    Jan 2019
    Posts
    62
    Thumbs Up
    Received: 2
    Given: 0
    Total Downloaded
    76.54 MB

    0 Not allowed!

    Default Re: SPI with 2 slaves, GLCD and MAX147

    Hello.I don't know how to lower the SCLK frequency with Amicus18.For instance, if I put Xtal=16MHz in Amicus18.inc and SSPCON1=%00000001, I should expect 1 MHz (16MHZ/16).Instead I have SCLK at 4 MHz.It seems that the Fosc is always 64MHz, regardless of Xtal value setting.Thank you for any suggestion.

  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. #17
    Member flosigud's Avatar
    Join Date
    Oct 2013
    Posts
    209
    Thumbs Up
    Received: 13
    Given: 15
    Total Downloaded
    3.27 GB

    0 Not allowed!

    Default Re: SPI with 2 slaves, GLCD and MAX147

    Hi,

    Xtal setting is irreverent in this case. What matters is the actual speed and setting of sspcon1. SSPCON1=%00000001 sets the speed at 4MHz and SSPCON1=%00000010 = 1MHz.
    Flosi Guđmundsson
    Reykjavík

  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. #18
    Junior Member Broderic's Avatar
    Join Date
    Jan 2019
    Posts
    62
    Thumbs Up
    Received: 2
    Given: 0
    Total Downloaded
    76.54 MB

    0 Not allowed!

    Default Re: SPI with 2 slaves, GLCD and MAX147

    Thank you Flosi.
    I know, I'm just practicing and I wonder if (and how) I can lower the frequency of SClK below 1 MHz (for instance to 250kHz).
    So for instance, if I could disable PLL (I do not how at the moment) I could have 16MHz/64 = 250 kHz.
    In other word, I'm not able to lower the XTAL frequency of Amicus18 down to 64MHz.
    Thank you again for your attention.

    Regards

  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. #19
    Fanatical Contributor top204's Avatar
    Join Date
    Feb 2002
    Posts
    3,707
    Thumbs Up
    Received: 362
    Given: 173
    Total Downloaded
    2.08 GB

    0 Not allowed!

    Default Re: SPI with 2 slaves, GLCD and MAX147

    To alter the speed to slower with the MSSP peripheral operating as SPI, you can use Timer2 as the clock source.

    I have had to use Timer2 as the clock a few times in the past because the older PIC microcontrollers didn;t have a good prescaler for the SPI clock. However, some of the newer 8-bit PIC devices have an SFR dedicated to the prescaler and the MSSP clock can be prescaled from 1:1 to 1:256. The problem with using Timer2 as the clock source, is that other peripherals also use Timer2 as the clock source, so it can get confusing in a program when it has to be saved, altered, then restored everytime a peripheral is read.

  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. #20
    Junior Member Broderic's Avatar
    Join Date
    Jan 2019
    Posts
    62
    Thumbs Up
    Received: 2
    Given: 0
    Total Downloaded
    76.54 MB

    0 Not allowed!

    Default Re: SPI with 2 slaves, GLCD and MAX147

    Thanks Les.
    That's was always my thought. I learn a little bit the syntax for timer 2 and follow then your suggestion.

    In the meantime I came out by using internal clock option with OSCCON:

    OSCCON=%01110010
    SSPCON1=%00100010 'Enable SPI,idle low level,SCLK 250 KHz (HFINTOSC=16 MHz/64).

    Remaining issue is: how can I run Amicus18 with on board crystal (external clock) without PLL x4 (in other words at 16 MHz) simply disabling it?
    I tried in all manner: no way.
    I thoght that putting in Amicus18.inc, FOSC=HS in place of HSPLL make that, but it is not so.
    I would appreciate any suggestion.

    Thanks again
    Regards

  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. #21
    Fanatical Contributor top204's Avatar
    Join Date
    Feb 2002
    Posts
    3,707
    Thumbs Up
    Received: 362
    Given: 173
    Total Downloaded
    2.08 GB

    0 Not allowed!

    Default Re: SPI with 2 slaves, GLCD and MAX147

    If you are using the bootloader to program the Amicus18's microcontroller, it will always run at 64MHz using the 4xPLL because that is the fuse settings for the bootloader, so it is the settings for the user program.

    To alter config fuses, you will need to program using a device programmer attached to the pins on the end of the Amicus18 board.

  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. #22
    Junior Member Broderic's Avatar
    Join Date
    Jan 2019
    Posts
    62
    Thumbs Up
    Received: 2
    Given: 0
    Total Downloaded
    76.54 MB

    0 Not allowed!

    Default Re: SPI with 2 slaves, GLCD and MAX147

    Les, many many thanks!
    That will probably explain why the same code currently runs properly on easypic7 and not on Amicus18:

    On Amicus18, with following code I have a SCLK=1 MHz (not what expected):
    Code:
      Device = 18F25K20  Declare Xtal = 16
      Declare Hserial_Clear = 1
     
    $ifndef True
        $define True 1
    $endif
    $ifndef False
        $define False 0
    $endif
         
    '-------------------------------------------------------------------------------
    ' Setup the config fuses for external oscillator with no PLL
    '
    Config_Start
        FOSC = HS           ' HS oscillator, PLL disabled
        Debug = Off         ' Background debugger disabled' RB6 and RB7 configured as general purpose I/O pins
        XINST = Off         ' Instruction set extension and Indexed Addressing mode disabled (Legacy mode)
        STVREN = Off        ' Reset on stack overflow/underflow disabled
        WDTEN = Off         ' WDT disabled (control is placed on SWDTEN bit)
        FCMEN = Off         ' Fail-Safe Clock Monitor disabled    
        IESO = Off          ' Two-Speed Start-up disabled
        WDTPS = 128         ' Watchdog is 1:128
        BOREN = Off         ' Brown-out Reset disabled in hardware and software
        BORV = 18           ' VBOR set to 1.8 V nominal
        MCLRE = On          ' MCLR pin enabled, RE3 input pin disabled
        HFOFST = Off        ' The system clock is held Off until the HF-INTOSC is stable.
        LPT1OSC = Off       ' T1 operates in standard power mode
        PBADEN = Off        ' PORTB<4:0> pins are configured as digital I/O on Reset
        CCP2MX = PORTC      ' CCP2 input/output is multiplexed with RC1
        LVP = Off           ' Single-Supply ICSP disabled
        Cp0 = Off           ' Block 0 (000800-001FFFh) not code-protected
        CP1 = Off           ' Block 1 (002000-003FFFh) not code-protected
        CPB = Off           ' Boot block (000000-0007FFh) not code-protected
        CPD = Off           ' Data eeprom not code-protected
        WRT0 = Off          ' Block 0 (000800-001FFFh) not write-protected
        WRT1 = Off          ' Block 1 (002000-003FFFh) not write-protected
        WRTB = Off          ' Boot block (000000-0007FFh) not write-protected
        WRTC = Off          ' Configuration registers (300000-3000FFh) not write-protected
        WRTD = Off          ' Data eeprom not write-protected
        EBTR0 = Off         ' Block 0 (000800-001FFFh) not protected from table reads executed in other blocks
        EBTR1 = Off         ' Block 1 (002000-003FFFh) not protected from table reads executed in other blocks
        EBTRB = Off         ' Boot block (000000-0007FFh) not protected from table reads executed in other blocks
    Config_End  
     
     
     Symbol SS=PORTB.3
     Symbol MAX147_CONTROL_BYTE=0X8F 'Channel 0,unipolar,single ended,external clock (see datasheet)
     Symbol CLK=PORTC.3
     Dim channel0 As Word
     Dim voltage As Float
     Dim dummy As Byte
     
     main:
     TRISC=010000
     SS=1                              'Enable Slave Select (ADC),a sort of reset and ready to wait                
     CLK=0                             'Clear clock
     OSCCON=100000
     
     'SPI harware configuration
     SSPCON1=100010    'Enable SPI,idle low level,SCLK 250 KHz (HFINTOSC=16 MHz/64)
     'SSPCON1bits_SSPEN=1
     'SSPCON1bits_CKP=0
     'SSPCON1bits_SSPM3=0
     'SSPCON1bits_SSPM2=0
     'SSPCON1bits_SSPM1=1  
     'SSPCON1bits_SSPM0=0  
     SSPSTAT=000000    'Input data sampled at middle,output data changes from active to idle
     'SSPSTATbits_SMP=0 
     'SSPSTATbits_CKE=1
     'SPI harware configuration
     
     While 1 =1
     
           SS=0                                'Enable Slave Select (ADC) (optional if only 1 slave)
               
           SSPBUF=MAX147_CONTROL_BYTE
           While SSPSTATbits_BF=0 : Wend       'SSPBUF is empty ?
           dummy = SSPBUF                      'Read byte from slave
     
           SSPBUF=0
           While SSPSTATbits_BF=0:Wend         'SSPBUF is empty ?
           channel0.HighByte = SSPBUF          'Read byte from slave
      
           SSPBUF=0
           While SSPSTATbits_BF=0 : Wend       'SSPBUF is empty ?
           channel0.LowByte = SSPBUF           'Read byte from slave
           
           SS=1                                'Disable Slave Select (ADC) (optional If only 1 slave)
     
           channel0=channel0>>3                'Shift right 3 places
           channel0=channel0&0x0FFF            'Mask to get 12 bit result
           voltage=(channel0/4096)*2.54        'Count_voltage conversion
    
    
           HRSOut Dec2 voltage, 13,10
    
    
           DelayMS 100  
     Wend
    On Easypic7, with following code (the same) I have a SCLK=250 kHz (the good one):
    Code:
       Device = 18F25K20    Declare Xtal = 16
        Declare Hserial_Clear = 1                   ' Enable Error clearing on received characters
    
    
    $ifndef True
        $define True 1
    $endif
    $ifndef False
        $define False 0
    $endif
       
    Config_Start                                                                    
        FOSC = HS           ' HS oscillator,PLL disabled
        Debug = Off         ' Background debugger disabled' RB6 and RB7 configured as general purpose I/O pins
        XINST = Off         ' Instruction set extension and Indexed Addressing mode disabled (Legacy mode)
        STVREN = Off        ' Reset on stack overflow/underflow disabled
        WDTEN = Off         ' WDT disabled (control is placed on SWDTEN bit)
        FCMEN = Off         ' Fail-Safe Clock Monitor disabled    
        IESO = Off          ' Two-Speed Start-up disabled
        WDTPS = 128         ' Watchdog is 1:128
        BOREN = Off         ' Brown-out Reset disabled in hardware and software
        BORV = 18           ' VBOR set to 1.8 V nominal
        MCLRE = On          ' MCLR pin enabled, RE3 input pin disabled
        HFOFST = Off        ' The system clock is held Off until the HF-INTOSC is stable.
        LPT1OSC = Off       ' T1 operates in standard power mode
        PBADEN = Off        ' PORTB<4:0> pins are configured as digital I/O on Reset
        CCP2MX = PORTC      ' CCP2 input/output is multiplexed with RC1
        LVP = Off           ' Single-Supply ICSP disabled
        Cp0 = Off           ' Block 0 (000800-001FFFh) not code-protected
        CP1 = Off           ' Block 1 (002000-003FFFh) not code-protected
        CPB = Off           ' Boot block (000000-0007FFh) not code-protected
        CPD = Off           ' Data eeprom not code-protected
        WRT0 = Off          ' Block 0 (000800-001FFFh) not write-protected
        WRT1 = Off          ' Block 1 (002000-003FFFh) not write-protected
        WRTB = Off          ' Boot block (000000-0007FFh) not write-protected
        WRTC = Off          ' Configuration registers (300000-3000FFh) not write-protected
        WRTD = Off          ' Data eeprom not write-protected
        EBTR0 = Off         ' Block 0 (000800-001FFFh) not protected from table reads executed in other blocks
        EBTR1 = Off         ' Block 1 (002000-003FFFh) not protected from table reads executed in other blocks
        EBTRB = Off         ' Boot block (000000-0007FFh) not protected from table reads executed in other blocks
    Config_End
    
    
     
     Symbol SS=PORTB.3
     Symbol MAX147_CONTROL_BYTE=0X8F 'Channel 0,unipolar,single ended,external clock (see datasheet)
     Symbol CLK=PORTC.3
     Dim channel0 As Word
     Dim voltage As Float
     Dim dummy As Byte
     
     main:
     TRISC=%00010000
     SS=1                              'Enable Slave Select (ADC),a sort of reset and ready to wait                
     CLK=0                             'Clear clock
     
     OSCCON=%01100000
     'SPI harware configuration
     SSPCON1=%00100010    'Enable SPI,idle low level,SCLK 250 kHz (FOSC/64)
     'SSPCON1bits_SSPEN=1
     'SSPCON1bits_CKP=0
     'SSPCON1bits_SSPM3=0
     'SSPCON1bits_SSPM2=0
     'SSPCON1bits_SSPM1=1  
     'SSPCON1bits_SSPM0=0  
     SSPSTAT=%01000000    'Input data sampled at middle,output data changes from active to idle
     'SSPSTATbits_SMP=0 
     'SSPSTATbits_CKE=1
     'SPI harware configuration
     
     While 1 =1
     
           SS=0                                'Enable Slave Select (ADC) (optional if only 1 slave)
               
           SSPBUF=MAX147_CONTROL_BYTE
           While SSPSTATbits_BF=0 : Wend       'SSPBUF is empty ?
           dummy = SSPBUF                      'Read byte from slave
     
           SSPBUF=0
           While SSPSTATbits_BF=0:Wend         'SSPBUF is empty ?
           channel0.HighByte = SSPBUF          'Read byte from slave
      
           SSPBUF=0
           While SSPSTATbits_BF=0 : Wend       'SSPBUF is empty ?
           channel0.LowByte = SSPBUF           'Read byte from slave
           
           SS=1                                'Disable Slave Select (ADC) (optional If only 1 slave)
     
           channel0=channel0>>3                'Shift right 3 places
           channel0=channel0&0x0FFF            'Mask to get 12 bit result
           voltage=(channel0/4096)*2.54        'Count_voltage conversion
    
    
           HRSOut Dec2 voltage, 13,10
    
    
           DelayMS 100  
     Wend
    Thank you again for your kind support!

    Regards

  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. #23
    Junior Member Broderic's Avatar
    Join Date
    Jan 2019
    Posts
    62
    Thumbs Up
    Received: 2
    Given: 0
    Total Downloaded
    76.54 MB

    0 Not allowed!

    Default Re: SPI with 2 slaves, GLCD and MAX147

    Hello.
    For the remaining Printing issues:

    1. I solved continuous printing by resetting the PIR1.3 flag before print statement
    2. I got floating with 2 decimals by using updated with Les's modification ST7565R_Demo_101116.zip in Wiki.

    Below the working code.
    Hope it will be somehow useful for others.

    Thank you again for the kind support.

    Regards


    Code:
    '****************************************************************'*  Name    : Amicus18_SPI_2slaves_EADOG_and_MAX147             * 
    '* Hardware SPI for EADOG 128-6 display and MAX12               *
    '* Rev.2 _ SSPIF clear added before printing to avoid unproper  *
    '* continuous 2.112.112.11... printing at expected 2,1          *
    '****************************************************************
     Include "Amicus18.inc"
     Include "Amicus18_SPI.inc"
     'PORTB.5 ---> C1SB of EADOG
     'PORTB.6 ---> A0 of EADOG
     'PORTB.0 ---> GLCD RST of EADOG
     'PORTC.3 ---> CLK of EADOG SPI _MAX147
     'PORTC.5 ---> MOSI of EADOG SPI _MAX147
     'PORTC.4 ---> MISO of MAX127 SPI
     $define SS1 PORTB.3     ' do not use PORTB.1 since Shield Arduino is GND
     Symbol MAX147_CONTROL_BYTE=0X8F
     Symbol CLK=PORTC.3
    
    
     Include "ST7565_DEF.inc"    'ST7565R Preprocessor & defines 
                          
     Dim channel1 As Word
     Dim voltage As Float
     Dim dummy As Byte
     Dim data1 As Byte
     Dim mask As Byte
     Dim ret_val As Byte
     Dim i As Byte
     Dim pino As Byte
      
     Declare Watchdog = False
     Declare Float_Display_Type = LARGE
     Declare Internal_Font On       'required to read 2nd decimal digit in float
     
     Symbol SSPEN  = SSPCON1.5     ' SSP Enable bit
     Symbol CKP1   = SSPCON1.4     ' Clock Polarity Select
     Symbol SMP1   = SSPSTAT.7     ' Data input sample bit
     Symbol CKE1   = SSPSTAT.6     ' Clock Edge Select bit
     Symbol BF1    = SSPSTAT.0     ' buffer full status bit 1 = buffer full
     Symbol SSPIF  = PIR1.3     
       
      'SSPCON1=%00000000                              'SCLK 2 MHz_=8MHz/4    Print OK without SSPIF=0
      'OSCCON=%01100010                               'Internal 8 MHz
    
    
      SSPCON1=%00000010                               'SCLK 1 MHz =64MHz/64  Print not OK w/o SSPIF=0
      OSCCON=%01110000                                'External 64MHz
      
      TRISC=%00010000 
      Include "GLCD_ST7565R_SPI.inc"' New version in ST7565R_Demo_101116.zip, with Les's update for floating  
                             
    Main:  
        DelayMS 250                                     
        '---intialize the SPI in Mode 0-----------------
       SMP1   = 0                                      ' Data input sampled at middle of data output time
       CKE1   = 1                                      ' CPHA - transmit on falling edge active to idle 
       CKP1   = 0                                      ' CPOL - idle state is low level
       SSPEN = 1                                      ' Enable SPI  
        '---intialize the LCD---------------------------
       GoSub Init_GLCDST7565                           ' intialize the LCD      
       DelayMS 10
       GoSub GlcdWriteCmd[0xA5]                        ' all points on - black scrren  
       DelayMS 500                                      
       GoSub GlcdWriteCmd[0xA4]                        ' normal display
       Cls                                             ' clear all the junk from the memory
        '================================================
        ' examples of commands and functions   
        ' custom font macro use examples
        ' examples are for 128 x 64 display
        '------------------------------------------------
       
       High SS1
       CLK = 0 
       
       While 1=1
       SSPIF=0
       Print At 2,1, Dec2 voltage  
       HRSOut  Dec2 voltage,13,10           
       DelayMS 1000
     
     
     Clear SS1
     SSPBUF=MAX147_CONTROL_BYTE
     While SSPSTATbits_BF=0 : Wend; // SSPBUF is empty ?
     dummy = SSPBUF; // Read byte from slave
     
     SSPBUF=0
     While SSPSTATbits_BF=0:Wend; // SSPBUF is empty ?
     channel1.HighByte = SSPBUF; // Read byte from slave
     
     SSPBUF=0
     While SSPSTATbits_BF=0 : Wend; // SSPBUF is empty ?
     channel1.LowByte = SSPBUF; // Read byte from slave
     Set SS1
     
      channel1=channel1>>3
      channel1=channel1&0x0FFF
      voltage=(channel1/4096)*2.54
      
     DelayMS 100  
    
    
      Wend
      
    Font:- CData $00,$00,$00,$00,$00,$00,_      'Graphic character 0
                 $FF,$FF,$FF,$FF,$FF,$FF,_      'Graphic character 1
                 $07,$07,$07,$00,$00,$00,_      'Graphic character 2
                 $00,$00,$00,$07,$07,$07,_      'Graphic character 3
                 $E0,$E0,$E0,$00,$00,$00,_      'Graphic character 4
                 $00,$00,$00,$E0,$E0,$E0,_      'Graphic character 5
                 $FF,$FF,$FF,$00,$00,$00,_      'Graphic character 6
                 $00,$00,$00,$FF,$FF,$FF,_      'Graphic character 7
                 $07,$07,$07,$07,$07,$07,_      'Graphic character 8
                 $E0,$E0,$E0,$E0,$E0,$E0,_      'Graphic character 9
                 $E0,$E0,$E0,$07,$07,$07,_      'Graphic character 10
                 $07,$07,$07,$E0,$E0,$E0,_      'Graphic character 11
                 $FF,$FF,$FF,$E0,$E0,$E0,_      'Graphic character 12
                 $E0,$E0,$E0,$FF,$FF,$FF,_      'Graphic character 13
                 $07,$07,$07,$FF,$FF,$FF,_      'Graphic character 14
                 $FF,$FF,$FF,$07,$07,$07,_      'Graphic character 15
                 $55,$AA,$55,$AA,$55,$AA,_      'Graphic character 16
                 $AA,$55,$AA,$55,$AA,$55,_      'Graphic character 17
                 $01,$01,$01,$01,$01,$01,_      'Graphic character 18
                 $80,$80,$80,$80,$80,$80,_      'Graphic character 19
                 $FF,$00,$00,$00,$00,$00,_      'Graphic character 20
                 $00,$00,$00,$00,$00,$FF,_      'Graphic character 21
                 $FF,$01,$01,$01,$01,$01,_      'Graphic character 22
                 '$01,$01,$01,$01,$01,$FF,_      'Graphic character 23
                 '
                 ;$FF,$80,$80,$80,$80,$80,_      'Graphic character 24
                 ;$80,$80,$80,$80,$80,$FF,_      'Graphic character 25
                 '
                 $FC,$84,$C6,$E4,$FC,$00,_            ' 23 = empty battery
                 $1C,$3E,$7C,$3E,$1C,$00,_            ' 24 = heart shape
                 $02,$04,$08,$10,$20,$7C,_            ' 25 = check mark 
                 $08,$1C,$3E,$7F,$08,$08,_            ' 26 =  
                 $08,$08,$7F,$3E,$1C,$08,_            ' 27 =  
                 $04,$06,$7F,$06,$04,$00,_            ' 28 = arrow up 
                 $10,$30,$7F,$30,$10,$00,_            ' 29 = arrow Dn 
                 $22,$14,$08,$14,$22,$00,_            ' 30 = X for exit 
                 $10,$38,$54,$10,$10,$1F,_            ' 31 = enter arrow 
                 '
                 
                 ;$00,$00,$00,$00,$F0,$F0,_      'User defined character 26
                 ;$00,$00,$00,$00,$0F,$0F,_      'User defined character 27
                 ;$00,$00,$00,$00,$00,$00,_      'User defined character 28
                 ;$00,$00,$00,$00,$00,$00,_      'User defined character 29
                 ;$00,$00,$00,$00,$00,$00,_      'User defined character 30
                 ;$00,$00,$00,$00,$00,$00,_      'User defined character 31
                 '
                 $00,$00,$00,$00,$00,$00,_      '32 -   - 20        
                 $00,$00,$4F,$00,$00,$00,_      '33 - ! - 21
                 $00,$07,$00,$07,$00,$00,_      '34 - " - 22
                 $14,$7F,$14,$7F,$14,$00,_      '35 - # - 23
                 $24,$2A,$7F,$2A,$12,$00,_      '36 - $ - 24
                 $23,$13,$08,$64,$62,$00,_      '37 - % - 25
                 $36,$49,$55,$22,$50,$00,_      '38 - & - 26
                 $00,$05,$03,$00,$00,$00,_      '39 - ' - 27
                 $1C,$22,$41,$00,$00,$00,_      '40 - ( - 28
                 $00,$00,$41,$22,$1C,$00,_      '41 - ) - 29
                 $14,$08,$3E,$08,$14,$00,_      '42 - * - 2A
                 $08,$08,$3E,$08,$08,$00,_      '43 - + - 2B
                 $00,$50,$30,$00,$00,$00,_      '44 - , - 2C
                 $08,$08,$08,$08,$08,$00,_      '45 - - - 2D
                 $00,$60,$60,$00,$00,$00,_      '46 - . - 2E
                 $20,$10,$08,$04,$02,$00,_      '47 - / - 2F
                 $3E,$51,$49,$45,$3E,$00,_      '48 - 0 - 30
                 $00,$42,$7F,$40,$00,$00,_      '49 - 1 - 31
                 $42,$61,$51,$49,$46,$00,_      '50 - 2 - 32
                 $21,$41,$45,$4B,$31,$00,_      '51 - 3 - 33
                 $18,$14,$12,$7F,$10,$00,_      '52 - 4 - 34
                 $27,$45,$45,$45,$39,$00,_      '53 - 5 - 35
                 $3C,$4A,$49,$49,$30,$00,_      '54 - 6 - 36
                 $01,$71,$09,$05,$03,$00,_      '55 - 7 - 37
                 $36,$49,$49,$49,$36,$00,_      '56 - 8 - 38
                 $06,$49,$49,$49,$3E,$00,_      '57 - 9 - 39
                 $00,$36,$36,$00,$00,$00,_      '58 - : - 3A
                 $00,$56,$36,$00,$00,$00,_      '59 - ; - 3B
                 $08,$14,$22,$41,$00,$00,_      '60 - < - 3C
                 $14,$14,$14,$14,$14,$00,_      '61 - = - 3D
                 $00,$41,$22,$14,$08,$00,_      '62 - > - 3E
                 $02,$01,$51,$09,$06,$00,_      '63 - ? - 3F
                 $32,$49,$79,$41,$3E,$00,_      '64 - @ - 40
                 $7E,$11,$11,$11,$7E,$00,_      '65 - A - 41
                 $7F,$49,$49,$49,$36,$00,_      '66 - B - 42
                 $3E,$41,$41,$41,$22,$00,_      '67 - C - 43
                 $7F,$41,$41,$22,$1C,$00,_      '68 - D - 44
                 $7F,$49,$49,$49,$41,$00,_      '69 - E - 45
                 $7F,$09,$09,$09,$01,$00,_      '70 - F - 46
                 $3E,$41,$49,$49,$7A,$00,_      '71 - G - 47
                 $7F,$08,$08,$08,$7F,$00,_      '72 - H - 48
                 $00,$41,$7F,$41,$00,$00,_      '73 - I - 49
                 $20,$40,$41,$3F,$01,$00,_      '74 - J - 4A
                 $7F,$08,$14,$22,$41,$00,_      '75 - K - 4B
                 $7F,$40,$40,$40,$40,$00,_      '76 - L - 4C
                 $7F,$02,$0C,$02,$7F,$00,_      '77 - M - 4D
                 $7F,$04,$08,$10,$7F,$00,_      '78 - N - 4E
                 $3E,$41,$41,$41,$3E,$00,_      '79 - O - 4F
                 $7F,$09,$09,$09,$06,$00,_      '80 - P - 50
                 $3E,$41,$51,$21,$5E,$00,_      '81 - Q - 51
                 $7F,$09,$19,$29,$46,$00,_      '82 - R - 52
                 $46,$49,$49,$49,$31,$00,_      '83 - S - 53
                 $01,$01,$7F,$01,$01,$00,_      '84 - T - 54
                 $3F,$40,$40,$40,$3F,$00,_      '85 - U - 55
                 $1F,$20,$40,$20,$1F,$00,_      '86 - V - 56
                 $3F,$40,$38,$40,$3F,$00,_      '87 - W - 57
                 $63,$14,$08,$14,$63,$00,_      '88 - X - 58
                 $07,$08,$70,$08,$07,$00,_      '89 - Y - 59
                 $61,$51,$49,$45,$43,$00,_      '90 - Z - 5A
                 $7F,$41,$41,$00,$00,$00,_      '91 - [ - 5B
                 $02,$04,$08,$10,$20,$00,_      '92 - \ - 5C
                 $00,$00,$41,$41,$7F,$00,_      '93 - ] - 5D
                 $04,$02,$01,$02,$04,$00,_      '94 - ^ - 5E
                 $40,$40,$40,$40,$40,$00,_      '95 - _ - 5F
                 $00,$01,$02,$04,$00,$00,_      '96 - ` - 60
                 $20,$54,$54,$54,$78,$00,_      '97 - a - 61
                 $7F,$48,$44,$44,$38,$00,_      '98 - b - 62
                 $38,$44,$44,$44,$20,$00,_      '99 - c - 63
                 $38,$44,$44,$48,$7F,$00,_      '100  d - 64
                 $38,$54,$54,$54,$18,$00,_      '101  e - 65
                 $08,$7E,$09,$01,$02,$00,_      '102  f - 66
                 $0C,$52,$52,$52,$3E,$00,_      '103  g - 67
                 $7F,$08,$04,$04,$78,$00,_      '104  h - 68
                 $00,$44,$7D,$40,$00,$00,_      '105  i - 69
                 $00,$20,$40,$44,$3D,$00,_      '106  j - 6A
                 $7F,$10,$28,$44,$00,$00,_      '107  k - 6B
                 $00,$41,$7F,$40,$00,$00,_      '108  l - 6C
                 $7C,$04,$18,$04,$78,$00,_      '109  m - 6D
                 $7C,$08,$04,$04,$78,$00,_      '110  n - 6E
                 $38,$44,$44,$44,$38,$00,_      '111  o - 6F
                 $7C,$14,$14,$14,$08,$00,_      '112  p - 70
                 $08,$14,$14,$18,$7C,$00,_      '113  q - 71
                 $7C,$08,$04,$04,$08,$00,_      '114  r - 72
                 $48,$54,$54,$54,$20,$00,_      '115  s - 73
                 $04,$3F,$44,$40,$20,$00,_      '116  t - 74
                 $3C,$40,$40,$20,$7C,$00,_      '117  u - 75
                 $1C,$20,$40,$20,$1C,$00,_      '118  v - 76
                 $3C,$40,$30,$40,$3C,$00,_      '119  w - 77
                 $44,$28,$10,$28,$44,$00,_      '120  x - 78
                 $0C,$50,$50,$50,$3C,$00,_      '121  y - 79
                 $44,$64,$54,$4C,$44,$00,_      '122  z - 7A
                 $08,$36,$41,$00,$00,$00,_      '123  { - 7B
                 $00,$00,$7F,$00,$00,$00,_      '124  | - 7C
                 $00,$00,$41,$36,$08,$00,_      '125  } - 7D
                 $00,$08,$04,$08,$04,$00        '126  ~ - 7E     
    _OverFontTable_:

  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.

Thread Information

Users Browsing this Thread

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

     

Similar Threads

  1. Replies: 5
    Last Post: 29th October 2018, 19:43
  2. SPI GLCD Help needed
    By barak in forum Proton Plus Compiler v3
    Replies: 53
    Last Post: 15th January 2017, 17:44
  3. [SOLVED !] master/slaves with I2C
    By willy in forum Master Synchronous Serial Port (MSSP) module / 3-wire SPI / I2C™ / Master and Slave modes
    Replies: 11
    Last Post: 1st February 2016, 22:58
  4. SPI - (Can't belive a search on SPI yields no results?)
    By Peter Truman in forum Proton Plus Compiler v3
    Replies: 12
    Last Post: 30th September 2012, 10:12
  5. SPI and multiple slaves + protection
    By Hans Chr in forum The Lounge
    Replies: 4
    Last Post: 7th October 2008, 22:05

Posting Permissions

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