Jump to content

Frida

Members
  • Content count

    21
  • Joined

  • Last visited

About Frida

  • Rank
    Member
  • Birthday 08/06/1950

Profile Information

  • Gender
    Male
  • Location
    Middelfart, Denmark
  1. MSP430F5529 and RFM12b used together

    Yes, when you join the 10's system, it does not work. But when using weighted values, it works. 16 + 8 + 4 = 28 16 | 8 | 4 = 28 [edit] The rules of calculation must be used on logic circles, not on normal account. There were rules I learned in the 1970s. 2 + 1 + 1 = 3, not 4 If you take 1 + 1 = 1 because 1 becomes or with 1. 2 + 1 = 3 because 2 becomes or with 1. Binary is 2 = 10 and 1 = 01, these or together give 3 = 11.
  2. MSP430F5529 and RFM12b used together

    In logical circles, we normally use + and * for OR and AND, which in programming is also | and &. So +, OR or | are the same. So *, AND or & is the same. Port P6 has 8 bits that we usually count bit 1 to bit 8, but The processor counts from 0 to 7. | --- P6.5 ~ SDO | BIT 7 6 5 4 3 2 1 0 0 0 0 0 0 0 0 0 WEIGHT 128 64 32 16 8 4 2 1
  3. MSP430F5529 and RFM12b used together

    Firstly, you have not stopped watchdog. void main () { // WDTCTL = WDTPW + WDTHOLD; // stop watchdog timer to prevent time out reset // init ports Secondly, what bit do you read now and how many shift do you have? temp = p6in; temp >> = 4; These are the most illuminated points now. Keep on, at last it will success.
  4. These days I use http://platformio.org
  5. In your CC you have: |(address & 0x3F) // 0x00 to 0x2E. and in your CS you have: |(address & 0x3D) // 0x30 through 0x3D). Your CS(0, 0x30); // Reset CS(0, 0x3D); // NOP, TX FIFO free gives the correct adr, but your CS(1, 0x3A); // flush RX FIFO CS(1, 0x3B); // flush TX FIFO gives 0x3A & 0x3D -> 0x38 and 0x3B & 0x3D -> 0x39 should it not have be with 0x3F instead of 0x3D
  6. Had you ever seen: http://www.espruino.com/
  7. Cant install Energia on ubuntu help

    You always need to have a space after cd. for example cd ~ or cd /home/myname/directory
  8. Try Energia 12, something happened in the newer versions.
  9. Goofed BT Temp, Light, Humidity sensor...

    What with pull up resistor to DHT11, and open collector output from mc? See page 5 http://www.robotshop.com/media/files/pdf/dht11.pdf
  10. Goofed BT Temp, Light, Humidity sensor...

    What with pull up resistor to DHT11, and open collector output from mc? See http://www.robotshop.com/media/files/pdf/dht11.pdf
  11. Also works fine on Firefox on Ubuntu 14.04 64 bit
  12. if (BTN=0); //check button status should be if (BTN==0); //check button status
  13. msp430G2231 injured

    I tried downloading a program via mspdebug, and when it did not work, so I used the erase command. Since then I can not come in contact with it again. Some hope? usbutil: Unable to find a device matching 0451: F432 mspdebug version 0.22 launchpad version 1.4 Before that it worked well enough. With a new ic it works again. Thank you
  14. Shorted out msp430

    It looks like a TI TPIC6B595 POWER LOGIC 8-BIT SHIFT REGISTER http://www.ti.com/product/TPIC6B595/samplebuy
×