GithubHelp home page GithubHelp logo

arduino's People

Contributors

laalex avatar mnaberez avatar tomaskovacik 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

Watchers

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

arduino's Issues

MyMatrix - possible for 4 displays?

Hey @tomaskovacik,

I'm dealing with your version of the myMatrix lib for some time now. I've come to the point where I want to controll a 4th display with the same arduino, meaning a display size of 128x16 pixels.
As far as I found out you only added the offset rountine to the original lib. I tried to add a new offset for x>95, but then my arduino restarts at calling myMatrix. I suppose this is due to an overflow at the uint8_t myindex. Is it possible to change this to unit16_t without problems?
Did you ever tried having a larger display, maybe with other code?

Regards,
Anduril

Documentation

Is there any documentation on how to work with this? I know that it works with arduino uno. But is there any tutorial you have for it? Can you make one?

costumize remote controller

Hello,

congrats to your research i would like to ask your help because i stack in one point.
Based on your source code i write my own with 4 push button inputs .

`int OUTpin = 1;

int buttonUPpin = 2;
int UpinStatus=LOW;

int buttonDOWNpin = 3;
int DpinStatus=LOW;

int buttonVOLDpin = 4;
int VDpinStatus=LOW;

int buttonVOLUpin = 5;
int VUpinStatus=LOW;

int h=0x00;

void setup() {
// put your setup code here, to run once:

pinMode(OUTpin, OUTPUT);
pinMode(buttonUPpin, INPUT_PULLUP);
digitalWrite(buttonUPpin,HIGH);

pinMode(buttonDOWNpin, INPUT_PULLUP);
digitalWrite(buttonDOWNpin,HIGH);

pinMode(buttonVOLDpin, INPUT_PULLUP);
digitalWrite(buttonVOLDpin,HIGH);

pinMode(buttonVOLUpin, INPUT_PULLUP);
digitalWrite(buttonVOLUpin,HIGH);

}

void loop() {
// put your main code here, to run repeatedly:

UpinStatus=digitalRead(buttonUPpin);
DpinStatus=digitalRead(buttonDOWNpin);
VDpinStatus=digitalRead(buttonVOLDpin);
VUpinStatus=digitalRead(buttonVOLUpin);

if(LOW==UpinStatus)
{

sendByte(0xD0);

}else

if(LOW==DpinStatus)
{
sendByte(0x50);
}else

if(LOW==VDpinStatus)
{
sendByte(0x80);
}else

if(LOW==VUpinStatus)
{
sendByte(0x00);
}

}

void sendByte(int cislo) {

int c_cislo=0xFF-cislo;
int cmdStart[32]={0,1,0,0,0,0,0,1,1,1,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
for (int i = 23;i>=16;i-- ){
if (cislo%2 != 0) cmdStart[i]=1;
cislo = cislo/2;
}

for (int i = 31;i>=24;i-- ){
if (c_cislo%2 != 0) cmdStart[i]=1;
c_cislo = c_cislo/2;
}
digitalWrite(1,LOW);
delay(9);
digitalWrite(1,HIGH);
delayMicroseconds(4500);

for (int i=0;i<32;i++){
Serial.print(cmdStart[i]);
Serial.print(",");
digitalWrite(1,LOW);

delayMicroseconds(600);
digitalWrite(1,HIGH);

if (cmdStart[i]==0)
  delayMicroseconds(600);
if (cmdStart[i]==1)
  delayMicroseconds(1700);

}

Serial.println("");
digitalWrite(1,LOW);
delayMicroseconds(600);
digitalWrite(1,HIGH);

}
`

The problem is when i check with serial monitor i can see only "ŕŕŕŕŕŕŕŕŕŕŕŕŕŕŕŕŕŕŕŕŕŕŕŕŕŕŕŕŕŕŕŕ" for each button.When i connected to the remote controller of my radio it does not happened anything.What can be wrong with my code?

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.