Jump to content
43oh

Register

Members
  • Content Count

    41
  • Joined

  • Last visited

About Register

  • Rank
    Advanced Member

Profile Information

  • Gender
    Male
  • Location
    Paris - France

Recent Profile Visitors

648 profile views
  1. Hi, There 2 new company which are crowd funding for silver ink solution and printing one directly with a printer the other with a plotter... Sound very interesting for testing purposes. Printer one : AgIC Pen + plotter : Electronink (sixth video) Regards,
  2. I redone the code to use only char but still got problems. Been a long time since the last time I use string (char arrays ones) in C. more of Php time, get some bad habits ;-) char time_buff[6] ; ... void displayTime() { lcd_screen.setFont(1); strcpy(time_buff, headZero(now.hour())) ; strcat(time_buff, ":") ; strcat(time_buff, headZero(now.minute())) ; Serial.println(time_buff) ; lcd_screen.text(0, 0, time_buff) ; strcpy(time_buff, ":") ; strcat(time_buff, headZero(now.second())) ; lcd_screen.setFont(0) ; lcd_screen.text(10, 1, time_buff) ; Serial.println(time_buff) ; str
  3. Hum, didn't find this information on google but I was thinking of something like that... The LCD_5110 library use String so it's one reason I used them and one hope to simplify string manipulations.... but no. EDIT : It's the LCD_5110 which using String not the RTC one
  4. Hi, Thanks for your reply. Here's the output: text data bss dec hex 10310 0 346 10656 29a0
  5. I'm trying to build a radio, with a 5110 display (SPI), RTC and Si74703 (I2C) but it does not seem to be working. #include "LCD_5110.h" #include <Si4703_Breakout.h> #include <Wire.h> #include "RTClib.h" /////////////////////// RADIO int resetPin = P1_4 ; int SDIO = P1_7; int SCLK = P1_6; Si4703_Breakout radio(resetPin, SDIO, SCLK); int channel; int volume; char rdsBuffer[10]; ////////////////////// CLOCK RTC_DS1307 RTC; DateTime now = DateTime(__DATE__, "01:01:01") ; ////////////////////// LCD LCD_5110 lcd_screen; boolean backlight = false; void setup() { lcd_screen.begi
  6. Thank you so much!!!! What a relief! ;-) As a lazy guy (average computer man) I stopped half the way in my process to pin point the real problem, should have taken a look at those 16 bin so that there was the first half part of what should been have returned and subsequently ask the right question: why only 16bit! So I have to modify energia file isn't an cleaner way to do it, like asking with wire the first 16bits then the other 16bits? Edit: There's a ifndef for TWI_BUFFER_LENGTH, but not for wire BUFFER_LENGTH Edit 2: Change the 2 values and it work perfectly....
  7. Hi, Got the same result with 2553 on launchpad, without anything wired it detect a device for each address... Regards,
  8. Hi , I'm trying to run a Si4703 FM eval board from Sparkfun on an 2553 (launchpad). The device work fine on Arduino. I'm using the sketch provided by Sparkfun (there). I change pin assignment as int resetPin = P1_4; int SDIO = P1_7; //SDA/A4 on Arduino int SCLK = P1_6; //SCL/A5 on Arduino Add pull ups to SDA and SCLK but with no result the code loop on this line in si4703_readRegisters function while(Wire.available() < 32) ; available return only 16. I'm new to SPI so don't know how to resolve this. Thanks,
  9. Thanks for your reply. Seems I made a mistake and forgot Wire.begin(); when making some cut and past between scripts.... So now it's working with LCD_5110 library, will try to test the SPI version soon. Regards
  10. Thanks for your reply. I tried to switch from LCD_5110_SPI to the LCD_5110 library and it freeze as soon as i try to acces to the RTC object. I'm going to ask to Rei Vilo. And yes it's a MSP430G2 with 2553. Regards,
  11. Hi, I'm trying to make a clock with a Tiny RTC module and a iTead 5110 Nokia LCD. I'm using Adafruit RTClib and the energia LCD_5110_SPI. Each library an device are working fine separately but when put together it stops working, is it possible to have SPI and I2C device working simultaneously? Thanks.
  12. Hum, think that there was connection problem between the sensor and the battery. Now the sensor are working fine @~2.47.
  13. Hi, I just bought one o your LCD shield I'm using Energia, is your library easy to use with it, or does it require CSS? Regards
×
×
  • Create New...