Search found 110 matches

by aster
Thu Dec 07, 2017 12:35 am
Forum: General discussion
Topic: difference between wire twowire
Replies: 14
Views: 199

Re: difference between wire twowire

This is quite a major change (though I agree it does bring the core in line with the internals of the official Arduino core) I will need to wait for significant testing by everyone and also feedback via github and here This change needs its own thread Ok, would you mind to open the thread? English ...
by aster
Wed Dec 06, 2017 9:21 pm
Forum: General discussion
Topic: difference between wire twowire
Replies: 14
Views: 199

Re: difference between wire twowire

Roger,

pull request created https://github.com/rogerclarkmelbourne/ ... 2/pull/399

as you can see from the immage we will break just 2 codes: one is a example for the ssd1306 and the other a version of the famous i2c_scanner which will work anyway
i think we could handle this
by aster
Tue Dec 05, 2017 4:59 pm
Forum: General discussion
Topic: difference between wire twowire
Replies: 14
Views: 199

Re: difference between wire twowire

So if i am not wrong: WireBase is the actual library which do the i2c stuffs (in arduino is twi) Wire is exactly the same as Arduino's Wire Ray, i am just an hobbiest so i am the last person who could take word over a programming problem but the arduino core is powerful, it s not anymore true that a...
by aster
Tue Dec 05, 2017 12:34 pm
Forum: General discussion
Topic: difference between wire twowire
Replies: 14
Views: 199

Re: difference between wire twowire

I guess for greater compatibility then perhaps we should rename the HardWire class to TwoWire Wow so my guesses about twowire were actually corrects I think that following straigh forward the arduino API would be the best practise. The library i posted in the first message works on arduino boards, ...
by aster
Tue Dec 05, 2017 12:59 am
Forum: General discussion
Topic: difference between wire twowire
Replies: 14
Views: 199

difference between wire twowire

hello, i am using a library which uses the TwoWire instance instead of Wire, which is exactly the difference? from the repo i can see that twoWire is used inside softWire but i don't think that theTwoWire inside the library would like to use a software emulation that lib has been made firstly for te...
by aster
Sat Dec 02, 2017 9:52 pm
Forum: General discussion
Topic: INPUT_PULLDOWN
Replies: 23
Views: 482

Re: INPUT_PULLDOWN

luminary's "work-around" is to insert a large delay routine at the very beginning of user space to allow the debugger to kick in before doing anything, so if your code isn't working perfectly, you can still program it. shouldn't be a good idea to put this delay "before" the setup? in arduino it is ...
by aster
Tue Nov 21, 2017 6:30 pm
Forum: General discussion
Topic: [SOLVED] Select the SPI bus within a function
Replies: 4
Views: 163

Re: Select the SPI bus within a function

thank very much to victor, stevestrong and roger
at the end since it wasn't my library and i didn't want to override the structure too much i used setModule but your solution are very interesting!
by aster
Sat Nov 18, 2017 1:12 pm
Forum: General discussion
Topic: [SOLVED] Select the SPI bus within a function
Replies: 4
Views: 163

[SOLVED] Select the SPI bus within a function

Hello, I try to explain the title of the topic. I have a library which use spi, but to select spi1 or 2 i need to edit the .cpp file I would like to do it with a function, i tried it but i get errors since the declaration of "SPIClass SPI_bus(2);" seems to need to be declared as global Any simple wo...
by aster
Wed Nov 01, 2017 7:20 pm
Forum: Working / ported libraries
Topic: Working: TinyGPS++
Replies: 3
Views: 1821

Re: Working: TinyGPS++

ok it was quite simple, know the ublox neo 8 series will work with the library :D
https://github.com/aster94/TinyGPSPlus-GNSS
by aster
Wed Nov 01, 2017 6:16 pm
Forum: Working / ported libraries
Topic: Working: TinyGPS++
Replies: 3
Views: 1821

Re: Working: TinyGPS++

i just realized that tinygps++ doesn't work with satellites different from GP (see: http://www.trimble.com/oem_receiverhelp/v4.44/en/NMEA-0183messages_GNS.html) since now there are the new galileo (so GN) i bought a module for only 6 euros that support them do you know any library which would work w...