Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Topics - Qynx

Pages: [1]
1
LiquidCrystal myDisplay = LiquidCrystal(0,1,2,2);

must be:

LiquidCrystal myDisplay(2, 3, 4, 5, 6, 7); // RS E DB4 DB5 DB6 DB7




Syntax   
display.print(data)
display.print(data, base)

must be:

myDisplay.print(data)
myDisplay.print(data, base)

http://www.wiring.org.co/reference/libraries/LiquidCrystal/LiquidCrystal_print_.html



2
Installation Questions / Close comport after uploading
« on: August 18, 2013, 07:45:45 AM »
I have a problem on my current desktop PC with windows 8.

If I use the USB on the front Windows is not see the FTDI chip.
But if I use the USB on the back side windows is installing the drivers and
everything seems ok....

But,  after uploading a sketch the COM Port is not closed.

After a timout from AVRdude the port is not closing. and Wiring keeps displaying

Uploading...

So I have to disconnect the board so windows is closing the Comport and Wiring say there is a serial error.

After that and reconnecting I can open the terminal window and by closing the terminal the
COMport is closed.

It looks a problem between AVRdude and wiring.

I'm using Windows 8 on a 64 bit system


3
Core/Cross-platform Library Questions / SPI.setBitorder
« on: March 01, 2013, 09:05:24 AM »
I have a problem with SPI.setBitOrder(MSBFIRST)

In the library as an example / Syntax

Examples / / set bit order to LSBFIRST
                      SPI.setBitorder (LSBFIRST);

Syntax SPI.setBitorder (bitOrder)


I think this should be SPI.setBitOrder (LSBFIRST); / / O! no o

But when I use this I get the error message

undefined reference to `WSPI :: setBitOrder (unsigned char) '


Could it be that somewhere in the Library also something goes wrong?


Rob Keij
4
Website Questions / Can not find reading slave addressed .......
« on: November 12, 2012, 03:34:07 PM »
I've been searching but can not find it in the Wire library ...
I want to read a particular address in a slave.

with Wire.requestFrom (slave, bytes) I can read some bytes but not on a specific adress.

It's no problem for me to write this but I want for my sample programs as much as possible using standard libraries.

  Does anyone know if I've looked ok?


Rob Keij
Pages: [1]