Show Posts
Pages: 1 ... 20 21 [22] 23 24 ... 227
316  Using Arduino / Project Guidance / Re: Reading keyboard input from upload port on: May 25, 2014, 02:29:00 pm
Here is more to that link, USBHost This only works with an Arduino Due.

Here is the master library file. USB_Host_Shield

The USB port on the Arduino is a client, not a host, so in order for what you want to work, you need a USB host. And that is why there is a USB shield.

Added: Mike said it better.
317  Using Arduino / Displays / Re: Need some help with TFT display. on: May 25, 2014, 12:35:45 pm
Could you show us what you're seeing with some pictures or a video?
318  Using Arduino / Project Guidance / Re: Reading keyboard input from upload port on: May 25, 2014, 01:47:02 am
Someone can correct me on this, but I pretty sure both a keyboard and an Arduino are slave devices. So what you want to do, can not be done without an interpreter, like a computer.

You might be able to use a USB host shield, but it still may not work without a correct driver, if one even exists.
319  Development / Other Software Development / Re: New TFT Extension Library on: May 25, 2014, 01:32:30 am
Minor Update: Added new functions for _Draw buttons.

User gromgsxr got me thinking, my buttons use locks to prevent them from constantly redrawing on screen, so, if you want to use them in a menu system, they wont redraw when you reenter the screen. It is the exact same issue gromgsxr was having with his gauges, once he left the screen and came back, they wouldn't redraw. Well these new functions will (as there names imply) fix that issue as either individually or all (of the same type) at once.

New Functions:
ResetTouchButton(byte ID);
ResetTouchCircle(byte ID);
ResetTouchTriangle(byte ID);
ResetLatchButton(byte ID);
ResetLatchCircle(byte ID);
ResetLatchTriangle(byte ID);
ResetAllTouchButton();
ResetAllTouchCircle();
ResetAllTouchTriangle();
ResetAllLatchButton();
ResetAllLatchCircle();
ResetAllLatchTriangle();

Added:
The rounded_Square function draws MUCH faster.
320  Using Arduino / Programming Questions / Re: Displaying a Keypad on Touch Screen on: May 24, 2014, 10:37:10 pm
Yea, its not hard. I made a password screen that uses a touch screen keypad. What libraries are you using, UTFT and UTouch?
321  Using Arduino / Programming Questions / Re: Undefined reference to static variables on: May 24, 2014, 10:45:45 am
Post you library as either an attachment or here on the post.
322  Using Arduino / Programming Questions / Re: Trouble with the 16x2 on: May 23, 2014, 05:36:25 pm
Try lcd.print instead of .write.
323  Using Arduino / Programming Questions / Re: Using Bluetooth to "announce" sensor event on a terminal on: May 23, 2014, 02:08:11 pm
Write a simple code to receive from the Serial monitor and see if you can send something to the arduino with Blueterm. Does your phone say it is paired to the bluetooth module?
324  Using Arduino / Displays / Re: Help Arduino Mega 2560 + 3.2" TFT LCD on: May 23, 2014, 05:33:59 am
You need to use the UTFT and UTouch libraries not the regular TFT library.
325  Using Arduino / Programming Questions / Re: Using Bluetooth to "announce" sensor event on a terminal on: May 22, 2014, 10:14:43 pm
You don't need the serial.available unless you want to receive something from blueterm. All you need is Serial.print or println and your message.
326  Using Arduino / Programming Questions / Re: Using Bluetooth to "announce" sensor event on a terminal on: May 22, 2014, 08:47:43 pm
Are you trying to use both the serial monitor and bluetooth module on the same UART? What is on the other end of the bluetooth connection, what terminal are you using?
327  Development / Other Software Development / Re: New TFT Extension Library on: May 22, 2014, 06:11:44 pm
Update: look at SliderBar_Horizontal sketch.

Default is LTR.

Working on new Keyboard layout and adding sendable Smiley faces.
328  Development / Other Software Development / Re: New TFT Extension Library on: May 22, 2014, 03:28:48 pm
I figured someone would want that so I modded the code to have it display both ways with a boolean variable.
Unfortunately, I am not home right now, so I can't post the library at the moment.
329  Using Arduino / Project Guidance / Re: help with keypad using analog input on: May 22, 2014, 11:30:39 am
Take a look at this library and follow the keypad diagram.
OneWireKeyPad
330  Development / Other Software Development / Re: New TFT Extension Library on: May 21, 2014, 07:04:17 pm
I should have mentioned this earlier, if you look at the code for drawArc, you will see
Quote
for(float rotate = start; rotate <= stop; rotate+=0.5)
To draw an arc that spans 0 - 180 degrees, with a radius of 50 pixels and filled in, it takes 12.9 seconds. However if I make it increment by 1 instead of 0.5, then the time is cut in half, 6.5 seconds. There is a reason why it takes SO long to make the gauge, and that is because of the appearance. If I make it increment by 0.5, the gauge is filled and it looks good, no dead spots. However (you can try this if you want) if I make it increment by 1, then yes it will take half the time, but it won't look as nice.

Maybe I make it an option, Appearance vs Speed, and have it draw the gauges based on that setting.

There is always a method to the madness.
Pages: 1 ... 20 21 [22] 23 24 ... 227