Pages: 1 2 [3] 4 5 ... 10
 21 
 on: Today at 05:51:06 pm 
Started by casemod - Last post by AWOL
Aye, we never had ones. We 'ad to make 'em all by notting zeroes.
By 'and.
One at a time.

But, we were 'appy.

 22 
 on: Today at 05:48:50 pm 
Started by arduinomagbit - Last post by arduinomagbit
Are you looking for a tool to help design the characters?

http://omerk.github.io/lcdchargen/

I already have created few characters using this tool. this is great tool indeed.

 23 
 on: Today at 05:48:48 pm 
Started by casemod - Last post by Grumpy_Mike
We never had bitWrite operators in my day. Had to lick the road clean with our tongues.

 24 
 on: Today at 05:47:36 pm 
Started by arduinomagbit - Last post by arduinomagbit
I don't understand very well the question too.
What you don't like the lcd.setCursor() or the lcd.write(byte(x));?



lcd.setCursor and lcd.write(byte(x)) are great, but I have a lot of icon to write. i want to know if there is a way to combine icon+text to a value, then print in all out at the same time, so I don't need to count the location to which my cursor is set to.

 25 
 on: Today at 05:45:45 pm 
Started by casemod - Last post by AWOL
Quote
That is for wimps,

Psst, Mike, the politically-correct term is "beginner"

 26 
 on: Today at 05:44:24 pm 
Started by arduinomagbit - Last post by arduinomagbit
Sorry, but I don't understand the problem.  What is it that you have to count every time ?

The location of the icons that needed to be printed in certain location. such as   lcd.setCursor(0,0);  ===lcd.setCursor(9,0); 9 and 0.  If there a way to simplify it, so the icon and text goes to one value, and print that value out in a line instead of counting the location of every icon and print it out one by one?

  lcd.setCursor(0,0);                                                   
  lcd.write(byte(0)); //time icon
 
  lcd.setCursor(9,0);
  lcd.write(byte(0));  //time icon




 27 
 on: Today at 05:40:05 pm 
Started by casemod - Last post by Grumpy_Mike
That is for wimps, use the AND & OR logic operators.
There is a bit math tutorial in the learning section of this site.

 28 
 on: Today at 05:39:54 pm 
Started by Hahi - Last post by Hahi
Thank you so far. Of course a pc is needed to produce the g code. I use a cad program for the design and a cam program to produce the g code. So far so good. But now things go different than the standard: normally I would open th g code in mach3, which has the correct profile for my cnc machine.  When I Hit the start-button, mach3 sends the commands to the motors. Now I want to use an arduino for sending this commands to the cnc motor drivers instead of Mach3 . as I mentioned, it would be bread to get a dump-file from the mach3 output, but there is no export-functionality ore something, and I don't kow how to get the commands into a file. That's the reason why I ask for such a possibility. So I see two different approaches: either there is a way to get this dump file- if anybody has an idea how to do that- or maybe there is an other milling software which is able to create such a file?

 29 
 on: Today at 05:38:01 pm 
Started by Pablismartinez - Last post by Pablismartinez
Hi, I'm trying to make a digital Pot with the integrated circuit MCP41100 with my Arduino Mega 2560 but is not working, this is my codeo:
/*
Digital Pot Control
* CS - to digital pin 53 (SS pin)
* SCK - to digital pin 52 (SCK pin)
* SI - to digital pin 51 (MOSI pin)
*/
// inslude the SPI library:
‪#‎include‬ <SPI.h>
// set pin 53 as the slave select for the digital pot:
const int slaveSelectPin = 53;
void setup() {
// set the slaveSelectPin as an output:
pinMode (slaveSelectPin, OUTPUT);
// initialize SPI:
SPI.begin();
}
void loop() {
// change the resistance on this channel from min to max:
for (int level = 0; level < 255; level++) {
digitalPotWrite(1, level);
delay(10);
}
// wait a second at the top:
delay(1000);
// change the resistance on this channel from max to min:
for (int level = 0; level < 255; level++) {
digitalPotWrite(1, 255 - level);
delay(10);
}
}
void digitalPotWrite(int address, int value) {
// take the SS pin low to select the chip:
digitalWrite(slaveSelectPin,LOW);
// send in the address and value via SPI:
SPI.transfer(address);
SPI.transfer(value);
// take the SS pin high to de-select the chip:
digitalWrite(slaveSelectPin,HIGH);
}

If someone can help me, I'll really appreciate! Thanks in advance! smiley-grin

 30 
 on: Today at 05:36:52 pm 
Started by casemod - Last post by AWOL
Have you considered bitWrite?

Pages: 1 2 [3] 4 5 ... 10