Notifications
Clear all

Testing 1234

3 Posts
2 Users
0 Reactions
4,553 Views
(@dronebot-workshop)
Workshop Guru Admin
Joined: 7 years ago
Posts: 1182
Topic starter  

This is a test to see if the new forum preview feature is functioning.

  1. Here is the first item in a numbered list
  2. Here is the second item in a numbered list

 

Here is a blockquote

Here is an image

 

So far it seems to work!


"Never trust a computer you can’t throw out a window." — Steve Wozniak


   
Quote
Robo Pi
(@robo-pi)
Robotics Engineer
Joined: 7 years ago
Posts: 1669
 

Fan

Tass Tick!

It seems to work pretty good, except it didn't preview the red color of the text.  No big deal there. It does show the humongous size and centering.  So that's cool.

 

Let's see if it previews code:

void Button_Pressed(uint8_t buttons)
{
  switch (buttons)
  {
    case 1:
    Serial.println("Switch 1 was pressed");
    button_1 = !button_1;
    // if (button_1 ? button_1 = false : button_1 = true){}
    if (!button_1)
    {
      digitalWrite(strb, LOW);
      shiftOut(data, clk, LSBFIRST, 0xc0); // Address of 1st digit
      shiftOut(data, clk, LSBFIRST, 0x06); // Numeral 1
      digitalWrite(strb, HIGH);    
    }
    else
    {
      digitalWrite(strb, LOW);
      shiftOut(data, clk, LSBFIRST, 0xc0); // Address of 1st digit
      shiftOut(data, clk, LSBFIRST, 0x00); // Off
      digitalWrite(strb, HIGH);      
    }
}

 Yep that previews nicely too.

How about a pic?

Alysha Baby

Oooooooo!  Nice!

How about a poem?  Will it preview a poem?

That's not a poem you numskull nerd!
those are just words that shouldn't be heard
this preview feature rejects your art
and has replaced it with this linquistic fart!

I guess not!  I won't be able to write anymore poems now if the preview feature is going to just replace them with word farts. ? 


DroneBot Workshop Robotics Engineer
James


   
ReplyQuote
(@dronebot-workshop)
Workshop Guru Admin
Joined: 7 years ago
Posts: 1182
Topic starter  

I wasn't aware it had a poetry filter!


"Never trust a computer you can’t throw out a window." — Steve Wozniak


   
ReplyQuote