Skip to content

Commit

Permalink
Release 7.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
rei-vilo committed Nov 17, 2023
1 parent 795631f commit 317b6d3
Show file tree
Hide file tree
Showing 30 changed files with 740 additions and 430 deletions.
22 changes: 9 additions & 13 deletions examples/Common_Colours/Common_Colours.ino
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,18 @@
/// @n
///

// SDK
#if defined(ENERGIA) // LaunchPad specific
#include "Energia.h"
#else // Arduino general
#include "Arduino.h"
#endif // SDK
// Screen
#include "PDLS_EXT3_Basic.h"

// Set parameters
// SDK
// #include <Arduino.h>
#include "hV_HAL_Peripherals.h"

// Include application, user and local libraries
#include "SPI.h"
#include "PDLS_EXT3_Basic.h"
// #include <SPI.h>

// Configuration
#include "hV_Configuration.h"

// Define structures and classes

Expand Down Expand Up @@ -169,10 +169,6 @@ void setup()

Serial.println("=== ");
Serial.println();

#if defined(ARDUINO_ARCH_PIDUINO)
exit(0);
#endif
}

// Add loop code
Expand Down
24 changes: 11 additions & 13 deletions examples/Common_Fonts/Common_Fonts.ino
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,20 @@
/// @n
///

// SDK
#if defined(ENERGIA) // LaunchPad specific
#include "Energia.h"
#else // Arduino general
#include "Arduino.h"
#endif // SDK
// Screen
#include "PDLS_EXT3_Basic.h"

// Set parameters
// SDK
// #include <Arduino.h>
#include "hV_HAL_Peripherals.h"

// Include application, user and local libraries
#include "SPI.h"
#include "PDLS_EXT3_Basic.h"
// #include <SPI.h>

// Configuration
#include "hV_Configuration.h"

// Set parameters

// Define structures and classes

Expand Down Expand Up @@ -140,10 +142,6 @@ void setup()

Serial.println("=== ");
Serial.println();

#if defined(ARDUINO_ARCH_PIDUINO)
exit(0);
#endif
}

// Add loop code
Expand Down
22 changes: 9 additions & 13 deletions examples/Common_Forms/Common_Forms.ino
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,18 @@
/// @n
///

// SDK
#if defined(ENERGIA) // LaunchPad specific
#include "Energia.h"
#else // Arduino general
#include "Arduino.h"
#endif // SDK
// Screen
#include "PDLS_EXT3_Basic.h"

// Set parameters
// SDK
// #include <Arduino.h>
#include "hV_HAL_Peripherals.h"

// Include application, user and local libraries
#include "SPI.h"
#include "PDLS_EXT3_Basic.h"
// #include <SPI.h>

// Configuration
#include "hV_Configuration.h"

// Define structures and classes

Expand Down Expand Up @@ -120,10 +120,6 @@ void setup()

Serial.println("=== ");
Serial.println();

#if defined(ARDUINO_ARCH_PIDUINO)
exit(0);
#endif
}

// Add loop code
Expand Down
22 changes: 9 additions & 13 deletions examples/Common_Orientation/Common_Orientation.ino
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,18 @@
/// @n
///

// SDK
#if defined(ENERGIA) // LaunchPad specific
#include "Energia.h"
#else // Arduino general
#include "Arduino.h"
#endif // SDK
// Screen
#include "PDLS_EXT3_Basic.h"

// Set parameters
// SDK
// #include <Arduino.h>
#include "hV_HAL_Peripherals.h"

// Include application, user and local libraries
#include "SPI.h"
#include "PDLS_EXT3_Basic.h"
// #include <SPI.h>

// Configuration
#include "hV_Configuration.h"

// Define structures and classes

Expand Down Expand Up @@ -112,10 +112,6 @@ void setup()

Serial.println("=== ");
Serial.println();

#if defined(ARDUINO_ARCH_PIDUINO)
exit(0);
#endif
}

// Add loop code
Expand Down
22 changes: 9 additions & 13 deletions examples/Common_Text/Common_Text.ino
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,18 @@
/// @n
///

// SDK
#if defined(ENERGIA) // LaunchPad specific
#include "Energia.h"
#else // Arduino general
#include "Arduino.h"
#endif // SDK
// Screen
#include "PDLS_EXT3_Basic.h"

