Git Product home page Git Product logo

fastx9cxxx's People

Contributors

gitmodu avatar per1234 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

fastx9cxxx's Issues

Support for ESP32

Arduino: 1.8.13 (Windows 10), Board: "WiFi LoRa 32(V2), Disabled, 240MHz (WiFi/BT), 921600, None, REGION_EU868, None"
WARNING: library FastX9CXXX-master claims to run on avr architecture(s) and may be incompatible with your current board which runs on esp32 architecture(s).

I like the simplicity of just sending the value i want and having the change happen, i would like use this, but I am a total noob at programing, so any help you are willing to give would be appreciated.

Fast.h dependency EDIT: (Now optional)

Hi!
running your example (RandomValue) I got the following error:
...Documents\Arduino\libraries\FastX9CXXX-master/FastX9CXXX.h:13:18: fatal error: Fast.h: No such file or directory
Is it my fault?

Some Examples are not compiling

I am receiving the following error when attempting to compile an example in PlatformIO.

Here is the example sketch:
`#include <Arduino.h>
#include <FastX9CXXX.h>

/*
Example project to control a X9CXXX digital potentiometer

https://github.com/GitMoDu/FastX9CXXX

modified 30 Aug 2017
by MoDu
*/

#define X9_CS_PIN 3
#define X9_UD_PIN 4
#define X9_INC_PIN 5

FastX9CXXX Potentiometer;

void setup() {
Serial.begin(9600);
Serial.println();
Serial.print(F("X9C104 Digital Potentiometer setup..."));
randomSeed(analogRead(0));
//Potentiometer.Begin();
Potentiometer.Setup(X9_CS_PIN, X9_UD_PIN, X9_INC_PIN);
Serial.println(F(" complete."));

}

void loop() {
Potentiometer.JumpToStep(100);
Serial.print(F("Potentiometer current step: "));
Serial.print(Potentiometer.GetStep(), DEC);
Serial.println();
delay(1000); // wait for a second
}`

Here is the error being returned.

src/main.cpp:18:1: error: invalid use of template-name 'FastX9CXXX' without an argument list FastX9CXXX Potentiometer; ^~~~~~~~~~ src/main.cpp:18:1: note: class template argument deduction is only available with -std=c++1z or -std=gnu++1z In file included from src/main.cpp:12:0: lib/FastX9CXXX/src/FastX9CXXX.h:23:7: note: 'template<long unsigned int Resistance> class FastX9CXXX' declared here class FastX9CXXX ^~~~~~~~~~

Any help would be appreciated

Thanks, Mitch

JumpToStep

Is there any known bug on JumpToStep? It makes my Arduino Leonardo freeze. Up() and Down() work fine.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.