mirror of
https://github.com/RobTillaart/Arduino.git
synced 2024-09-19 16:46:11 -04:00
0.1.6 optoma
This commit is contained in:
parent
f3cd5dc1ef
commit
39d28dd314
@ -6,10 +6,13 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/)
|
|||||||
and this project adheres to [Semantic Versioning](http://semver.org/).
|
and this project adheres to [Semantic Versioning](http://semver.org/).
|
||||||
|
|
||||||
|
|
||||||
|
## [0.1.6] - 2024-01-05
|
||||||
|
- minor edits
|
||||||
|
|
||||||
|
|
||||||
## [0.1.5] - 2023-11-14
|
## [0.1.5] - 2023-11-14
|
||||||
- update readme.md
|
- update readme.md
|
||||||
|
|
||||||
|
|
||||||
## [0.1.4] - 2022-11-18
|
## [0.1.4] - 2022-11-18
|
||||||
- released 0.1.3 after (to prevent gap)
|
- released 0.1.3 after (to prevent gap)
|
||||||
- add RP2040 in build-CI
|
- add RP2040 in build-CI
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
MIT License
|
MIT License
|
||||||
|
|
||||||
Copyright (c) 2017-2023 Rob Tillaart
|
Copyright (c) 2017-2024 Rob Tillaart
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
of this software and associated documentation files (the "Software"), to deal
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
|
@ -69,6 +69,7 @@ More functionality will be added on a need to basis.
|
|||||||
#### Could
|
#### Could
|
||||||
|
|
||||||
- Create examples.
|
- Create examples.
|
||||||
|
- investigate SoftWare Serial support
|
||||||
|
|
||||||
#### Wont
|
#### Wont
|
||||||
|
|
||||||
|
@ -2,8 +2,7 @@
|
|||||||
// FILE: optoma_test.ino
|
// FILE: optoma_test.ino
|
||||||
// AUTHOR: Rob Tillaart
|
// AUTHOR: Rob Tillaart
|
||||||
// PURPOSE: demo vertical keystone.
|
// PURPOSE: demo vertical keystone.
|
||||||
// DATE: 2020
|
// URL: https://github.com/RobTillaart/Optoma
|
||||||
// (c) : MIT
|
|
||||||
//
|
//
|
||||||
// Test with TeraTerm or an Optoma beamer)
|
// Test with TeraTerm or an Optoma beamer)
|
||||||
// TeraTerm: Newline Receive mode = CR + LF + 9600 baud.
|
// TeraTerm: Newline Receive mode = CR + LF + 9600 baud.
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/RobTillaart/Optoma"
|
"url": "https://github.com/RobTillaart/Optoma"
|
||||||
},
|
},
|
||||||
"version": "0.1.5",
|
"version": "0.1.6",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"frameworks": "*",
|
"frameworks": "*",
|
||||||
"platforms": "*",
|
"platforms": "*",
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
name=optoma
|
name=optoma
|
||||||
version=0.1.5
|
version=0.1.6
|
||||||
author=Rob Tillaart <rob.tillaart@gmail.com>
|
author=Rob Tillaart <rob.tillaart@gmail.com>
|
||||||
maintainer=Rob Tillaart <rob.tillaart@gmail.com>
|
maintainer=Rob Tillaart <rob.tillaart@gmail.com>
|
||||||
sentence=Arduino library to control Optoma W305ST beamer over RS232.
|
sentence=Arduino library to control Optoma W305ST beamer over RS232.
|
||||||
|
@ -1,16 +1,16 @@
|
|||||||
//
|
//
|
||||||
// FILE: optoma.cpp
|
// FILE: optoma.cpp
|
||||||
// AUTHOR: Rob Tillaart
|
// AUTHOR: Rob Tillaart
|
||||||
// VERSION: 0.1.5
|
// VERSION: 0.1.6
|
||||||
// DATE: 2017-11-27
|
// DATE: 2017-11-27
|
||||||
// PUPROSE: Arduino library to control Optoma W305ST beamer over RS232.
|
// PURPOSE: Arduino library to control Optoma W305ST beamer over RS232.
|
||||||
// URL: https://github.com/RobTillaart/optoma
|
// URL: https://github.com/RobTillaart/optoma
|
||||||
|
|
||||||
|
|
||||||
#include "optoma.h"
|
#include "optoma.h"
|
||||||
|
|
||||||
|
|
||||||
Optoma::Optoma(HardwareSerial* stream)
|
Optoma::Optoma(HardwareSerial * stream)
|
||||||
{
|
{
|
||||||
_stream = stream;
|
_stream = stream;
|
||||||
_ID = 0;
|
_ID = 0;
|
||||||
|
@ -2,21 +2,21 @@
|
|||||||
//
|
//
|
||||||
// FILE: Optoma.h
|
// FILE: Optoma.h
|
||||||
// AUTHOR: Rob Tillaart
|
// AUTHOR: Rob Tillaart
|
||||||
// VERSION: 0.1.5
|
// VERSION: 0.1.6
|
||||||
// DATE: 2017-11-27
|
// DATE: 2017-11-27
|
||||||
// PUPROSE: Arduino library to control Optoma W305ST beamer over RS232.
|
// PURPOSE: Arduino library to control Optoma W305ST beamer over RS232.
|
||||||
// URL: https://github.com/RobTillaart/Optoma
|
// URL: https://github.com/RobTillaart/Optoma
|
||||||
|
|
||||||
|
|
||||||
#include "Arduino.h"
|
#include "Arduino.h"
|
||||||
|
|
||||||
#define OPTOMA_LIB_VERSION (F("0.1.5"))
|
#define OPTOMA_LIB_VERSION (F("0.1.6"))
|
||||||
|
|
||||||
|
|
||||||
class Optoma
|
class Optoma
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
Optoma(HardwareSerial* stream = &Serial);
|
Optoma(HardwareSerial * stream = &Serial);
|
||||||
|
|
||||||
void init(int ID, uint32_t baudRate = 9600);
|
void init(int ID, uint32_t baudRate = 9600);
|
||||||
uint32_t getBaudrate();
|
uint32_t getBaudrate();
|
||||||
@ -30,7 +30,7 @@ public:
|
|||||||
void decreaseVKS();
|
void decreaseVKS();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
HardwareSerial* _stream;
|
HardwareSerial * _stream;
|
||||||
|
|
||||||
int _ID = 0;
|
int _ID = 0;
|
||||||
bool _on = false;
|
bool _on = false;
|
||||||
|
@ -64,4 +64,6 @@ unittest(test_constructor)
|
|||||||
|
|
||||||
unittest_main()
|
unittest_main()
|
||||||
|
|
||||||
// --------
|
|
||||||
|
// -- END OF FILE --
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user