user4967: I am fairly new to Arduino programming and I have been set with the task of scrolling my name across a LoL shield with a potentiometer. I really don't have any idea how to do this and when I tried to look it up online there is nothing for such a task. I did look at the library references on the LoL shield website but I couldn't make sense of it.
What I did find was a LoL shield sequencer to allow animation on the LoL shield and I figured that might help but I don't know how to use that code to create a scrolling effect with a potentiometer.

user10794: The LoL shield library now supports exactly1 what you want.
If you choose the LoLShield_FontTest example it will scroll "HELLO WORLD!" across your shield. Change your text as required.
static const char test[]="HELLO WORLD!   ";

Example of the word "WORLD":

And in higher contrast to make it more obvious:


(1) Except for the potentiometer. In the example code where it automatically scrolls:
  for (int8_t x=DISPLAY_COLS, i=0; ; x--) {
    LedSign::Clear();
    for (int8_t x2=x, i2=i; x2<DISPLAY_COLS;) {
       int8_t w = Font::Draw (test[i2], x2, 0);
       x2 += w, i2 = (i2+1) % strlen(test);
       if (x2 <= 0)  // off the display completely?
         x = x2, i = i2;
       }
       delay(500);
    }

You would amend it to do an analogRead to set the position of x.

Example of using a potentiometer
Based on the Charliplexing example, the code below uses a pot connected to A0 to control the scroll position:
#include "Charliplexing.h"
#include "Myfont.h"

char * test = "full ASCII charset: $ % & ! [ ] { }";
int len; // length of this string

void setup()                    // run once, when the sketch starts
{
  LedSign::Init();
  len = strlen (test);
}

void loop()                     // run over and over again
{
  // start empty
  LedSign::Clear(); 

  int potReading = analogRead (0);  // read A0
  int i = map (potReading, 0, 1023, 0, len * 6);  // starting pixel

  for (int j = 0; j < 14; j += 6) 
    Myfont::Draw(j, test[(i + j) / 6]); 

  delay(100);   // hold that image for a moment

}


user368: You know how wide the display is. You know how wide the text is. You know the position of the potentiometer. With those you can determine where in the text (if the text is wider) or display (if the display is wider) you need to start drawing from and where you need to stop drawing. Subtracting the text width from the display width will give you the range for performing linear interpolation with the pot position.

4967: <p>I am fairly new to Arduino programming and I have been set with the task of scrolling my name across a <a href="http://jimmieprodgers.com/kits/lolshield/" rel="nofollow">LoL shield</a> with a potentiometer. I really don't have any idea how to do this and when I tried to look it up online there is nothing for such a task. I did look at the library references on the LoL shield website but I couldn't make sense of it.</p>

<p>What I did find was a <a href="http://sequoia.github.io/LSS/" rel="nofollow">LoL shield sequencer</a> to allow animation on the LoL shield and I figured that might help but I don't know how to use that code to create a scrolling effect with a potentiometer.</p>
 10794: 

<p>The <a href="https://github.com/jprodgers/LoLshield" rel="nofollow noreferrer">LoL shield library</a> now supports exactly<sup>1</sup> what you want.</p>

<p>If you choose the <code>LoLShield_FontTest</code> example it will scroll "HELLO WORLD!" across your shield. Change your text as required.</p>

<pre class="lang-C++ prettyprint-override"><code>static const char test[]="HELLO WORLD!   ";
</code></pre>

<p>Example of the word "WORLD":</p>

<p><a href="https://i.stack.imgur.com/HauiP.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/HauiP.jpg" alt="Hello World"></a></p>

<p>And in higher contrast to make it more obvious:</p>

<p><a href="https://i.stack.imgur.com/BoRrB.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/BoRrB.jpg" alt="Hello World high contrast"></a></p>

<hr>

<p>(1) Except for the potentiometer. In the example code where it automatically scrolls:</p>

<pre class="lang-C++ prettyprint-override"><code>  for (int8_t x=DISPLAY_COLS, i=0; ; x--) {
    LedSign::Clear();
    for (int8_t x2=x, i2=i; x2&lt;DISPLAY_COLS;) {
       int8_t w = Font::Draw (test[i2], x2, 0);
       x2 += w, i2 = (i2+1) % strlen(test);
       if (x2 &lt;= 0)  // off the display completely?
         x = x2, i = i2;
       }
       delay(500);
    }
</code></pre>

<p>You would amend it to do an analogRead to set the position of <code>x</code>.</p>

<hr>

<h2>Example of using a potentiometer</h2>

<p>Based on the Charliplexing example, the code below uses a pot connected to A0 to control the scroll position:</p>

<pre class="lang-C++ prettyprint-override"><code>#include "Charliplexing.h"
#include "Myfont.h"

char * test = "full ASCII charset: $ % &amp; ! [ ] { }";
int len; // length of this string

void setup()                    // run once, when the sketch starts
{
  LedSign::Init();
  len = strlen (test);
}

void loop()                     // run over and over again
{
  // start empty
  LedSign::Clear(); 

  int potReading = analogRead (0);  // read A0
  int i = map (potReading, 0, 1023, 0, len * 6);  // starting pixel

  for (int j = 0; j &lt; 14; j += 6) 
    Myfont::Draw(j, test[(i + j) / 6]); 

  delay(100);   // hold that image for a moment

}
</code></pre>
 368: <p>You know how wide the display is. You know how wide the text is. You know the position of the potentiometer. With those you can determine where in the text (if the text is wider) or display (if the display is wider) you need to start drawing from and where you need to stop drawing. Subtracting the text width from the display width will give you the range for performing linear interpolation with the pot position.</p>