// Set parameters
// SDK
// #include <Arduino.h>
#include "hV_HAL_Peripherals.h"

// Include application, user and local libraries
#include "SPI.h"
#include "PDLS_EXT3_Basic.h"
// #include <SPI.h>

// Configuration
#include "hV_Configuration.h"

// Define structures and classes

Expand Down Expand Up @@ -143,10 +143,6 @@ void setup()

Serial.println("=== ");
Serial.println();

#if defined(ARDUINO_ARCH_PIDUINO)
exit(0);
#endif
}

// Add loop code
Expand Down
22 changes: 9 additions & 13 deletions examples/Common_WhoAmI/Common_WhoAmI.ino
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,18 @@
/// @n
///

// SDK
#if defined(ENERGIA) // LaunchPad specific
#include "Energia.h"
#else // Arduino general
#include "Arduino.h"
#endif // SDK
// Screen
#include "PDLS_EXT3_Basic.h"

// Set parameters
// SDK
// #include <Arduino.h>
#include "hV_HAL_Peripherals.h"

// Include application, user and local libraries
#include "SPI.h"
#include "PDLS_EXT3_Basic.h"
// #include <SPI.h>

// Configuration
#include "hV_Configuration.h"

// Define structures and classes

Expand Down Expand Up @@ -107,10 +107,6 @@ void setup()

Serial.println("=== ");
Serial.println();

#if defined(ARDUINO_ARCH_PIDUINO)
exit(0);
#endif
}

// Add loop code
Expand Down
27 changes: 13 additions & 14 deletions examples/Example_Global_Speed/Example_Global_Speed.ino
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -19,24 +19,26 @@
/// Release 604: Global and fast variants
///

// SDK
#if defined(ENERGIA) // LaunchPad specific
#include "Energia.h"
#else // Arduino general
#include "Arduino.h"
#endif // SDK
// Screen
#include "PDLS_EXT3_Basic.h"
// #include "PDLS_EXT3_Basic_Fast.h"

// Set parameters
// SDK
// #include <Arduino.h>
#include "hV_HAL_Peripherals.h"

// Include application, user and local libraries
#include "SPI.h"
// #include <SPI.h>

// Configuration
#include "hV_Configuration.h"

// Define structures and classes
#include "PDLS_EXT3_Basic.h"

// Define constants and variables
// Screen_EPD_EXT3 myScreen(eScreen_EPD_EXT3_271, boardRaspberryPiPico_RP2040);
Screen_EPD_EXT3 myScreen(eScreen_EPD_EXT3_370, boardRaspberryPiPico_RP2040);

// #include "PDLS_EXT3_Basic_Fast.h"
// Screen_EPD_EXT3_Fast myScreen(eScreen_EPD_EXT3_271_09_Fast, boardRaspberryPiPico_RP2040);
// Screen_EPD_EXT3_Fast myScreen(eScreen_EPD_EXT3_370_0C_Fast, boardRaspberryPiPico_RP2040);

Expand Down Expand Up @@ -93,6 +95,7 @@ void performTest()
// 1
dy += dz;
text = formatString("Global update= %i ms", chrono);
// text = formatString("Fast update= %i ms", chrono);
Serial.println(text);
dx = (x - myScreen.stringSizeX(text)) / 2;
myScreen.gText(dx, dy, text);
Expand Down Expand Up @@ -131,10 +134,6 @@ void setup()

Serial.println("=== ");
Serial.println();

#if defined(ARDUINO_ARCH_PIDUINO)
exit(0);
#endif
}

// Add loop code
Expand Down
2 changes: 1 addition & 1 deletion library.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name=PDLS_EXT3_Basic
version=7.0.0
version=7.0.1
author=Rei Vilo for Pervasive Displays
maintainer=Rei Vilo
sentence=Library for Pervasive Displays iTC monochrome and colour screens with EXT3-1 board
Expand Down
6 changes: 1 addition & 5 deletions src/PDLS_EXT3_Basic.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,7 @@
///

// SDK
#if defined(ENERGIA) // LaunchPad specific
#include "Energia.h"
#else // Arduino general
#include "Arduino.h"
#endif // end SDK
#include <Arduino.h>

#ifndef PDLS_EXT3_BASIC_RELEASE
///
Expand Down
Loading

0 comments on commit 317b6d3

Please sign in to comment.