-
Content Count
27 -
Joined
-
Last visited
About Frida
-
Rank
Member
- Birthday 08/06/1950
Profile Information
-
Gender
Male
-
Location
Middelfart, Denmark
-
Try moving to a different folder than Downloads. I've had problems with a program, I can't remember which one, but only when I moved it away from Downloads did it work.
-
This server failed to prove that it is forum.43oh.com, since its security certificate expired 12 days ago. It is from my Odroid browser.
-
You're right, I was too fast, sorry
-
There are 3 tasks in array, and index starts with 0, so counting from 0 to 2, and all three tasks running. int i = 0; while (i <tasks -1) {
-
Checksum error in DHT11 interface with MSP430G2553
Frida replied to sendiptangshu's topic in Energia - MSP
The library that you refers to is for Arduino From dht11_test.ino: // // FILE: dht11_test.ino // AUTHOR: Rob Tillaart // VERSION: 0.1.00 // PURPOSE: DHT library test sketch for DHT11 && Arduino // URL: // // Released to the public domain // From dth.cpp: int dht :: _ readSensor (uint8_t pin, uint8_t wakeupDelay) { // INIT BUFFERVAR TO RECEIVE DATA uint8_t mask = 128; uint8_t idx = 0; // replace digitalRead () with Direct Port Reads. // reduces footprint ~ 100 bytes => portability issue? // direct port read is about 3x faster uint8_t b -
Have you made pullup, or pulldown on all unused inputs, or put all unused pins for output. An input collects noise from the surroundings as you see.
-
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.
-
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
-
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.
-
-
These days I use http://platformio.org
- 3 replies
-
- linux
- msp430g2553
-
(and 2 more)
Tagged with:
-
CC110L / AIR Bosterpack with OOK sends a Bit too much
Frida replied to none2's topic in Development Kits
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 -
Had you ever seen: http://www.espruino.com/
-
You always need to have a space after cd. for example cd ~ or cd /home/myname/directory
-
Msp430G2553 draws significant current at start up
Frida replied to fabo9573's topic in Energia - MSP
Try Energia 12, something happened in the newer versions.